I am retrieving back to Jan 1, 2017 for 48 political candidates.I am using an app that I developed on Full Archive Sandbox and transitioned to the paid Premium Full Archive version. In the Sandbox version it was pulling a full 100 tweets every time and working perfectly. The app checks for a ‘next’ parameter and continues to loop until all tweets were retrieved.
Here’s the problem: Now that I have switched over to the Full Archive Sandbox, I am not retrieving the full 500 tweets each time (I’m getting approximately a month’s worth (30-70), which is less than I was getting in the free version).
I understood from the documentation that the first page would be a month’s worth, but then after would be a full 500. Is this correct?
Is there something that I need to change from the free version for the Premium app that would limit this aside from maxResults (Changed from 100 to 500)?
Here’s a bit of code, but it hasn’t changed since I transitioned from the free version (it worked great there).
screen_names=[‘Ann_Kirkpatrick’,‘LeaPeterson’,‘JasonCrowCO6’,‘RepMikeCoffman’]
query_name=‘from:’+screen_names[sn]
max_count=500
fromDate=“201701010000”
toDate=“201811080000”
search_params = {'query': query_name,
'toDate': toDate,
'fromDate': fromDate,
'maxResults': max_count
}
These search_params get updated with the next token if there is one at the end of the first run.