GitauHarrison / third-party-authentication-using-flask

How to integrate third party authentication in a flask app
https://flask-third-party-auth.herokuapp.com/
5 stars 1 forks source link

Documentation update needed: To get the Twitter API working you need "Elevated" Access Level #1

Open satishsurath opened 1 year ago

satishsurath commented 1 year ago

If you have only "Essential" Twitter API Access - you will get the below error message. I can send in a Pull Request with the update documentation if you are interested.

127.0.0.1 - - [07/Jul/2022 03:37:32] "GET /authorize/twitter HTTP/1.1" 302 -
{'errors': [{'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}]}
social_id:twitter$None

Screenshot from below Page: https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api#v2-access-leve

image
satishsurath commented 1 year ago

Additionally you need to add the below URL to your Callback URI / Redirect URL settings in Twitter developer API http://127.0.0.1:5000/callback/twitter

image