How to Access Data from the Twitter (X) API Using Tweepy

Sdílet
Vložit
  • čas přidán 13. 12. 2023
  • This video provides an introduction to accessing data from the Twitter API using the Tweepy Python library. Specifically, it covers:
    -Uses cases for the Twitter API
    -Getting a Twitter bearer token for API access (and how to add it to the .gitignore file)
    -Reading Twitter and Tweepy API documentation
    -Making requests for account info by username
    --Endpoint: / get-users-by-username-...
    --Tweepy function: docs.tweepy.org/en/stable/cli...
    -Parsing responses to get the data you want!
    This video is the nineteenth video in a multi-part series on getting started with the Python programming language. Previous video on web scraping: • How to Web Scrape usin... Next video on setting up Google Cloud Functions: • How to Setup and Test ...
    Source code on Github: github.com/gsprint23/Python-D...
  • Jak na to + styl

Komentáře • 32

  • @danielhaidari1638
    @danielhaidari1638 Před 2 měsíci

    Hello Gina I need help please, i was wondering if it's possible to build something like controlling the comment section of your tweets.

  • @Enigmatic19998
    @Enigmatic19998 Před 2 měsíci

    @GinaSprint i want to access such data now, is there any possibities available, or any alternative method to get the data. I need it for a Project.

  • @parisaemkani5730
    @parisaemkani5730 Před 2 měsíci

    hi, i bought basic version of twitter developer. can i retrieve data for one month January 2024?

  • @berg1ce518
    @berg1ce518 Před 3 měsíci +9

    I'm looking for a user to follow that gives me an error 403 and has been unauthorized what should I do?

  • @douglasteixeiradeabreu
    @douglasteixeiradeabreu Před 6 měsíci +3

    did you do this with the free version of the api? is it possible to get the entire follower list of a user who is not me?

    • @ngokien8591
      @ngokien8591 Před 5 měsíci

      did you do with free version? I can't access with that

    • @GinaSprint
      @GinaSprint  Před 4 měsíci +2

      Sadly the free plan at Twitter/X has been greatly reduced since I made the video. You will now need to sign up for a paid plan to access most endpoints :(

    • @AlanDeAnda1
      @AlanDeAnda1 Před 4 měsíci +2

      @@GinaSprint Naughty Elon

    • @harish77720
      @harish77720 Před 3 měsíci

      @@GinaSprint Thanks for the video! I just want to ask if I can use X API free tier to get/pull/read tweet data for market sentiment analysis? I primarily need the tweet content to aggregate into counts of positive, neutral, and negative tweets.

    • @zackgotfanz4340
      @zackgotfanz4340 Před 3 měsíci

      @@harish77720same here

  • @elidaniel8440
    @elidaniel8440 Před 4 dny

    Hallo Gina, which developer subscriber do you have? Basic?

  • @saw970
    @saw970 Před 4 měsíci +2

    Did you use the free plan or Basic?

    • @GinaSprint
      @GinaSprint  Před 4 měsíci +3

      Sadly the free plan at Twitter/X has been greatly reduced since I made the video. You will now need to sign up for a paid plan to access most endpoints :(

    • @ntran04299
      @ntran04299 Před 3 měsíci

      ​ @GinaSprint Thanks for the video! I just want to ask if I can use X API free tier to get/pull/read tweet data for market sentiment analysis? I primarily need the tweet content to aggregate into counts of positive, neutral, and negative tweets by state and metropolitan area.

    • @mateuseidt8598
      @mateuseidt8598 Před 3 měsíci

      @@ntran04299 you need to pay, same as me

    • @utica2burn
      @utica2burn Před 3 měsíci +1

      @@GinaSprint ​ @GinaSprint Hi Gina
      Do you know if it's possible now with a free plan to monitor an account and get notified when it tweets?
      I find the licensing and endpoints a bit complicated.

  • @rohitkewat5930
    @rohitkewat5930 Před 4 měsíci

    i have basic plan of x api . i am getting 403 status code .

  • @_Joker2019
    @_Joker2019 Před měsícem

    Can tweepy make posts and likes 0?

  • @rkm88216
    @rkm88216 Před 6 měsíci +2

    Is it free?

    • @GinaSprint
      @GinaSprint  Před 4 měsíci +1

      Sadly the free plan at Twitter/X has been greatly reduced since I made the video. You will now need to sign up for a paid plan to access most endpoints :(

  • @prabeshbajracharya99
    @prabeshbajracharya99 Před 5 dny

    I paid 100 but still gets 403

    • @elidaniel8440
      @elidaniel8440 Před 4 dny

      Could you cancel and move to free? and if yes how did you that?

  • @droptimistic7419
    @droptimistic7419 Před 20 dny

    Hi can I contact you