Facepager icon indicating copy to clipboard operation
Facepager copied to clipboard

Pagination for Twitter Timeline (API v2) not working

Open qd1990 opened this issue 2 years ago • 2 comments

Hi, I am using the User Tweets Timeline (Twitter API v2) to collect tweets of a public brand. The objective is to collect the most recent 3200 tweets of a brand. My setting is shown in the attached screenshots. However, I cannot figure out how to make the pagination work so that I can collect all the 3200 tweets without manually updating the pagination_token again and again.

I tried to enter "meta.next_token" in the pagination_token, however, I got an errod which says: "The pagination_token query parameter value [meta.next_token] is not a valid token." If I manually enter the meta.next_token value, I can keep collecting the next page of tweets, but this takes a lot of time as I have to re-enter the next_token value again and again.

I tried to search to see if there is any instruction on this, but cannot find. So I am wondering if anyone could give me some guidances on how to do this. Thanks for your time and consideration!

Screenshot 2022-08-23 093012 Screenshot 2022-08-23 093040 Screenshot 2022-08-23 094211

qd1990 avatar Aug 23 '22 12:08 qd1990

Thanks for the detailed description. We will fix this, please allow some time,

strohne avatar Aug 30 '22 11:08 strohne

Should work by now, without reinstalling Facepager, just restart it. I added the pagination info to the API doc https://github.com/strohne/Facepager/blob/master/apis/Twitter.v2.oa3.json

Please, could you try it out?

strohne avatar Sep 07 '22 05:09 strohne