Python Twitter Bot That Auto Likes/Retweets Tutorial
VloĆŸit
- Äas pĆidĂĄn 24. 01. 2020
- Purchase the full course here!
developedbyed.com/
In todays episode we are going to be using python to create a twitter bot that will automatically retweet and auto like posts based on a keyword.
We will be exploring the python library called tweepy and also setting up a twitter developer api key.
Full Code Here - / 33437352
đŽ Follow me on:
Twitch: / developedbyed
Twitter: / developedbyed
Instagram: / developedbyed
Github: github.com/developedbyed/
Microphones I Use
Audio-Technica AT2020 - geni.us/Re78 (Amazon)
Deity V-Mic D3 Pro - geni.us/y0HjQbz (Amazon)
BEHRINGER Audio Interface - geni.us/AcbCpd9 (Amazon)
Camera Gear
Fujifilm X-T3 - geni.us/7IM1 (Amazon)
Fujinon XF18-55mmF2.8-4 - geni.us/sztaN (Amazon)
PC Specs
Kingston SQ500S37/480G 480GB - geni.us/s7HWm (Amazon)
Gigabyte GeForce RTX 2070 - geni.us/uRw71gN (Amazon)
AMD Ryzen 7 2700X - geni.us/NaBSC (Amazon)
Corsair Vengeance LPX 16GB - geni.us/JDqK1KK (Amazon)
ASRock B450M PRO4 - geni.us/YAtI (Amazon)
DeepCool ATX Mid Tower - geni.us/U8xJY (Amazon)
Dell Ultrasharp U2718Q 27-Inch 4K - geni.us/kXHE (Amazon)
Dell Ultra Sharp LED-Lit Monitor 25 2k - geni.us/bilekX (Amazon)
Logitech G305 - geni.us/PIjyn (Amazon)
Logitech MX Keys Advanced - geni.us/YBsCVX0 (Amazon)
DISCLAIMERS:
I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.
#python #programming - VÄda a technologie
Bro, only discovered your channel this weekend. Love it, and you've helped inspire me to become better at Python myself. Cheers mate!
Aaah I'm so happy you are updating this, thanks for making learning coding seem so effortless, I appreciate you!
Nice and simple tutorial, Ed!
For your new channel, I think "Tech Ed" suits you well.
Dev Ed, I wanna thank for everything you do! Your channel itâs like a breathe of fresh air!
Great video! Keep up the good work buddy! I love your Python tutorials :)
Wow another great tutorial! Still waiting for Traversy, Web dev simplified, Net ninja Academind and Dev Ed collab. It doesn't need to be programming. Seeing 2 or 3 of you guys together in one video is just going to be awesome.
17:34 "Come on! One more for daddy!!!" That is the most hilarious shit on a python tutorial ever.
Those not able to use the above tutorial, try applying for elevated dev account
PLEASE do a load more python tutorials, you are seriously interesting to watch.
thanks for this great information!
what color theme are you using for your visual studio app?
Girlfriend brings snacks while youâre working? Keep her!
đđ every coders dream girlfriend
Question, is the bot linked only to the account handle registered with dev or do you need to make a new handle?
Love that cat background SO MUCH !!
Well done!!! Please more video, with more sophisticated tasks
Thanks for the tutorial! Would there be a way to make the bot retweet a tweet from the stream if and only if it has a particular reply? Or a reply by a particular person?
Love it dude! Greetings from Central America (Y)
Nice tutorial Dev Ed đđ
Excellent video. Love your style â€ïžâ€ïž
great video bro... i was wondering, is it possible to automatically follow an specific user mentioned in a tweet?
Great stuff, Ed :)
Fantastic. Really nice way to get started with python and the Twitter API, it's pretty much English and logic, compared to JS xD
Look how our Mr. DevEd blushed when his girlfriend arrived!!!
đđđđ
That was angry face dudeđ
Aww đ This was cute.
@@necromancer7712 Trueđđ
I'm trying to follow this tutorial, but tweepy does not install using both pip or pip3. Help?
How would you go about retweeting from a list that you created, and not just all of Twitter?
A proper name for you tech channel would be: Gorgeous Tech
can we select which account we can use to like and re tweet? or is it fixed to the dev account username
awesome video! im wondering if ill be able to use this code in a way to refresh one specific users account to like and retweet all their tweets.. A user i follow does 60 second raffles everyday and i always barley miss them and im hoping this will help catch them, any help would be much appreciated, thank you!
Haha, the word for colon in Finnish (kaksoispiste) actually translates to double dot. You're not alone!
In german it's also double dot or double point (Doppelpunkt) :D
7:47 ooooooth lol XD
How can I automate it to favourite the tweets of the followers of one @ handle?
Hi Ed, Where can we get the wallpapers? Please share the link.
Hello i tried doing the steps but when i got an email it said "Thanks for applying for access!
It looks like your proposed use case may be in violation of one or more sections of the Developer Agreement and Policy, Automation Rules, and/or the Twitter Rules.
As a next step please review these policies as they relate to your use case. Then, respond to this email with an updated use case that is in full compliance with Twitter policy.
Thank you for your interest in building on Twitter." What to do?
Great video :-)
I am already running an app under Development to repost articles from my news site. Can i have more than one dev app? The only options i have are staging and production.:-/
So helpful , have used this in my code
hey man what would you do to circumvent error 429 from app rate limiting on twitter?
Can you please let us know, if we want to comment on mentioned hashtag then what should we wrote?? tweet.comment?
To your question... favourite == British spelling & favorite == American spelling & yes doing a scheduled tweet video would be good to see. One question, it seems the docs indicate you needed to pass Id to the api.retweet method but in the code I didnât see u passing the id param??
More python automation tutorials please...Its so cool.
ikr
DevEd and TechEd would be fun đ
hello i am trying to do the code but when i type "import tweepy" the tweepy part just underlines in yellow saying "(module) tweepy Tweepy Twitter API library Import "tweepy" could not be resolvedPylancereportMissingImports" any fixes.
What python extension for VSCode that you are using?
thanks really enjoyed watching your video, you make it easier to follow for a first time coder, thought i keep getting this message "AttributeError: 'API' object has no attribute 'me'" i'm guessing i need something else instead of "me", but then who would i be??? ok less of the rhyming jokes (such a dad) ...what do i input instead of "user = api.me() "
thanks in advance...oooops rhyming again
got same error, do you have the solution to this?
Hello, my vsc isn't making any tweepy occurrences and the text remains white. Any ideas why is this happening?
Yo! Reached out to you through email! Hoping we can work on something together đ . Love this content, keep it up đđ„
Hyee why your comment didn't get reply.....i like your video the mostđđ
Colaboration is gonna be awesome.
damn i can only imagine how both of you might bring fire to the python projects collaborating together!
@@kushalchapagain241 Because one is an imposter and another is a real programmer. And the imposter has a clever name.
Can you retweet the name like for example @NameTestOnly.. from his/her post will just automatically retweet every time he/she posts? Can you do that also
Greetings, mate.
Can you explain me how to make a function that will make @mention my followers at posted/retwitted twit?
Let's build auto subs. and hit 1M
I seen someone actually build a sub bot and got 2k subs
@@scoobywhatitdoo4960 wow
Is it possible to not use tweepy because it hides all the Oauth mechanism, can you make a video of handling Oauth with venilla python?
hey mate, is it possible for me that have plenty of followers make a website and lotto out to my followers to let them use my twitter , i dont want them to get acces to my password but instead write in a box on a website what they wanna tweet and it automaticly tweet it , without me doing anything , and it goes thru a filter so they dont say bad stuff
What about retweeting tweets from a Twitter list you made??
why when i write "$ pip instal tweepy " .. comes out erorr " the term $ is not recognized as the name of a cmdlet ..... etc" ???
Which font are you using?
I swear I heard " Come on one more fur daddy." around 17:37 LMAO
can you do a full website tutorial with backend and payment gateway and publishing it
How do we end the code? I am getting a "Expected an indented block at break" Error.
Great stuff. Was able to follow along and get it working. I tried to make it search for 2(!) search terms and just put them in like such "for tweet in tweepy.Cursor(api.search, search, search2).items(nrTweets)", but that didn't work. Any idea how to achieve that?
Just keep all search terms like this, add as many as you want
search = ["Python", "Twitter", "#javascript"]
for tweet in tweepy.Cursor(api.search, search).items(nrTweets)
Hei Ed, why dont U clean the terminal when U are running code again?
It's my suggestion
can someone tell why i have errors of "unknown word" whem im literally im copy pasting
Got an error.
TypeError: __init__() got an unexpected keyword argument 'wait_on_rate_limit_notif'
Traceback (most recent call last):
File "twitter.py", line 8, in
api = tweepy.API(auth, wait_on_rate_limit=True, wait_on_rate_limit_notif=True)
TypeError: __init__() got an unexpected keyword argument 'wait_on_rate_limit_notif'
Has the notification depreciated?
how could i change it for a user instead of a keyword?
Where can i found that wallpaper? :)
how can i do it only for a particular user i mean like and retweet only from a particular user
I literally barely subscribe channels but I can't stop to subscribe you
What page do you look at the code?
Is .set_access_token a inbuilt function in Python?
do i need to download that tweepy thing or what pls im new to this
would this work with other IDEs?
Can you make a tutorial on python for a Twitter boy that auto replies to certain users?
I opened a new twitter account for development with the new email address. I didn' get the approval from twitter. I did what ı see in this video and ı got reject. Can you help me about this ???. I got this message "Thank you for your interest in the Twitter developer platform. Based on our review of your use case, we are unable to approve your developer application at this time."
it says " File "twitter.py", line 21
except StopIteration
^
SyntaxError: invalid syntax"
does someone know how to fix this?
(Windows 10) I'm having problems with tweepy. I can do the instalattion with pip install and with pip3 install but in weither case when I try to import it says ImportError: No module named tweepy. Any idea of what mith be the problem?
Same problem
What's the theme of your vscode??
How do i make the bot like and retweet the same tweet?
16:01
Favorite: American English
Favourite: UK English
can we use this for opensea ? favorite like bot ?
pls make an advanced tut about web scraping with puppeteer
try beautifulsoup4
Favorite is the American English variant of Favourite. It's maybe because Americans hate using extra words, which is a good thing in my way.
Nice project!
Keep it simple.. TECH Ed
Its simple but catchy..
i couldn't get it to work. is there an update?
When i run the script it says tweet liked but right after that this message pops up: Read-only Application cannot post. and eventually it isn't executed.
Same for me... Do you found a solution?
@@Ryycs yes go into your twitter api settings and change from read-only and give permission to execute
I get this message.
Tweet retweeted
Read-only application cannot POST
On my Twitter timeline, no ne likes, what could be the problem?
This is so true I can understand what you mean and say
bro this guy is a genius
hey ed. the twitter developer has changed its interface mind doing a video. updating us on how to get started? thanks
me:very helpful
while i did nothing just looking at his vids and saying helpfull lmao!
It would be amazing to be able to use this but for Instagram
guys how do i run the program forever?
anyone know how to make more stand alone keywords to like and retweet?
can you do twitter bot that replies to tweets & dms?
How can I run this 24/7 this script
Can you do a 2022 update video ?? Lots of updates changed the layout and formate of doing this. Thank you
Yup ..if you find a similar video using recent python . plz do hit me up
@@dhruvprabhal9163 not yet all of them are older đ€Šââïžđ
@@shibarmy3527 okay đ
Can i get banned for that? And is it possible to be unbanned afterwards?
Hey ed, are you a Japanese?
Show me how to create a bot that sends AUTO DIRECT MESSAGES to my followers AND to the followers of my competitors.
Can you build Instagram or Facebook program for checking stalkers or who is checking your profile..?something with analitics..
I use a similar set up to retweet contest giveaways
How do you avoid: [{'code': 327, 'message': 'You have already retweeted this Tweet.'}]
7:28 Legend detected
how can i deploy it?