Login with twitch

Hello guys I wan to integrate login with twitch functionality I have this url


by this url I am successfully redirect to my website but I want to store user login data in my db but can someone tell me how should I get user data with url or some thing else .

thank you

You can call the Get User by ID endpoint: https://dev.twitch.tv/docs/v5/reference/users/#get-user-by-id. The other option is to call Get User and pass in the OAuth token you received since it seems to have user_read: https://dev.twitch.tv/docs/v5/reference/users/#get-user

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.