oddluck / limnoria-plugins

Limnoria plugins I wrote or forked.
Do What The F*ck You Want To Public License
39 stars 17 forks source link

SpiffyTitles - Twitch-API #22

Closed fred0r closed 4 years ago

fred0r commented 4 years ago

Been using latest Version and configured supybot.plugins.SpiffyTitles.twitch.clientID to my Twitch ClientID.

Latest URL i used for testing was https://www.twitch.tv/pietsmiet

When pasting any Twitch-Url theres no Output to IRC, beside 'Twitch' and the Bot-Console shows:

SpiffytTitles: Twitch Error: 401 Client Error: Unauthorized for url: https://api.twitch.tv/helix/streams?user_login=pietsmiet

fred0r commented 4 years ago

supybot.plugins.SpiffyTitles.twitch.clientID to my Twitch ClientID.

created that ID according to the readme.

oddluck commented 4 years ago

I'm aware of this issue. Twitch just recently changed the authorization method for their API and the twitch handler needs to be rewritten. Will fix when I get a chance.

https://discuss.dev.twitch.tv/t/requiring-oauth-for-helix-twitch-api-endpoints/23916

oddluck commented 4 years ago

Fixed in https://github.com/oddluck/limnoria-plugins/commit/32c8053d13d7b350a99f5260030153d2da45e7a7. Please see the updated README for instructions on how to set Client ID and Access Token https://github.com/oddluck/limnoria-plugins/tree/master/SpiffyTitles#twitch-handler

fred0r commented 4 years ago

Nice - works just fine - Thank you !