Following user using v5 API

So I am trying to let people log into my application and follow users. Now, I have an access token. After looking at the documentation here, I am a bit confused. It says the following:

Adds a specified user to the followers of a specified channel.
There is an error response (422 Unprocessable Entity) if the channel could not be followed.

And the URL looks like this: PUT https://api.twitch.tv/kraken/users//follows/channels/

Where do I have to put my access token? Why do I have to add an User ID instead of an access token?

Access token is passed via the authorization header as documented in the apps and authentication guide. You need both the access token and user IDs.

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