twitch_client = TwitchClient(client_id=client_id, oauth_token=oauth_token)
prova = ['19571641']
seguiti = []
n=0
q=0
for user in prova:
print(user)
for x in range(0, 3):
print('for')
top_channel_follows = twitch_client.users.get_follows(user, limit=100, offset=q)
q= q+100
#pp.pprint(top_channel_follows)
#print('separatoreeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee')
#print(stringa)
#pp.pprint(top_channel_follows)
n=0
for x in range(0, len(top_channel_follows)):
seguiti.append(top_channel_follows[n]['channel']['display_name'])
n=n+1
print(seguiti)
print(len(seguiti))
I’m trying to get all the users followed by another user with that code. The problem is that it returns the wrong number of followed user. Checking on the page of the user the number of users followed is different. Anyone knows why or what i’m doing wrong?
Thank you 