How to connect to Twitter API 2021 | #2 GET DATA

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2024

ความคิดเห็น • 24

  • @skillbits5941
    @skillbits5941  3 ปีที่แล้ว +1

    Check out our new video on saving tweets to csv file! 🐦 th-cam.com/video/rfqEJpJtCzw/w-d-xo.html

  • @skillbits5941
    @skillbits5941  4 ปีที่แล้ว +1

    timestamps 🐦:
    0:30 create app in developer twitter account
    1:38 access your application
    1:48 access tokens and keys
    2:45 get Python code to access api
    3:03 editor requirements
    4:10 install tweepy in terminal
    4:42 create file with Python code
    5:38 handle authorization error
    6:01 explaining the code
    7:20 MyStreamListener explained
    8:22 final result: run script to get tweets data

  • @grupanetpg950
    @grupanetpg950 4 ปีที่แล้ว

    Nice one! :) Good luck with yours channel :D

  • @abhishekgoswami3927
    @abhishekgoswami3927 3 ปีที่แล้ว +1

    In my Twitter app there isn't consumer key, so how to find consumer key ?

    • @skillbits5941
      @skillbits5941  3 ปีที่แล้ว

      Check out this screenshot by us imgur.com/a/PkpocKq

  • @asadullahbaig5698
    @asadullahbaig5698 2 ปีที่แล้ว

    Could you please make a video on how can we change the twitter link into image in JavaScript?

  • @nitsugatiger162
    @nitsugatiger162 3 ปีที่แล้ว

    well played bro ;)

  • @fishakil5225
    @fishakil5225 4 ปีที่แล้ว +1

    how to save those comments into a csv file??

    • @skillbits5941
      @skillbits5941  3 ปีที่แล้ว

      Here is the code and explanation th-cam.com/video/rfqEJpJtCzw/w-d-xo.html

  • @skillbits5941
    @skillbits5941  4 ปีที่แล้ว +1

    Make sure to have a developer account first, registration process explained here in part 1 🐦:
    th-cam.com/video/nYcuZDItwa0/w-d-xo.html

  • @lifeatblank
    @lifeatblank 3 ปีที่แล้ว

    Thanks, this is helpful 👍

  • @imanaharrar4155
    @imanaharrar4155 4 ปีที่แล้ว

    Thanks for the guide! Works well. But my problem is I want to get it to a CSV file and limit it to a specific time period. How can I do so? I'm using anaconda

    • @skillbits5941
      @skillbits5941  3 ปีที่แล้ว

      To limit the results to specific time period use the search endpoint developer.twitter.com/en/docs/twitter-api/v1/tweets/search/api-reference/get-search-tweets or docs.tweepy.org/en/latest/api.html#search-methods

    • @ntokozotyumre5352
      @ntokozotyumre5352 3 ปีที่แล้ว

      Hi, I wanted to know if you managed and if you did please share how you went about it?

  • @randomite
    @randomite 2 ปีที่แล้ว

    Can you make a video on how to find and save followers of any user?

    • @skillbits5941
      @skillbits5941  2 ปีที่แล้ว

      Any particular idea how to use this data? We could possible visualize it in a graph or something, with followers of followers. What do you think?

    • @randomite
      @randomite 2 ปีที่แล้ว

      @@skillbits5941 I was thinking of exporting it to CSV and run data analysis on it. This could be pretty interesting if we generate a followers list of a handle and when was each handle created, how many followers they have (just number), how many tweets each follower has made. Then maybe I can take it further and analyze a tweet, who have liked it or tweeted it. This lays the foundation for many other uses. It will be very useful.

  • @Th3He
    @Th3He 4 ปีที่แล้ว

    It is a pity that this tutorial series are not uploading anymore.

    • @skillbits5941
      @skillbits5941  4 ปีที่แล้ว

      Thank you for your interest! We'll be back soon

    • @skillbits5941
      @skillbits5941  3 ปีที่แล้ว

      In case you are still interested, we have just added a new video on saving data from Twitter API to csv file th-cam.com/video/rfqEJpJtCzw/w-d-xo.html

    • @katarzynawronska6813
      @katarzynawronska6813 3 ปีที่แล้ว

      Following up

  • @ShivamSharma-xz5je
    @ShivamSharma-xz5je 4 ปีที่แล้ว

    I used the same code, it gave me 401 errors.
    Can somebody help?
    The output was -
    401
    401
    401
    401

    • @skillbits5941
      @skillbits5941  4 ปีที่แล้ว

      Please try to regenerate your own tokens in the developer.twitter.com panel and enter them again into the source code.

    • @ShivamSharma-xz5je
      @ShivamSharma-xz5je 4 ปีที่แล้ว

      @@skillbits5941 I tried to regenerate them again and use them, but still the same output.
      I recently found out that their maybe a bug from twitter side and their are other ways to use twitter api except tweepy. I might try them