strohne / Facepager

Facepager was made for fetching public available data from YouTube, Twitter and other websites on the basis of APIs and webscraping.

Home Page:https://github.com/strohne/Facepager/releases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pagination for Twitter Timeline (API v2) not working

qd1990 opened this issue · comments

commented

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

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

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?