Below is my R script for fetching a particular hashtag trending on twitter. I do have the APIs, and the access tokens.
library(rtweet)
api <- " "
api_secret <- " "
bearerToken <- " "
accessToken <- " "
secretaccessToken <- " "
appname <- " "
# Login - using rtweet
create_token(
app = appname,
consumer_key = api,
consumer_secret = api_secret,
access_token = accessToken,
access_secret = secretaccessToken)
tweets <- search_tweets(
q="#Hashtag",
n = 200,
)
When I run this code, I get a warning saying that
"you currently have Essential access which includes access to Twitter API v2 endpoints only"
On TwitterDev, I've checked that I have the essential access. What else could I be missing?