authentication - Stocktwits token retrieval error 8-{"response":{"status":400},"error":"invalid_grant","error_description":"code doesn't exist or has expired" -


i trying stocktwits token use api methods. have client id , secret using have generated code using browser.

after copying code in browser response trying token last step getting below response.

i have tried refresh code still same message using new code.

https://api.stocktwits.com/api/2/oauth/authorize?client_id=12349f389e24c447&response_type=code&redirect_uri=http://www.example.com&scope=read,watch_lists,publish_messages,publish_watch_lists,direct_messages,follow_users,follow_stocks

httppost request token:

https://api.stocktwits.com/api/2/oauth/token?client_id=3e6a9f389e24c447&client_secret=####edfc136317cecd0c2a6ad9d907babba#####&code=#####e645642d50b2f2d2e529b47fc4315b5000c&grant_type=authorization_code&redirect_uri=http://www.example.com

response

stocktwits token retrieval error 8-{"response":{"status":400},"error":"invalid_grant","error_description":"code doesn't exist or has expired","errors":["code doesn't exist or has expired"]}

thanks


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -