dracarys18 / TweetBot

A simple Telegram Bot to Stream the tweets from any twitter accounts to Telegram Channel
MIT License
103 stars 45 forks source link

Unable to use with V2 API Basic #36

Open linkcoindoc opened 1 year ago

linkcoindoc commented 1 year ago

Elevated access option is dead... I've paid for Basic access but still getting the following error:

Finished release [optimized] target(s) in 3m 36s Running target/release/tweet_bot Error: TweetError { kind: TweetError(TwitterError({"perf": "7626143928", "content-type": "application/json;charset=utf-8", "cache-control": "no-cache, no-store, max-age=0", "content-length": "360", "x-transaction-id": "78251de0182fd04b", "x-response-time": "3", "x-connection-hash": "336e5d427fab6a73d4d6eade39232fa65e71e72a235b8177f63334237e41c518", "date": "Wed, 10 May 2023 07:10:54 GMT", "server": "tsa_p"}, TwitterErrors { errors: [TwitterErrorCode { 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 }] })), location: Location { file: "src/utils.rs", line: 6, col: 33 } }