Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $twitchtv = new TwitchTV();
- $ttv_code = $_GET['code'];
- $access_token = $twitchtv->get_access_token($ttv_code);
- $user_name = $twitchtv->authenticated_user($access_token);
- $total = $twitchtv->sub_length($access_token, $user_name, "roflgator");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement