Getting Error when try to get Pinterest Access Token

风流意气都作罢 提交于 2021-02-08 05:21:53

问题


My question is similar to this one. I have followed every step trying to get a Pinterest access token. https://developers.pinterest.com/docs/api/overview/ I ' 1. Created an app in the Pinterest developer dashboard 2. Got my authorization code without any problems 3. Tried to query my access token like in the docs:

POST https://api.pinterest.com/v1/oauth/token?grant_type=authorization_code&client_id=888888888888888&client_secret=9999999999999999999999&code=00000000000000

I tried to get it using curl command also. Using Postman to get an access token is possible(Configure the OAuth flow:). But from java or postman i pull above endpoint then getting this error {"error": "invalid_grant"}

Can anybody help me and tell me what could go wrong and how to fix it? Thank you!

来源:https://stackoverflow.com/questions/50276705/getting-error-when-try-to-get-pinterest-access-token

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!