Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuthAccessTokenException The access_token provided is invalid #14

Open
vashish1 opened this issue Dec 17, 2020 · 0 comments
Open

OAuthAccessTokenException The access_token provided is invalid #14

vashish1 opened this issue Dec 17, 2020 · 0 comments

Comments

@vashish1
Copy link

vashish1 commented Dec 17, 2020

Hello,

I am trying to use this package but even after generating long-lived API access token, It shows me error.

`api := instagram.New(cid,secret, token,true)

if ok, err := api.VerifyCredentials(); !ok {
	panic(err)
}`

error :

`panic: Error making api call: Code 400 OAuthAccessTokenException The access_token provided is invalid.`

What is the reason for this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant