How To Use twitch Auth In Kodular?

is it possible to create login with twitch and save the name, the avatar and the followers in a tinybd or firebase??

You need to use Twitch API | Twitch Developers

2 Likes

I will try thanks!

Can You say where I Can Place Auth/ID In api request URL

https://api.twitch.tv/

Authorization and Client ID require to be sent in header

1 Like

My Blocks:

How can I found Authorization ?

Blockquote

Can You Please show me how to get Username And Profile Pic URL As Json Format ?

blocks (4)

https://api.twitch.tv/

wait i will make a demo aia asap.

1 Like

:gift_heart::gift_heart::gift_heart::gift_heart: Thank You! I am Waiting…

Download AIA :point_down:
KodularXTwitch.aia (6.1 KB)

Add https://twitch.tv in OAuth Redirect URLs ( Twitch Developer Console)
Add Your Client-ID here :point_down:
Screenshot 2021-10-01 at 8.45.20 PM

1 Like

Thank You Very Much ! But I Have replaced Client Id successfuly But App showing empty
response and data

1 Like

Login required!

1 Like

I AM Not Installed Twitch app in my device is it require?

1 Like

Ah I Got It sorry Web page take too long to load slow connection…

1 Like

I log in in web view but Access token and userdata are still empty?

wait i will post demo

from the documentation Authentication | Twitch Developers

Authentication involves:

  1. Registering your app to obtain a client ID and client secret.
  2. Getting a token. This includes specifying scopes, the permissions your app requires.
  3. Sending the token in your API request, to authenticate API requests.

Taifun

1 Like

Demo Video of my AIA
@Tharusha_Thishakya
Twitch

1 Like

But In My device!

1 Like

Have you added https://twitch.tv in your OAuth Redirect URLs (Twitch Developer Console)?