Authentication Twitter API v2.0 Essential and follow user and get last tweets
AlexGer123 opened this issue · 6 comments
Hi,
I want to get some simple tweets and follow some users to get the last tweets from them.
I am a little confused about authentication and conditions. But I try my best with small steps.
I use Twitter API v2.0 essential and try:
// we create a client with your user's credentials
var userClient = new TwitterClient(consumer_key, consumer_secret, access_token, token_secret);
// request the user's information from Twitter API
var user = await userClient.Users.GetAuthenticatedUserAsync();
Console.WriteLine("Hello " + user);
// publish a tweet
var tweet = await userClient.Tweets.PublishTweetAsync("Hello tweetinvi world!");
Console.WriteLine("You published the tweet : " + tweet);
and I receive an error
message":"You currently have Essential access which includes access to Twitter API v2 endpoints only. If you need access to this endpoint, you'll need to apply for Elevated access via the Developer Portal. You can learn more here: https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api#v2-access-leve","code":453}]}
How I tell tweetinvi to use Twitter API v2.0? Some one have a simple example for Authentication and get some tweets/follow someone? Unfortunately, i do not have access to Twitter API v1.x...
did you get a solution to this, i am having same problem
No...I don't found any solution...
Did you got the solution for this? I am facing the same solution.
Unfortunately I have not found a solution.
Did you apply for Elevated access?
No. Essential only. :)