Тёмный

How to get TWEETS by Python | Twitter API 2022 

AI Spectrum
Подписаться 5 тыс.
Просмотров 146 тыс.
50% 1

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 273   
@aispectrum
@aispectrum 2 года назад
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 года назад
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 Год назад
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 11 месяцев назад
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 года назад
Great video. This is the only resource I found online saying I need elevated access. Thank you
@violapastorino5845
@violapastorino5845 2 года назад
Thank you so much for this video! You are such a good teacher the Netherlands is lucky to have you!
@aispectrum
@aispectrum 2 года назад
Thanks a lot for the nice words! 😊
@nehat786
@nehat786 2 года назад
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 года назад
I appreciate your nice words 😊. I'll indeed look into this topic in next videos.
@pepex90
@pepex90 2 года назад
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 года назад
Same here Could you please tell me how can I resolve this problem?
@Zer0-0
@Zer0-0 2 года назад
It's a pain in the ass, you have to set up stuff
@enescerrahoglu
@enescerrahoglu Год назад
were you able to solve this problem?
@irshadshaik2994
@irshadshaik2994 2 года назад
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
@KulturanCov
@KulturanCov 2 года назад
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 )
@jaymorad7095
@jaymorad7095 Год назад
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?
@laarx8911
@laarx8911 2 года назад
Thank you so much!! This tutorial is the easiest one to follow!
@danrock9285
@danrock9285 2 года назад
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 года назад
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!
@imaduddinfarih4835
@imaduddinfarih4835 2 года назад
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
@BabakRoumiani
@BabakRoumiani Год назад
چاکر بچون خرموعه، دمت گرم
@kchen9914
@kchen9914 2 года назад
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 года назад
@@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.😆
@Restlesscrocodile
@Restlesscrocodile 2 года назад
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.
@Joy381GT
@Joy381GT 2 года назад
hello is there any callback url or website url tht i can fill, because it required right now
@sazid_mahmud
@sazid_mahmud 2 года назад
Thanks for the video. I was searching for something like this.
@roberttyler2861
@roberttyler2861 2 года назад
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
@woolfy02
@woolfy02 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 года назад
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.
@april147
@april147 2 года назад
It saved my life! Thank you so much!
@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
@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
@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?
@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.
@RyanPu-js9gl
@RyanPu-js9gl 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 года назад
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 года назад
@@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?
@subratasaha8820
@subratasaha8820 2 года назад
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 года назад
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 года назад
Thanks@@aispectrum
@bluespider6537
@bluespider6537 2 года назад
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 Год назад
Hello Can you help me?? Actually I stuck in public_tweets. There are showing errors. So please
@ppsweetanny
@ppsweetanny 2 года назад
Hi after write the code for print(api_key) in my MacBook I found an error can you please help me on that
@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.
@HelloNewMe1996
@HelloNewMe1996 2 года назад
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
2 года назад
Thanks for great video and coding. Can you find how many times tweet and share your tweet ? (meaning count)
2 года назад
Yok hayır
@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. 😕
@courtneytan7418
@courtneytan7418 Год назад
This was so well done! Bravo!
@xtzewka4107
@xtzewka4107 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 года назад
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
@yhk6187
@yhk6187 2 года назад
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 года назад
For getting tweets by searching keywords/hashtags, you can check out this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FmbEhKSpR7M.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.
@philipung5335
@philipung5335 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 года назад
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 года назад
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 года назад
@@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
@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 Год назад
Hello Can you help me?? Actually I stuck in public_tweets. There are showing errors. So please
@maaknunalam8579
@maaknunalam8579 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 года назад
I’m happy that it was helpful to you. You can check my new video for getting tweets by keywords: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FmbEhKSpR7M.html
@seyiojo4041
@seyiojo4041 2 года назад
I cant seem to get past the creation of the developers' account.
@flavianitzlader8981
@flavianitzlader8981 2 года назад
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 Год назад
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
@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...
@ayorinde5782
@ayorinde5782 2 года назад
how do i run the code in vs code terminal window
@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!
@marianomeses403
@marianomeses403 2 года назад
you're a genius. un saludo carnal, excelente video.
@AzadehEsfandyari
@AzadehEsfandyari Год назад
Thank you, I believe collecting Twitter data with a free developer account is no longer possible. Is this correct?
@shitabtanzim2037
@shitabtanzim2037 2 года назад
Thank You. It was very helpful.
@bobvance9519
@bobvance9519 Год назад
Excellent tutorial!
@ahmedutuber
@ahmedutuber 2 года назад
thank you to much, we learning us with you new skill tweetpy API 🙏🙏🙏🤝
@neroonose4585
@neroonose4585 2 года назад
Best ever. Thank you so much
@giannisbk4336
@giannisbk4336 2 года назад
Thank you for the video. This is very helpful!!!!
@BeWorded
@BeWorded Год назад
You are quite a teacher! Thank you so much!
@AndresVeraF
@AndresVeraF 2 года назад
Thanks for this video & subscribed !
@aispectrum
@aispectrum 2 года назад
Thanks 🙂
@Juan-Hdez
@Juan-Hdez Год назад
Very useful. Thank you!
@dianyinghunjian
@dianyinghunjian 2 года назад
Is there a way to no auth??
@randagha3283
@randagha3283 2 года назад
Thank you a lot!! could you please upload a video on how to retrieve tweets with specific words?
@aispectrum
@aispectrum 2 года назад
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.
@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!
@rohitray5947
@rohitray5947 Год назад
Can you develop a hashtag recommendation system for twitter in python using twitter datasets ?
@secondaccountadlinaluthfia6099
@secondaccountadlinaluthfia6099 2 года назад
i love the video sound quality
@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.
@nihalshukla0913
@nihalshukla0913 Год назад
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❤
@Essoulefou
@Essoulefou 2 года назад
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?
@pepex90
@pepex90 2 года назад
Great video, thank !!
@Khushboo_Khandelwal-28
@Khushboo_Khandelwal-28 2 года назад
It was really helpful for me, Thank you!
@illushop2.o382
@illushop2.o382 Год назад
Hello Can you help me?? Actually I stuck in public_tweets. There are showing errors. So please
@R4idho
@R4idho Год назад
Awesome! Thanks!
@theroundaboutpodcast7595
@theroundaboutpodcast7595 2 года назад
clear and easy to understand.
@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
@Nikhil123477
@Nikhil123477 2 года назад
After making developer account how much time it takes to have access?
@bobvance9519
@bobvance9519 Год назад
I wonder how one might save other things like searches and hashtags or other pages on twitter.
@TheStianchris
@TheStianchris 2 года назад
Great video, thank you very much!
@cecer3795
@cecer3795 2 года назад
Sooooo helpful!!! Thank you so much for your video :-)
@aispectrum
@aispectrum 2 года назад
Glad to hear that this was helpful 🙂
@comradeff7241
@comradeff7241 2 года назад
Is this only worked for elevated access accounts?
@santiagoacosta3
@santiagoacosta3 2 года назад
yes
@aispectrum
@aispectrum 2 года назад
Yes, since I use tweepy.api() that needs elevated access.
@mallekumari626
@mallekumari626 Год назад
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
@Ilham-ct4mk
@Ilham-ct4mk Год назад
same
@Ilham-ct4mk
@Ilham-ct4mk Год назад
you can solve that?
@alexochoki7533
@alexochoki7533 2 года назад
good stuff, very helpful
@fakiimohammedmwapore1637
@fakiimohammedmwapore1637 2 года назад
nice content, was helpful
@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 11 месяцев назад
Did you know what is the time for approval response??
@rakesh4581
@rakesh4581 Год назад
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
@hugocastillo8125
@hugocastillo8125 Год назад
The elevated access is still free as the basic access?
@annarocha9769
@annarocha9769 2 года назад
Thank ypu sooooo much!!! this is greattttttttttttttttttttt
@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.
@onanaonana325
@onanaonana325 2 года назад
My list of tweets, dataframe are empty. i don't understand why
@meleseayichlie5645
@meleseayichlie5645 Год назад
thank you guys for your valuable support, but i have a question how to download hate speech image in twitter
@justaguy7589
@justaguy7589 2 года назад
U should make a video on replying to users with media
@cynding2661
@cynding2661 2 года назад
Very helpful!
@mbegaliful
@mbegaliful 2 года назад
excellent, thanks!!
@Alwalou
@Alwalou Год назад
Can you do explanation for Ruby On Rails app ?
@faqapour6166
@faqapour6166 2 года назад
what is the name of your platform that coding in it?
@aishwaryaahuja6456
@aishwaryaahuja6456 Год назад
it is not showing apply for elevated when I am trying. It is jumping to the payment website
@hakanbayramkaraaytu
@hakanbayramkaraaytu Год назад
I need to have tweets from RTErdogan. where should I mention this account name into this code?
@Provloging789
@Provloging789 10 месяцев назад
It will throw error for tweepy.. May I know what is the latest version
@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
@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
@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.
@lloivne411i9
@lloivne411i9 2 года назад
Thanks for your sharing.
@cheicktriande5609
@cheicktriande5609 2 года назад
Hello AI Spectrum! Thank you for your usefuls contents ;). But when I write "Import tweepy" in Virtual studio, it's like I didn't install tweepy while i installed it by writing "pip install tweepy" in terminal. Can you help me?
@aispectrum
@aispectrum 2 года назад
In your terminal type "pip list" (without the quotes). This shows you the list of all installed libraries. If tweepy is not there, the package is not installed correctly.
@thinkdo9470
@thinkdo9470 Год назад
good but could you guide me these coding working right now?
@aruf8740
@aruf8740 2 года назад
bro thank you, you saved me
@VonEphesos
@VonEphesos 2 года назад
Hi. When I click the submit button, it gets loading for a second and then the website stays in the developer agreement and I don't receive any notification. I've tried with two different accounts and I have no idea what's wrong. Thanks for your help. UPDATE: When I move into the third step, the cell 'USE CASE' looks empty, which makes no sense (I've put "making a bot" in my case). I don't know if it has something to do with the problem.
@aispectrum
@aispectrum 2 года назад
For your twitter account, you need to verify your email and phone number. If this didn't help, try with a different browser as well. I hope this helps.
@JillWonka
@JillWonka Год назад
Appreciate you sir
@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 🙂
@tailuu785
@tailuu785 2 года назад
Hi AI Spectrum, so I tried your tutorial and it said my twitter account only has essential access to twitter v2 endpoint only. It says I need an elevated access to be able to access this endpoint. How do I change the endpoints to collect data or is there something else I can do to resolve the issue without updating to the elevated access?
@aispectrum
@aispectrum 2 года назад
If you only have access to v2, you can tweepy.Client instead of tweepy.API. tweepy.Client has different functions that can be helpful. Also, In my last video I show how to get tweet data without using the API. Maybe that can help.
@BoostRoo
@BoostRoo 2 года назад
How did you end up fixing this? Same error here.
Далее
How to use the Twitter API v2 in Python using Tweepy
43:29
Which part do you like?😂😂😂New Meme Remix
00:28
This is How I Scrape 99% of Sites
18:27
Просмотров 121 тыс.
Amazon Web Scraping with Python for Beginners in 2022
19:49
$0 Embeddings (OpenAI vs. free & open source)
1:24:42
Просмотров 264 тыс.
Get UNLIMITED Tweets by Python Without Twitter API
7:13
I Analyzed My Finance With Local LLMs
17:51
Просмотров 487 тыс.
OpenAI Assistants API - Course for Beginners
3:32:55
Просмотров 419 тыс.
Vim Tips I Wish I Knew Earlier
23:00
Просмотров 70 тыс.
Which part do you like?😂😂😂New Meme Remix
00:28