How to get TWEETS by Python | Twitter API 2022

Поділитися
Вставка
  • Опубліковано 29 лис 2024

КОМЕНТАРІ • 269

  • @aispectrum
    @aispectrum  2 роки тому +23

    Thank you guys for your support 🙂. I made new videos about getting tweets from users or tweets by keywords/hashtags, and streaming tweets in real-time. Links of the videos are in the description.

    • @nitinluthra1751
      @nitinluthra1751 2 роки тому +1

      Hi! You write code that is elegant and systematic. In your 2 videos, the file with keys and token do not use the bearer token which I think is creating problems for me. I am having trouble getting tweets older than 7 days via academic access-authenticating my account and then searching a sizable number of tweets using hashtag and a specific date. It will be very helpful for researchers to have another video on this topic!

    • @datareactor4143
      @datareactor4143 2 роки тому

      can you kindly help me if we want to download tweets for a specific subject? i tried making changes to the public_tweets = api.home_timeline() line but was not successful after some experiments.

    • @Ilham-ct4mk
      @Ilham-ct4mk 2 роки тому

      Hi thanks for the video, and I'm getting this error like below
      raise KeyError(key)
      KeyError: 'twitter'
      Can you have any comments on this

    • @khushiverma3467
      @khushiverma3467 Рік тому

      ​@@Ilham-ct4mk your issue solved ??

  • @hnn1335
    @hnn1335 Рік тому +7

    Elevated access is now basic access and I have to pay 100$ a month to access tweets.... I was so excited to follow along this project

  • @Vitotheking100
    @Vitotheking100 2 роки тому +5

    Great video. This is the only resource I found online saying I need elevated access. Thank you

  • @violapastorino5845
    @violapastorino5845 2 роки тому +5

    Thank you so much for this video! You are such a good teacher the Netherlands is lucky to have you!

    • @aispectrum
      @aispectrum  2 роки тому +1

      Thanks a lot for the nice words! 😊

  • @nehat786
    @nehat786 2 роки тому +7

    It would be great if we see real-time tweets of any particular account. There is not much information on that as of now. Would be helpful for us. Thanks. Appreciate your effort. God bless you!

    • @aispectrum
      @aispectrum  2 роки тому +2

      I appreciate your nice words 😊. I'll indeed look into this topic in next videos.

  • @KulturanCov
    @KulturanCov 2 роки тому +17

    you can also use pandas json_normalize() function, which transforms a json dic into a nice pandas DataFrame.
    tweets = pd.json_normalize(response["data"])
    tweets
    With tweepy you would need to change the return_type to requests.Response.
    client = tweepy.Client(
    bearer_token=BEARER_TOKEN,
    return_type = requests.Response # Needed to use json methods, which makes life much easier
    )

  • @BabakRoumiani
    @BabakRoumiani Рік тому

    چاکر بچون خرموعه، دمت گرم

  • @pepex90
    @pepex90 2 роки тому +10

    Hi !! I have this exception: "453 - 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." But in the Developer Portal i have all proyects in Elevated Access 🙁

    • @riyagupta1841
      @riyagupta1841 2 роки тому +1

      Same here
      Could you please tell me how can I resolve this problem?

    • @Zer0-0
      @Zer0-0 2 роки тому +1

      It's a pain in the ass, you have to set up stuff

    • @enescerrahoglu
      @enescerrahoglu Рік тому +1

      were you able to solve this problem?

  • @kchen9914
    @kchen9914 2 роки тому +1

    Many thanks for your video. It's extremely useful. I am a PhD student, and I am trying to extract tweets according to keywords. I'll target your video. Thank you very much!!!

    • @aispectrum
      @aispectrum  2 роки тому

      Thanks for the nice comment. Happy to hear that video could be helpful to a fellow PhD student!

    • @kchen9914
      @kchen9914 2 роки тому +1

      @@aispectrum Thank you for your kindly reply. I've got an academic research API.
      I just tried to follow your code step by step, but I am stuck at video 11:30.
      I got the return "453 - 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".
      I am struggling with it. I am not very familiar with coding and Twitter API, but my research requires this. So I am trying my best to do it.
      If possible, could you please give me a clue? Thank you very much. God bless you.

    • @kchen9914
      @kchen9914 2 роки тому

      @@aispectrum thank you, my friend, my issue is gone, I solve it.😆

  • @laarx8911
    @laarx8911 2 роки тому +2

    Thank you so much!! This tutorial is the easiest one to follow!

  • @courtneytan7418
    @courtneytan7418 2 роки тому

    This was so well done! Bravo!

  • @bluespider6537
    @bluespider6537 2 роки тому +1

    Hi thank you for creating this short guide! really helpful to get started with twitter API

    • @aispectrum
      @aispectrum  2 роки тому

      Thanks for the feedback! Glad it was helpful! 🙂

    • @illushop2.o382
      @illushop2.o382 2 роки тому

      Hello Can you help me?? Actually I stuck in public_tweets. There are showing errors. So please

  • @april147
    @april147 2 роки тому

    It saved my life! Thank you so much!

  • @ayorinde5782
    @ayorinde5782 2 роки тому +1

    how do i run the code in vs code terminal window

  • @marianomeses403
    @marianomeses403 2 роки тому

    you're a genius. un saludo carnal, excelente video.

  • @irshadshaik2994
    @irshadshaik2994 2 роки тому +1

    Does it take a long time to get the twitter developer account? Or will it be created as soon as you agree with the terms and conditions

  • @CuriouslyWatching
    @CuriouslyWatching 2 роки тому

    I love your tutorials
    I learnt a lot when making a sentiment analysis project for my school

    • @aispectrum
      @aispectrum  2 роки тому

      Glad you like them!

    • @illushop2.o382
      @illushop2.o382 2 роки тому

      Hello Can you help me?? Actually I stuck in public_tweets. There are showing errors. So please

  • @seyiojo4041
    @seyiojo4041 2 роки тому +1

    I cant seem to get past the creation of the developers' account.

  • @ppsweetanny
    @ppsweetanny 2 роки тому +1

    Hi after write the code for print(api_key) in my MacBook I found an error can you please help me on that

  • @sazid_mahmud
    @sazid_mahmud 2 роки тому

    Thanks for the video. I was searching for something like this.

  • @Joy381GT
    @Joy381GT 2 роки тому +1

    hello is there any callback url or website url tht i can fill, because it required right now

  • @BeWorded
    @BeWorded Рік тому

    You are quite a teacher! Thank you so much!

  • @Restlesscrocodile
    @Restlesscrocodile 2 роки тому +1

    Thank you my lovely, this was really helpful. I was wondering if there was a way to change the date/time format? At the moment, it comes out as something like [2022-04-29 14:58:39+00:00] - which cannot be recognised as a date in excel.

  • @HelloNewMe1996
    @HelloNewMe1996 2 роки тому +1

    hello.. i try to use the code but i have an error . tweepy.errors.Forbidden: 403 Forbidden
    453 - 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.
    please help me

  • @danrock9285
    @danrock9285 2 роки тому +1

    Hi, friend. Thanks for the video!
    I need to store hundreds of tweets safely; and use them later (in original format) in my thesis, throug an easy way. Does Tweepy do that, or just returns text and metadata? Is there some sort of "recoversion" to original format?

    • @aispectrum
      @aispectrum  2 роки тому +1

      I don't think you can use the API for this. API only returns the data in json format. If you want to do save them in original format like twitter website, you may have to write a script with HTML + CSS + JS to get what you want.

    • @danrock9285
      @danrock9285 2 роки тому

      @@aispectrum Thanks!

  • @jaymorad7095
    @jaymorad7095 Рік тому +2

    Thanks so much for this it was extremely helpful. Also going to watch your video relating to searching using keywords. However, can you recommend how to get tweet images that users had posted?

  • @woolfy02
    @woolfy02 2 роки тому +2

    So, this tutorial uses 'OAuth 1.0a' correct? I don't see any option too 'edit app options' on 2.0. And OfCourse I can't save those settings until I figure out the 'Callback URI / Redirect URL' and 'Website URL' which Is not in the tutorial here. Twitter changes things around way too much

    • @aispectrum
      @aispectrum  2 роки тому +3

      Yes. I saw that too. You can try to enable OAuth1 on the website and use the link to your GitHub repository for the callback URL.

  • @camiloninguem495
    @camiloninguem495 2 роки тому

    Thank U so much, I had problems with the separators, so much tweets .text has comas or tabs or | , when I import this to excel (for example) is imposible. How I can converter to numpy object?

  • @secondaccountadlinaluthfia6099
    @secondaccountadlinaluthfia6099 2 роки тому

    i love the video sound quality

  • @CelskySiBunnyHop
    @CelskySiBunnyHop 2 роки тому

    hi sir, i would like to learn this content for my thesis and i want to ask something. How it works with emoticon because i saw the output print emoticon? thankyou

  • @nihalshukla0913
    @nihalshukla0913 Рік тому +1

    Jay Shree Baba Mahakaal Ji Har Har Mahadev Ji
    Jay Shree Aai Shree Kulswamini Maa Tuljabhawani Maiyaa ji Jay Shree Maa Harsaddhi Bhawani Maiyaa ji❤

  • @imaduddinfarih4835
    @imaduddinfarih4835 2 роки тому +1

    hello AI spectrum..
    its a great tutorial.. easy to understand
    thank you, and really appreciated.
    does it work in essential access or we have to upgrade to elevated access ?

    • @aispectrum
      @aispectrum  2 роки тому

      Well I don't think you can run this code with essential access. Essential access only allows you to connect to API v2 (this is equivalent to using tweepy.Client class). But I use API v1.1 here (since I use tweepy.API class).

    • @imaduddinfarih4835
      @imaduddinfarih4835 2 роки тому

      @@aispectrum thank you

  • @miracleuche586
    @miracleuche586 Рік тому

    Thank you so much for the helpful and succint video. Please, how can I run these codes on Jupyter notebook? Being unfamiliar with VS Code text editor, I find it challenging to replicate these codes on my notebook. I need help.

  • @spinout77
    @spinout77 Рік тому

    Thanks for the instructions and the video! I am still stuck in the set up process: when giving the app the read and write permission, I also have to specify a Callback URI / Redirect URL and a Website URL. This information is required. What do I have to enter there? I have neither a Callback URI nor a website to refer to.

  • @bobvance9519
    @bobvance9519 Рік тому

    Excellent tutorial!

  • @subratasaha8820
    @subratasaha8820 2 роки тому +1

    awesome explanations. i have completed all three videos and successfully extracted tweets. however, if I need only 'English' language tweets, where to modify in the code? can you help me on this?
    # please upload more videos.

    • @aispectrum
      @aispectrum  2 роки тому +2

      Thanks! For filtering based on language, you can pass to api.search_tweets the parameter lang='en'. For streaming, pass to stream_tweets.filter the parameter languages=['en'].

    • @subratasaha8820
      @subratasaha8820 2 роки тому +1

      Thanks@@aispectrum

  • @dianyinghunjian
    @dianyinghunjian 2 роки тому +1

    Is there a way to no auth??

  • @jinjjasugoi1213
    @jinjjasugoi1213 2 роки тому

    when i type "pip install tweepy" in terminal it gives me this... ip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
    spelling of the name, or if a path was included, verify that the path is correct and try again. why is that?? HELP PLEASEE!

  • @xtzewka4107
    @xtzewka4107 2 роки тому +2

    Hi @AI sectrum, could you say what should I put in fields CallbackURL & Website URL on twitter dev site at registration process (when they ask me to choose between different type of OAuth(I'm choosing 1.0a)? Without filling those fields I can't finish the registarion and I can't give my app write & read permission. I have no clue what I should put in there

    • @aispectrum
      @aispectrum  2 роки тому +1

      I see that they now changed a bit the UI. As you figured it out, you should now change the app premission in the User authentication settings section. Just choose OAuth 1.0a, give to your app the read/write permission, and for the Callback and Website URLs, you can simply give the link to your github repository.

    • @xtzewka4107
      @xtzewka4107 2 роки тому

      Cool, thank you

    • @aviezerlawee2883
      @aviezerlawee2883 2 роки тому

      @@aispectrum So, i did this and im still getting a traceback bad request 400 215 tweepy error bad authentification data. Imma check the keys one more time. Really excellent video

  • @roberttyler2861
    @roberttyler2861 2 роки тому +1

    This is a great tutorial - thank you. How would you add to the list? I want to store more than say the 300 but say 10,000 or so?

    • @aispectrum
      @aispectrum  2 роки тому

      According to the official API document, you can get up to 800 tweets from home timeline. For this, try using tweepy.Cursor and passing to it api.home_timeline

  • @RyanPu-js9gl
    @RyanPu-js9gl 2 роки тому +2

    Great video! Thanks a lot for sharing this! I have two questions though: 1. Is it possible to use your method to collect, say 10k tweets, at one time? I tried but only returned about 1k tweets. 2. What's the difference between tw.Cursor() and tw.Paginator()?

    • @aispectrum
      @aispectrum  2 роки тому +1

      Unfortunately the API restricts the tweets that you can get with essential access. If you want to get more tweets, you need to elevate the access, for example to academia access. For the second question, Cursor() is for pagination of API v1.1 methods (this is when we write tweepy.API for instantiation), but Paginator() is for API v2 (that is tweepy.Client).

    • @geraldwinata8346
      @geraldwinata8346 2 роки тому +4

      @@aispectrum Sir, I have elevated access but it only collect 100 tweets. How can I collect 1k tweets for a single csv?

    • @latanff3511
      @latanff3511 Рік тому

      @@geraldwinata8346 you got It?

  • @theroundaboutpodcast7595
    @theroundaboutpodcast7595 2 роки тому

    clear and easy to understand.

  • @onanaonana325
    @onanaonana325 2 роки тому

    My list of tweets, dataframe are empty. i don't understand why

  • @yhk6187
    @yhk6187 2 роки тому +1

    thank you so much for this. by the way, how can i define the time length? for example, I would like to search tweets containing certain keyword or hashtag posted between 2022-01-01 to 2022-02-01. If this is not possible. Could you give me any suggestions about this?

    • @aispectrum
      @aispectrum  2 роки тому +2

      For getting tweets by searching keywords/hashtags, you can check out this video: ua-cam.com/video/FmbEhKSpR7M/v-deo.html
      For the time period, just pass the until parameter to the search_tweets method, something like until='2022-02-01'. Just have on mind that the api only reteruns tweets that are 7-days old.

  • @lebensmu_ude
    @lebensmu_ude 2 роки тому +1

    Thank you for the video.I am a beginner in the subject and so far, your content is so interesting and useful.

    • @aispectrum
      @aispectrum  2 роки тому

      I'm happy to hear that the video was helpful 🙂

    • @illushop2.o382
      @illushop2.o382 2 роки тому

      @@aispectrum Hello Can you help me?? Actually I stuck in public_tweets. There are showing errors. So please

  • @Provloging789
    @Provloging789 11 місяців тому

    It will throw error for tweepy.. May I know what is the latest version

  • @Khushboo_Khandelwal-28
    @Khushboo_Khandelwal-28 2 роки тому

    It was really helpful for me, Thank you!

    • @illushop2.o382
      @illushop2.o382 2 роки тому

      Hello Can you help me?? Actually I stuck in public_tweets. There are showing errors. So please

  • @ahmedutuber
    @ahmedutuber 2 роки тому

    thank you to much, we learning us with you new skill tweetpy API 🙏🙏🙏🤝

  • @aishwaryaahuja6456
    @aishwaryaahuja6456 Рік тому

    it is not showing apply for elevated when I am trying. It is jumping to the payment website

  • @mouse6653
    @mouse6653 2 роки тому

    Hello, I got a problem with sign up a account Twitter Development. They need I show the purpose to sign up. Can you help me? Many Thanks

  • @flavianitzlader8981
    @flavianitzlader8981 2 роки тому +1

    Hi, thanks a lot for this, I'm a beginner at Python and was struggling how to get started before seeing this. I have done all the steps as you do, but for some reason when I want to import tweepy it doesn't show even though I previously installed it using pip3. Configparser works fine though. I have not yet heard back from twitter regarding my elevated access, could that be the reason?

    • @RobCloseMusic
      @RobCloseMusic 2 роки тому +1

      What is the point of all this? Does this method strengthen the tweet to reach a larger audience? trying to understand how to better my sent tweets

  • @rohitray5947
    @rohitray5947 Рік тому

    Can you develop a hashtag recommendation system for twitter in python using twitter datasets ?

  • @philipung5335
    @philipung5335 2 роки тому +2

    Thanks for this video, it was very useful
    Just note, I noticed in this video and when doing a similar project, the tweets are not printed into full text and so tweets that are long in length are replaced by ...
    And so is there any way to get around this, as this is holding me back from getting a large dataset.
    Thanks in advance

    • @aispectrum
      @aispectrum  2 роки тому +3

      You’re right. The Twitter API by default only returns 140 characters. To avoid this, put tweet_mode=‘extended’ in the api.home_timeline method. Also use tweet.full_text, instead of tweet.text, to read the tweet.

    • @philipung5335
      @philipung5335 2 роки тому +1

      This is my code, and the tweet_mode parameter doesn't work in my function.
      Also the tweet.full_text doesn't work, so this is a barrier, so Im not sure how to get around this.
      cursor = tweepy.Cursor(api.search_full_archive, label="Tweets", query="Bitcoin", fromDate="202001010000", toDate="202012312359").items(number_of_tweets)
      for i in cursor:
      tweets.append(i.full_text)
      likes.append(i.favorite_count)
      time.append(i.created_at)
      retweets.append(i.retweet_count)

    • @aispectrum
      @aispectrum  2 роки тому +1

      @@philipung5335 I do not have an Academic Research access to run the search_full_archive method. What you can do is to check the json data that you get from the API. First see if the "truncated" element is True, then inspect the data and look for "extended_tweet" element, this has the full text.

    • @philipung5335
      @philipung5335 2 роки тому

      Thanks for your reply. I will give that a try, but Im a newbie to coding, so Im not sure what you mean by 'check the json data'.
      I only have elevated access which includes premium v1.1

    • @---kt5xz
      @---kt5xz 2 роки тому

      @@philipung5335 did you got full text

  • @cecer3795
    @cecer3795 2 роки тому

    Sooooo helpful!!! Thank you so much for your video :-)

    • @aispectrum
      @aispectrum  2 роки тому

      Glad to hear that this was helpful 🙂

  • @egiwahyu4377
    @egiwahyu4377 Рік тому

    Sir i thought i miss the section or don't understand completely. But i want to ask you how to connect your tweet to the code? I didn't get it. Coz i didn't see any of your twitter account name in the code...

  • @ONRISEAI
    @ONRISEAI 2 роки тому

    Great video, 👍
    Can we have more than 1 developer app?
    I already have an autoposter so it's not letting me add a different dev app only Production & Staging. 😕

  • @giannisbk4336
    @giannisbk4336 2 роки тому

    Thank you for the video. This is very helpful!!!!

  • @neroonose4585
    @neroonose4585 2 роки тому

    Best ever. Thank you so much

  • @maaknunalam8579
    @maaknunalam8579 2 роки тому +2

    Very helpful video, thank you. Could you kindly show how to possibly find tweets with specific keyword matching; also how to run the script in a server to keep extracting data continuously. Thank you !!!

    • @aispectrum
      @aispectrum  2 роки тому +1

      I’m happy that it was helpful to you. You can check my new video for getting tweets by keywords: ua-cam.com/video/FmbEhKSpR7M/v-deo.html

  • @Juan-Hdez
    @Juan-Hdez 2 роки тому

    Very useful. Thank you!

  • @bobvance9519
    @bobvance9519 Рік тому

    I wonder how one might save other things like searches and hashtags or other pages on twitter.

  • @hindal-humaidi5567
    @hindal-humaidi5567 2 роки тому

    When I save data to CSV with pandas and open it in excel, the data does not order and it is a mess situation 🙂

  • @Lumiere10x
    @Lumiere10x 2 роки тому

    Thanks so much for this it was extremely helpful. Also going to watch your video relating to searching using keywords. However, can you recommend how to get tweets as much as say 5000-10,000? I currently have the elevated access. IF its not possible can you suggest methods we can try out? Looking forward to your reply.. Thanks

  • @shitabtanzim2037
    @shitabtanzim2037 2 роки тому

    Thank You. It was very helpful.

  • @nidhi-12
    @nidhi-12 Рік тому

    hey @aispectrum
    not able to solve this error
    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.
    please help me solve this

  • @AndresVeraF
    @AndresVeraF 2 роки тому

    Thanks for this video & subscribed !

  • @meleseayichlie5645
    @meleseayichlie5645 Рік тому

    thank you guys for your valuable support, but i have a question how to download hate speech image in twitter

  • @mbegaliful
    @mbegaliful 2 роки тому

    This is probably a stupid question (and slightly out of topic).However, I try anyway. I don't get this section:
    config = configparser.ConfigParser()
    config.read('config.ini')
    api_key = config['twitter']['api_key']
    How can you use the variable "config" in config['twitter']['api_key'] to have access to the file( config.ini) when the file is not read yet? In my VERY RUDIMENTAL knowledge of Python I would expect something like:
    config = configparser.ConfigParser()
    x = config.read('config.ini')
    api_key = x['twitter']['api_key']
    Am I completely off mark? Thanks!

  • @minipatel6132
    @minipatel6132 2 роки тому

    Hi great video! If I wanted to search for a certain word from my home timeline how would I exactly do it. I know I'll need a api.search_tweets and a for loop but how would I go about doing it?

    • @aispectrum
      @aispectrum  2 роки тому

      If I understood right, you want to search for some keywords. If that's the case, I have made a video for searching tweets. You might want to check it out.

  • @randagha3283
    @randagha3283 2 роки тому

    Thank you a lot!!
    could you please upload a video on how to retrieve tweets with specific words?

    • @aispectrum
      @aispectrum  2 роки тому +1

      I have plan to publish a video for this after holidays.

    • @juanharu
      @juanharu 2 роки тому

      @@aispectrum looking forward to this subject too! thanks for this tutorial very informative!

    • @banonenbob7641
      @banonenbob7641 2 роки тому

      @@aispectrum Specific words or users would be great. For example return all the tweets mentioning @Facebook for example.

  •  2 роки тому

    Thanks for great video and coding. Can you find how many times tweet and share your tweet ? (meaning count)

    •  2 роки тому

      Yok hayır

  • @TheStianchris
    @TheStianchris 2 роки тому

    Great video, thank you very much!

  • @thinkdo9470
    @thinkdo9470 Рік тому

    good but could you guide me these coding working right now?

  • @rakesh4581
    @rakesh4581 2 роки тому

    Sir if anyone twit and I want her twit in 1-2 second , so it is possible with api or not? For example Elon Musk make twit and I want newly twit in 1 second through api. Please tell me

  • @naholabs
    @naholabs 2 роки тому +1

    This is by using Twitter API v1 There is now the V2 available

  • @alexochoki7533
    @alexochoki7533 2 роки тому

    good stuff, very helpful

  • @Nikhil123477
    @Nikhil123477 2 роки тому

    After making developer account how much time it takes to have access?

  • @SaranyuSudharsana
    @SaranyuSudharsana Рік тому

    Hi Al Spectrum, I'm getting key error twitter . I dont why and I couldn't find the reason could help me please it is for my research

  • @AzadehEsfandyari
    @AzadehEsfandyari Рік тому

    Thank you, I believe collecting Twitter data with a free developer account is no longer possible. Is this correct?

  • @Essoulefou
    @Essoulefou 2 роки тому +1

    Hello ! thank for the video. I'm a beginner, I have an error at the first print and I dont know why.
    Traceback (most recent call last):
    File "c:\Users\****\Documents\VisualCode\try\twitter_api.py", line 9, in
    api_key = config['twitter']['api_key']
    File "C:\Users\****\AppData\Local\Programs\Python\Python310\lib\configparser.py", line 964, in __getitem__
    raise KeyError(key)
    KeyError: 'twitter'
    Do you have an idea? :/

    • @peterm1697
      @peterm1697 Рік тому

      Same boat. Have you found the solution?

  • @fakiimohammedmwapore1637
    @fakiimohammedmwapore1637 2 роки тому

    nice content, was helpful

  • @faqapour6166
    @faqapour6166 2 роки тому

    what is the name of your platform that coding in it?

  • @MetaMaiden-me2yh
    @MetaMaiden-me2yh Рік тому

    Hi, can i check if tweepy still works?

  • @hakanbayramkaraaytu
    @hakanbayramkaraaytu Рік тому

    I need to have tweets from RTErdogan. where should I mention this account name into this code?

  • @mohammadumaradil2224
    @mohammadumaradil2224 2 роки тому

    Hello Sir. I have with me the bearer token number. Is it similar to access token and access token secret? Please clarify about the same?

    • @aispectrum
      @aispectrum  2 роки тому

      It's actually different. bearer_token is for OAuth 2. You can pass this to the Client class of tweepy instead of API. But note that the methods of Client are different than API.

  • @furryanimalfriends
    @furryanimalfriends Рік тому

    how to tweet or reply tweet using python?

  • @skyterror321
    @skyterror321 2 роки тому

    can you get geolocation off of the tweets

  • @Ankansworld
    @Ankansworld 2 роки тому

    Even after having the correct API keys and Elevated access, I am getting
    TweepError: [{'code': 89, 'message': 'Invalid or expired token.'}]
    Can someone please help? I want to get tweets based on a specific hashtag.

  • @cherrywithers6200
    @cherrywithers6200 Рік тому

    Thank you so much! Does anyone know what the lead time is for their approval responses?

    • @soumilyade1057
      @soumilyade1057 Рік тому

      The free tier comes with 1500 tweets only.

    • @shurooqaldaja912
      @shurooqaldaja912 Рік тому

      Did you know what is the time for approval response??

  • @comradeff7241
    @comradeff7241 2 роки тому +1

    Is this only worked for elevated access accounts?

  • @cynding2661
    @cynding2661 2 роки тому

    Very helpful!

  • @mallekumari626
    @mallekumari626 2 роки тому +1

    Hi thanks for the video, and I'm getting this error like below
    raise KeyError(key)
    KeyError: 'twitter'
    Can you have any comments on this

  • @pepex90
    @pepex90 2 роки тому

    Great video, thank !!

  • @moonsha5851
    @moonsha5851 2 роки тому

    Hello, I want to learn this course. I applied twitter developer account three times and all of them has been rejected. Could you help me apply a twitter developer account? Thank you most warmly.

  • @Alwalou
    @Alwalou 2 роки тому

    Can you do explanation for Ruby On Rails app ?

  • @gamesclash2480
    @gamesclash2480 2 роки тому

    sir how to undetectable as a bot with twitter api?

  • @shaniadecruz7047
    @shaniadecruz7047 2 роки тому

    Hello there on my code I get a 403 error message when I try to store the acquired tweets into a variable and display it, what are the steps to resolve this

    • @aispectrum
      @aispectrum  2 роки тому

      It's not that easy to say what is causing the problem for you without seeing the error and your code. But this could be due to problem with your API keys or your access level. Make sure you have elevated access as I explain in the video, and make sure your API keys are correct. You can also check the twitter website for understanding your error: developer.twitter.com/en/support/twitter-api/error-troubleshooting

  • @ian_seme
    @ian_seme 2 роки тому +1

    followed keenly,but got KeyError: 'twitter',from first step of printing api key

  • @starmarch5465
    @starmarch5465 2 роки тому

    how if we want to get the user who mention user tweet ? do we use tweet.user. too ?

  • @hugocastillo8125
    @hugocastillo8125 Рік тому

    The elevated access is still free as the basic access?