How do I add follow button to my website?

Hey, so I am trying to add a follow button to my website but I fount it quite hard… I know you need to do something with the API but I am not sure what do I need to do…
How do I start? What do I need to do?
Help Please :persevere:

The user will have to be logged into twitch on your page, with the ‘user_follows_edit’ scope.

Authentication Information:

Yeah I have already seen it, i dont really know to apply it…

You have to setup a Twitch login method, the follow button will have to check if they are logged in, if not, then login. Once they are logged in you can use PHP to do the PUT call with the users permission.

If I make a functioning example of this in the future, I’ll be sure to share it with you.

Do you have a tutorial maybe?

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