maraujo / pySocialWatcher

Social Watcher on Facebook Marketing API
MIT License
109 stars 49 forks source link

Requests greater than 300 #36

Open aadajinkya8 opened 1 year ago

aadajinkya8 commented 1 year ago

Seems like when I try to make requests greater than 300 the progress halts indefinitely (with two accounts in credentials.csv). How do I make sure I continue to get data?

maraujo commented 1 year ago

Are you respecting the minimum 8s between requests?

aadajinkya8 commented 1 year ago

Hi, Yes I am

watcher = watcherAPI(api_version="15.0", sleep_time=10, outputname="ghana_collection_psw.csv.gz")

I have set the sleep time to 10 seconds. Is there anything else I should do?

maraujo commented 1 year ago

To be honest I don't know. I have not use the API for a long term, I would certify if they did not increased the time needed between requests.