Super simple, slightly messy (threw it together for someone) example of how to retrieve oauth token from Twitch
- Setup MySQL database to save information in.
- Setup someway to host a php file to the web (I recommend Nginx)
- Register your app on Twitch - https://dev.twitch.tv/docs/authentication#registration (Save your client_id, client_secret, and redirect url here)
- Open
public/index.php
and:- Replace database information with your own
- Replace client_id, client_secret and the redirect url
- Setup scopes for whatever you want permission to do
Twitter - https://twitter.com/thecuriouseng Email - [email protected]