witnessmenow / arduino_twitch_api

A wrapper for the Twitch API for Arduino
25 stars 10 forks source link

Updated twitch API #4

Open Captainkirkbrown opened 3 years ago

Captainkirkbrown commented 3 years ago

Apologies if this is the wrong place to post this. I was just wondering if it is possible to get this working now that the twitch API has been updated. I keep getting 401 authorisation errors. From reading I think OAuth/tokens might need adding but not sure where or how to, so any advice would be appreciated. Thank you.

panito69 commented 3 years ago

Any news?

tavdog commented 3 years ago

Try this fork https://github.com/bajoraner/arduino_twitch_api-1

AiGreek commented 2 years ago

Still no news ? this lib doesn't work. not even with the last updated fork :(

ugers commented 2 years ago

Still no news ? this lib doesn't work. not even with the last updated fork :( Confirm - Now working image

tavdog commented 2 years ago

just do plain http requests like so : https://gist.github.com/tavdog/9ef82e1c0c0445671581eb2ca3862520

witnessmenow commented 2 years ago

I've no idea if this library still works , but since I wrote it , esp8266 now force https verification unless you tell it otherwise. So putting client.setInsecure(); in the setup (or doing some other verification like setting the fingerprint) might make it work

On Tue 15 Feb 2022, 06:09 Tavis, @.***> wrote:

just do plain http requests like so : https://gist.github.com/tavdog/9ef82e1c0c0445671581eb2ca3862520

— Reply to this email directly, view it on GitHub https://github.com/witnessmenow/arduino_twitch_api/issues/4#issuecomment-1039894652, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL5PQW5HIRPFXGKTZQ7M2TU3HU25ANCNFSM4QTLCT7Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

Parang0n commented 1 year ago

hello i have write on the setup client.setInsecure(); and it seem to help have you an idea of what is the problem in my case ? issue

thanks a lot

[EDIT]: the code works perfectly,

[1] use this fork https://github.com/bajoraner/arduino_twitch_api-1

[2] put client.setInsecure(); in the setup

[3] make the CLIENT_ID and the ACCESSTOKEN with an another website ( not https://dev.twitch.tv/ ) ( for me https://twitchtokengenerator.com/ works perfectly )

have fun !