Reputation: 1399
I'm trying to develop something that work with Stocktwits. We have an account that we want to use, so every time we have a new post on our site, it would be posted to Stocktwits.
https://api.stocktwits.com/developers/docs/authentication However, following their api documentation, it seems that I would always have to authentication on the browser and click on "YES" to allow access to get the access code.
https://api.stocktwits.com/api/2/oauth/authorize?client_id=<client_id>&response_type=code&redirect_uri=http://www.example.com&scope=read,watch_lists,publish_messages,publish_watch_lists,direct_messages,follow_users,follow_stocks
What we need is a way to bypass this step so we always authorize our own account to use our own app and then just start using the API functionalities in php rather than visiting a browser and click "YES" to get the access code.
Is that possible to do that?
Upvotes: 0
Views: 380