Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

thehamsti/twitch-auth-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Twitch Auth Example - PHP

Super simple, slightly messy (threw it together for someone) example of how to retrieve oauth token from Twitch

Setup

  1. Setup MySQL database to save information in.
  2. Setup someway to host a php file to the web (I recommend Nginx)
  3. Register your app on Twitch - https://dev.twitch.tv/docs/authentication#registration (Save your client_id, client_secret, and redirect url here)
  4. Open public/index.php and:
    1. Replace database information with your own
    2. Replace client_id, client_secret and the redirect url
    3. Setup scopes for whatever you want permission to do

Questions?

Twitter - https://twitter.com/thecuriouseng Email - [email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published