When I fetch retweets, I am getting 100 IDs exported but instead of going to the next page of 100, It loops and does the first 100 IDs again and again. How can I go about getting the next page of unique IDs?


Here is the code I am working with.