I used the search_fullarchive function last month successfully. However, when I tried to rerun my program this month, it tells me that I need an enterprise account for this function. I am confused as I could use the function last month but I can’t do it now.

The exceeded package limits usually means you ran out of free or paid calls, since this function calls the v1.1 premium API. See https://developer.twitter.com/en/account/subscriptions

If you have “academic access”, you should be using a different package that calls the new v2 API endpoint, like GitHub - cjbarrie/academictwitteR: Repo for academictwitteR package to query the Twitter Academic Research Product Track v2 API endpoint.

Hi Igor, thanks for replying. I only have an essential account. The thing I found strange is that although I cannot call the search_fullarchive function, I can still call functions such as search_30day and search_tweets. It does not seem like the calls ran out. I feel like I suddenly lost access to the full archive one. Do you know why?

Ah ok, I think v1.1 only works with Elevated Access, but if you say you can make calls to the other endpoints maybe you have that already?

These have separate rate limits and can work when you run out of calls for the full archive environment, the https://developer.twitter.com/en/dashboard dashboard will show you the premium API calls remaining and reset time. search_tweets calls a different API, which has 15 minute rate limit windows and no limit on calls like the premium API, but you can only search within the last 7 days.

Thanks Igor, I just upgraded to the Elevated Access, do you know How I can connect to v1.1? I can see the premium API calls on dashboard but I can’t call them.

In R, you should be able to call the search_fullarchive function now, in rtweet search_fullarchive: Premium Twitter searches in rtweet: Collecting Twitter Data if the environment is configured

But I still cannot


it’s still telling me I don’t have access

This is a rate limit error, meaning that you’ve run out of monthly calls, reset date is visible here: https://developer.twitter.com/en/account/subscriptions but it’s not by calendar month, it’s by whatever date it has on that page.

The v2 Dashboard, on https://developer.twitter.com/en/portal/dashboard is not relevant here. You want to look at https://developer.twitter.com/en/dashboard instead.

Hope that helps!