Hi,
I’m getting started with Python and with Twitch API and programmation. So my apology if my issue seems not like one to you.
I’m trying to send a GET Request with Python to retrieve a user’s followers.
Here is the function(short version) :
HEADERS = {'Client-ID': CLIENT_ID, 'Authorization': 'Bearer ' + OAUTH_TOKEN}
url = 'https://api.twitch.tv/helix/users/follows?to_id=174955366?first=100'
requests.get(url, headers=HEADERS)
Here is the response from Twitch API :
{'error': 'Bad Request', 'status': 400, 'message': 'Param 174955366?first=100 is not an integer.'}
I tried without ?first=100 and it worked.
I’m not sure what’s expected from me if I want to use ?first parameter.
Thank you.