30 Days of Python - Day 21 - Twitter API with Tweepy - Python TUTORIAL

  Рет қаралды 88,515

CodingEntrepreneurs

CodingEntrepreneurs

Күн бұрын

Пікірлер
@CodingEntrepreneurs
@CodingEntrepreneurs 4 жыл бұрын
Code: github.com/codingforentrepreneurs/30-Days-of-Python/tree/master/tutorial-reference/Day%2021 Twitter Docs: developer.twitter.com/ Tweepy Docs: docs.tweepy.org/en/latest/
@ahmedalhallag3338
@ahmedalhallag3338 4 жыл бұрын
This is the 101 of "How to apply on a language you've learned", literally. Your'e awesome dude.
@CodingEntrepreneurs
@CodingEntrepreneurs 4 жыл бұрын
Thank you!
@elizabethadams8854
@elizabethadams8854 2 жыл бұрын
The highest level I can recommend you for the good thanks👍
@tejasjoshi3724
@tejasjoshi3724 4 жыл бұрын
Hello CodingEntrepreneurs, Today is Guru Pournima In India. It is kind of like Teacher's Day. We worship our teachers today. So I would like to wish you Happy Guru Pournima and thank you for doing what you are doing.
@aidamahmoudi1069
@aidamahmoudi1069 3 жыл бұрын
This was the best tutorial on youtube to work with tweepy.. Thanks!
@soundofsilence9509
@soundofsilence9509 3 жыл бұрын
You are one of the best teachers on youtube, I had a chance to watch. Thanks for all.
@adebolarahman9885
@adebolarahman9885 2 жыл бұрын
Thanks for your video. Please how can I used Python to get tweet for the year 2020 from Nigeria , the date of that tweet and location.
@matinfazel8240
@matinfazel8240 3 жыл бұрын
Big thanks for your nice video
@mustafasimsek8431
@mustafasimsek8431 2 жыл бұрын
You're the best man!
@sujonjulhas2041
@sujonjulhas2041 4 жыл бұрын
You're brilliant
@amuley11
@amuley11 3 жыл бұрын
When I execute "me = api.me()" command (at 15:10), I'm getting an error --> AttributeError: 'API' object has no attribute 'me'. Please help me with it.
@thunderpapi
@thunderpapi 3 жыл бұрын
I have the same problem
@justinlevy9011
@justinlevy9011 3 жыл бұрын
api.me was deprecated. try this, after api = tweepy.API(auth) me = api.verify_credentials() print(me.screen_name)
@shubhamjha868
@shubhamjha868 3 жыл бұрын
@@justinlevy9011 What's the deal with essential access and elevated access?
@chekurusnaaida2193
@chekurusnaaida2193 2 жыл бұрын
@@justinlevy9011 i already try this, but I get "403 Forbidden" . It says I need Elevated access
@siddhartht8063
@siddhartht8063 3 жыл бұрын
Awesome vid man, I like the way you explain. Can you help me, how to retrieve Video tweets..
@terraflops
@terraflops 3 жыл бұрын
honestly, this video is the only one that makes sense to me and everything works (I have returned to rewatch). Watching other videos is so far a negative experience. This channel is SUPREME in easy to follow and understand with explanations. I love this channel.
@CodingEntrepreneurs
@CodingEntrepreneurs 3 жыл бұрын
You made my day. Cheers!
@jeevanjose1510
@jeevanjose1510 3 жыл бұрын
Can I get user bio through tweepy?
@asmmisfar
@asmmisfar 4 жыл бұрын
Hello, what is the different between pipenv and virtualenv. and what are you prefer to use? which is best from these?
@BrokenDimensions4
@BrokenDimensions4 4 жыл бұрын
I didn't catch what you said at 5:26 What did you use in the earlier days?
@cur1ousss2047
@cur1ousss2047 2 жыл бұрын
Giga chad Thanks a lot 🙏
@neoblackcyptron
@neoblackcyptron 2 жыл бұрын
Random question: Does Tweepy APi have support to post Tweets as a Carousel , to appear in Google search results ?
@ctkqiang
@ctkqiang 4 жыл бұрын
Yeah new video ! 🥰
@CodingEntrepreneurs
@CodingEntrepreneurs 4 жыл бұрын
Hope you enjoy it!
@khanyasser
@khanyasser 3 жыл бұрын
BEST TUTORIAL!! MY GOODNESS. I was struggling to authenticate my second account TWITTER account but was able to do it using the method shown here where the window pops up and asks you to login. Thank You
@jariuslouie
@jariuslouie 4 жыл бұрын
New subscriber here! Thank you for your content. Stay safe!
@akshayjain8302
@akshayjain8302 3 жыл бұрын
Really helpful video!!! Tweepy was working fine for me for almost a year but now I now started getting tweepy error: TweepError: Failed to send request: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)). How to get rid of this error? Thank you.
@mrnano1991
@mrnano1991 4 жыл бұрын
Amazing 30 days .. Still waiting for day 22 though :(
@itsachannelname9169
@itsachannelname9169 3 жыл бұрын
??? @24:27 do i need to enter my code every time i open this or is there a way around it: since the auth does not change just the pin...
@priyanchandrapala9189
@priyanchandrapala9189 4 жыл бұрын
Thanks buddy, this is amazing !!
@anefuoche1053
@anefuoche1053 3 жыл бұрын
please how do we get tweets between dates?
@thomasct614
@thomasct614 3 жыл бұрын
Is it possible to auto upload videos using tweepy?
@ickebins6948
@ickebins6948 4 жыл бұрын
Thanks for the great content, I've got a problem with the "user timeline" @ 37:00. I always get back my tweets not the tweets from the "code" account or any other accout. Did the api change? I searched for it but couldnt find anything about that.
@saulo402
@saulo402 2 жыл бұрын
user = api.get_user(screen_name="code", include_entities=False)
@ickebins6948
@ickebins6948 2 жыл бұрын
@@saulo402 Thanks, was a long time ago but will give it a try :)
@w1ch3r29
@w1ch3r29 3 жыл бұрын
Hello, How do we extract a tweet where the bot is mentioned Like those extracting thread type of bots in twitter
@aminesaib
@aminesaib 2 жыл бұрын
I checked the tweedy methods available to me and they look slightly different than yours, example, I don't have the create friendship one, here are the creates available to me: 'create_compliance_job' , 'create_direct_message' , 'create_direct_message_conversation' , 'create_dm' , 'create_dm_conversation' , 'create_list' , 'create_tweet' Is that because of the type of access I have or because they updated their API since this video was posted?
@annmwai6624
@annmwai6624 2 жыл бұрын
Hello, kindly assist: the me = api.me() code is not running. The system is saying that the attribute 'me' is not defined
@md.hafizurrahman3585
@md.hafizurrahman3585 4 жыл бұрын
Is it possible to download last 2 month tweets?
@duke007x3
@duke007x3 4 жыл бұрын
Hey bro How are you? Hope U ok because we miss you and your lessons
@ai.201
@ai.201 3 жыл бұрын
Is it possible to use the pin to get directly in my code instead of copy pasting it with mouse because usually when we use apps we just click authorized and enter email and password?
@ygcjayalal
@ygcjayalal 4 жыл бұрын
the greatest teacher i have ever seen. I have leaned lots of core concept about python and django..thank you so much for forever. i can do only that to say thank.. i don't know why some people don't like this channel
@manshautube
@manshautube 4 жыл бұрын
Very informative videos. Can we build a local system using facebook webhook to pull running ad reports to localhost .. kind of like zapper?
@sajolshrestha2738
@sajolshrestha2738 3 жыл бұрын
Do u know how to get all the tweets from the user so far I'm only able to get 200
@Aman-lw3vq
@Aman-lw3vq 4 жыл бұрын
bro try to mention timeline in your description 'coz most often we need to look just one topic but for that, we have to go through the entire video which is time-consuming and frustrating as well.
@rahulbhai9948
@rahulbhai9948 4 жыл бұрын
Sir Your videos r awesome...really waiting to see next videos of the series Thank u so much
@jinfeizhu4893
@jinfeizhu4893 3 жыл бұрын
Thanks for this video! I just applied for a Twitter developer account for my school project, but I am a little worried if I will get rejected? And how long will it take? Thanks for any reply!
@terraflops
@terraflops 3 жыл бұрын
at 37:57 for line: user = api.get_user("code")
@saulo402
@saulo402 2 жыл бұрын
user = api.get_user(screen_name="code", include_entities=False)
@essamadel8317
@essamadel8317 4 жыл бұрын
Is there any way to use twitter api without signing in developer_twitter ?
@m.sripadh4338
@m.sripadh4338 3 жыл бұрын
me = api.me() This command is not working for me and it is showing erro like : AttributeError Traceback (most recent call last) in ----> 1 me = api.me() AttributeError: 'API' object has no attribute 'me' Can you please tell me how to fix it..?
@aba6571
@aba6571 3 жыл бұрын
I am stuck on the same issue. did you figure this out?
@jmreagle
@jmreagle 2 жыл бұрын
@@aba6571 Me too. Maybe it got removed?
@sergeysergey6682
@sergeysergey6682 4 жыл бұрын
Spotify is not available in my country and also Twitter rejected my application for developer , is there a way for me to follow those tutorials if cant get the api_keys ? Thanks a lot! I have been following your tutorials since 2016 and learned a great deal!
@ajayrao4226
@ajayrao4226 3 жыл бұрын
If i specify count=5000 using tweepy.Cursor, why does it return only 800 rows?
@shessi1085
@shessi1085 3 жыл бұрын
can i automate my mail and send as many mails as i want in twitter with the incrimentation of lets say (number) so it wont be considered spam
@zahramovahedinia1896
@zahramovahedinia1896 3 жыл бұрын
Is there any attribute or any way that we can get the user's gender?
@JoJoSoGood
@JoJoSoGood 4 жыл бұрын
Hi mrCodingEntr, I am learning so much from your video, thank you... Also may i ask your opinion on something: i have a large VS folder with different files (e.g. one with variables, one with functions, one mian.py, etc). If i happen to forget what a particular variable or df includes, can i run it separately as I may easily do i jupyter? At the moment for any sinlge little change I have to run it all and see the difference in the browser. :(
@ramironavarro3656
@ramironavarro3656 3 жыл бұрын
Hey man, is there a way to automate interactions with all the users associted to the bot? Very clear video, thanks a lot!
@sarandonga_
@sarandonga_ 4 жыл бұрын
Hi! Really good video, thanks! I am trying to find a code to retrieve a pair of users who retweeted each other at least once during our observation time window and also the sum of how many times it was retweeted. Any ideas, pleasee!
@jigi4127
@jigi4127 4 жыл бұрын
I am big fan of you man... Your tutor skill is so good, Even you are grabbing me in very depth of programming. Seriously, Thank you again.
@CodingEntrepreneurs
@CodingEntrepreneurs 4 жыл бұрын
Thank you
@JuliFrancoR
@JuliFrancoR 4 жыл бұрын
Hey, mate I like your video, thank you so much. I would like to know what theme do you have on your terminal, I would like to have those colors and those cool animations you have like in min 4:13. Thanks mate! :)
@BarryDillon
@BarryDillon 3 жыл бұрын
excellent tutorial. I find about 70% of the tweets come back with just a few hashtags and then a t/co shortened URL. When I try and access that URL about half of them give an error although via Python urllib but work fine if you type them into a browser. Any ideas on solving that? thanks.
@oneworldinternationalrealt9246
@oneworldinternationalrealt9246 3 жыл бұрын
hello im having problem with timestamp with twitter api. can you help ?
@terraflops
@terraflops 3 жыл бұрын
so, at 22:11 , my Twitter Dev account is read only: TweepError: Read-only application cannot POST.
@terraflops
@terraflops 3 жыл бұрын
SOLUTION: go to settings, change to read-write. Restart & Clear output of notebook and enter new key and run cells, it works!
@simonepassaro4868
@simonepassaro4868 3 жыл бұрын
hi, when I execute the command "auth.get_access_token(code)" I recieve this response: 401-->'This function is temporary not available' Any solutions?
@spotlight5680
@spotlight5680 4 жыл бұрын
where can i get the keys I applied for the developer account but it's on the waiting list?
@aminesaib
@aminesaib 2 жыл бұрын
Ok this took me some googling to get pass it, maybe it is the new tweedy version but the call back url oob was not working, it kept trying to go to what I had set up in app settings on twitter developer site, it turned out I needed to add callback to auth = tweepy.OAuthHandler(API_KEY, API_SECRET, callback=callback_uri )
@ribalattoun8354
@ribalattoun8354 3 жыл бұрын
I had a problem while I am trying to run this part of code "auth = tweepy.OAuthHandler(consumer_key, consumer_secret, callback_uri)", the error was like: "TweepError: Token request failed with code 401, response was '{"errors":[{"code":32,"message":"Could not authenticate you."}]}'". then I try to open this URL: cfe.sh/twitter/callback, and I found the page(404. Page not Found)!!!! So please, I have to fix this problem and go through this tutorial to get insights.
@ControversialOG
@ControversialOG 2 жыл бұрын
did you set your callback url as oob ?
@bhaskarturkar2863
@bhaskarturkar2863 Жыл бұрын
hi , I am using twitter API v2 (free), I am facing the issue in fetching the data from twitter, I searched a lot , since 1st May 2023 many people are facing this issues, earlier I was not getting this issue might be because of twitter have deprecated the API V1.1 ,, can you look into this and make any video , that will be a great help for many people, thanks in advance.
@eaxillier1890
@eaxillier1890 4 жыл бұрын
thanks
@nwh9926
@nwh9926 3 жыл бұрын
Hi I've request, can you do Twitter API V2 endpoint tutorial for getting data from old tweets ? 🥺🥺🥺
@johnkelly8101
@johnkelly8101 3 жыл бұрын
AttributeError: 'Status' object has no attribute 'screen_name' is a very common error I get back running through this code.
@shessi1085
@shessi1085 3 жыл бұрын
how to write a script to tweet as we did with gmail . send mail
@soroush51
@soroush51 4 жыл бұрын
Hi, how can I show App's name as where tweet was tweeted from? like : "twitter for iPhone" or "twitter for Web"
@Radiofreak87
@Radiofreak87 4 жыл бұрын
is there a way to get the tweet data of all other users instead of a single one? this tutorial is great btw
@swagatapaul5351
@swagatapaul5351 2 жыл бұрын
when trying to write tweets they are showing unauthorized....I changed the settings after that and regenerated my tokens as well...but then I am facing authorization issue. Does anybody know how to solve this?
@elizabethadams8854
@elizabethadams8854 2 жыл бұрын
The highest level I can recommend you for the good thanks👍
@viralvideos9227
@viralvideos9227 4 жыл бұрын
codingEntrepreneurs is a good name tag
@xgamerxd8124
@xgamerxd8124 4 жыл бұрын
is there a day 22 coming bcz the playlist is only at day 21 and i cant get enough of it
@ntp4677
@ntp4677 2 жыл бұрын
36:30 get_user function
@gambomaster
@gambomaster 4 жыл бұрын
Where have you disappeared? Are you alright bro? It's been almost a month since you last posted a video or may be I am the only one who can't see you? 🙄
@VijaySolanki-tf6vt
@VijaySolanki-tf6vt 4 жыл бұрын
Lockdown going good with cfe
@paulmeesters
@paulmeesters 2 жыл бұрын
api,update_status("text of my tweet") results in "Unauthorized: 401 Unauthorized" Weird, because I gained "elevated access". Security in Twitter has changed a lot so it seems, making this demonstration pretty useless. :(
@hatdog610
@hatdog610 3 жыл бұрын
why I cant show my account on me.screen_name?
@behjaf
@behjaf 4 жыл бұрын
where are the day 22 till day 30 ?
@yunfeiyang4382
@yunfeiyang4382 4 жыл бұрын
you said you will be there anyway(the 30th days), and we are waiting for a long time
@Divyansh-Tiwari
@Divyansh-Tiwari 4 жыл бұрын
no new video ???? why
@delllatitude299
@delllatitude299 4 жыл бұрын
I have tried this thing a long ago. but got this Apps owned by this Twitter account are listed below. You cannot create additional apps because your developer account was rejected or suspended. You may still manage your existing apps here, though further action may be taken if any of them violates There is any help you can do to sort out this issue ?. I googled but all in vain.
@CodingEntrepreneurs
@CodingEntrepreneurs 4 жыл бұрын
Sounds like you need a new Twitter account
@delllatitude299
@delllatitude299 4 жыл бұрын
@@CodingEntrepreneurs i see. Thanks for video. Always you do speechless job .
@programadorY
@programadorY 4 жыл бұрын
I am still waiting for day 22
@gambomaster
@gambomaster 4 жыл бұрын
Where have you disappeared? I think it's been almost 2 months since you posted anything online? Are you alright? Somebody close should check on him. 😗
@ammaamma8824
@ammaamma8824 4 жыл бұрын
Really he's cool guy
@timedgiggles
@timedgiggles 4 жыл бұрын
Waiting for day-22
@krakinem5705
@krakinem5705 3 жыл бұрын
49:27
@bruhlickd
@bruhlickd 2 жыл бұрын
What a hell. I can't do anything i want with this library. Everything is forbidden for an essential user as me. I tried to upgrade to academic, but Elon Musl take a lot of time to answer me. Damn!
@hirokjyoti_k
@hirokjyoti_k 4 жыл бұрын
46:00
@JohnWayne99999a
@JohnWayne99999a 4 жыл бұрын
Anyone willing to help me with some python code?
@АндрійПолухін-ю1ч
@АндрійПолухін-ю1ч 4 жыл бұрын
Guys, the per_page parameter is currently deprecated.
@sarairfan5463
@sarairfan5463 3 жыл бұрын
Awsome tutorial. My project is regarding downloading data from Twitter and I am facing a minor issue in this code. Please share your email id. I shall be highly obliged.
@warsileathers4335
@warsileathers4335 2 жыл бұрын
getting in tweet reply code "update_status() takes 2 positional arguments but 3 were given" my_reply = api.update_status( f"@{og_tweet.user.screen_name}", og_tweet.id) any expert opinion please !
@itaykivsi
@itaykivsi 2 жыл бұрын
hey , when i run this: webbrowser.open(redirect_url) , it opens a twitter page to authorize the app but when i click to authorize it sends me to my git-hub repository i gave in the twitter app authentication.. help?
@elizabethadams8854
@elizabethadams8854 2 жыл бұрын
The highest level I can recommend you for the good thanks👍
@elizabethadams8854
@elizabethadams8854 2 жыл бұрын
The highest level I can recommend you for the good thanks👍
@elizabethadams8854
@elizabethadams8854 2 жыл бұрын
The highest level I can recommend you for the good thanks👍
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
How to get TWEETS by Python | Twitter API 2022
17:04
AI Spectrum
Рет қаралды 147 М.
APIs for Beginners - How to use an API (Full Course / Tutorial)
2:19:33
freeCodeCamp.org
Рет қаралды 4,4 МЛН
Tweet Visualization and Sentiment Analysis in Python - Full Tutorial
1:30:02
30 Days of Python - Day 23 - Creating a Command Line Tool - Python TUTORIAL
39:15
Twitter Scraper Python Tutorial
22:16
Izzy Analytics
Рет қаралды 85 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
Web Scraping with Python - Beautiful Soup Crash Course
1:08:23
freeCodeCamp.org
Рет қаралды 1,6 МЛН
Django + Celery + Selenium to Scrape Anything with Python
1:34:25
CodingEntrepreneurs
Рет қаралды 64 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН