- force-verify fix
- Twitch Clips
- Error handling
- v5 compatability
- Function name fix.
- New function
getAccessObject($code, $state = null)
to retrieve full response object when requesting access_token from Twitch. Use this instead ofgetAccessToken($code, $state = null)
which is now deprecated.
- Twitch tokens can now be set again.
- Fixes to make updating a channel work properly
Improved headers and URL parameters.
Small authentication function fixes
- Use
TwitchApi::getAuthenticationUrl($state, $forceVerify)
to get the redirection url for your users to sign in through Twitch.$state
and$forceVerify
are optional, read about them here. - Use
getAccessToken($code)
to retrieve the Twitch token after the user has signed in through Twitch and been redirected back to your application/website.
chatBadges($channel)
andchatEmoticons($channel)
were duplicates.
- A client id is now required for Twitch API calls. Make sure your Twitch client id is set in either
.env
using theTWITCH_KEY
variable, or directly inconfig/twitch-api.php
.
- Functions using the $option parameter has been fixed. This had to do with how headers were constructed in HTTP requests to the Twitch API using Guzzle.
- The Twitch API is now using https by default. Replacing http with https is no longer necessary.
- Function names are more friendly.
- Packagist support
- First release