Closed stygmate closed 1 year ago
Mmmh, looks like this happened with the switch from python-twitter to tweepy (PR).
Are you positive the right order should be (previous, next)
? I can't find anything in the documentation, it looks like we're supposed to use the Cursor class... and get_friends_id is supposed to just return a List[int]
if i remember get_friends_id
return (previous_cursor, next_cursor), list
if cursor
parameter is filled.
I have tested and it seems to work well.
Yes I think you're right. This is now fixed, thanks a lot!
https://github.com/eleurent/twitter-graph/blob/dc5b742f6ac72609ec88647f6cf45e0455b15b2d/app/fetch_data.py#L172