Giter VIP home page Giter VIP logo

Comments (2)

JohnKun136NVCP avatar JohnKun136NVCP commented on June 4, 2024

May your code is not wrong, I've been same issue, but it's about Twitter's API since if your check this link, you will see that you have to pay to get new environments for your App is working.
It's my app but it's free so if you see:
image

And my endpoints (free plan):
image
So if my code is this, it'll be same issue

api = tweepy.API(auth)
statuses = api.home_timeline()
for status in statuses:
    print(statuses.user.screen_name)

With $100 USD per month (Basic plan):
image

from python-twitter.

jeremad avatar jeremad commented on June 4, 2024

Seems like the 1.1 API to post tweets is not a free API anymore, we should switch to the v2 API:

https://twittercommunity.com/t/understanding-the-error-453-you-currently-have-access-to-a-subset-of-twitter-api-v2-endpoints/200361

They published an example, the interesting part is after line 51:
https://github.com/twitterdev/Twitter-API-v2-sample-code/blob/main/Manage-Tweets/create_tweet.py#L51

from python-twitter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.