How to Create a Twitter Retweet Bot using Tweepy [Python]
Vložit
- čas přidán 27. 07. 2021
- How to Create a Twitter Retweet Bot using Tweepy [Python]
- a video by CreepyD
In today's video, we'll be creating a Twitter Retweet Bot. We'll be creating 2 bots, a Twitter retweet bot that searches for tweets mentioning us, and then the bot will use simple Twitter sentiment analysis to determine if the tweet is positive, and if it is, the bot will retweet the tweet. The other Twitter Retweet Bot that we'll be making will search for tweets containing certain keywords, and if a tweet contains those keywords our bot will retweet the tweet. We will be creating these Twitter Retweet Bots in Python, and we'll be using the Tweepy library.
GitHub - github.com/CreepyD246/Twitter...
Support me on Patreon - / creepyd
____________
USEFUL LINKS & DOCUMENTATIONS:
Twitter Developer Platform - / en
Tweepy Documentation - docs.tweepy.org/en/stable/
Tweepy PyPI - pypi.org/project/tweepy/
̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅
____________
OTHER TUTORIALS:
Twitter Bot Tutorial in Python [Selenium] - • How to Create a Twitte...
Tweepy Setup Tutorial - • How to Set Up Tweepy [...
Tweepy Beginner Tutorial - • Beginner Tweepy Tutori...
Twitter Reply Bot Tutorial - • How to Create a Twitte...
Tweepy Like Bot - • How to Create a Twitte...
̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅
____________
OTHER MEDIA:
Instagram - / creepyd_studios
Twitter - / creepyd_studios
Discord - / discord
̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ - Jak na to + styl
love your content!
great!!
When I run it I get the error 'API' object has no attribute 'me'. Any Ideas?
Hello there. Thanks for this super helpful tutorial playlist. Very clear presentation, great content. I wanted to ask if you can make some advanced twitter bot, or something that would be integrated and fed into Telegram. And also if I may ask, can you make a video on how to host the bot file (possibly free but also any other good hosting platforms) Thank you so much!! Appreciate it!!
Cool
thx lol
How well does Textblob handle Sarcasm? Genuine question and not a sarcasm.... feel like I had to clear that up.
I don't think it handles sarcasm at all well, you'd need another method for sentiment analysis
@@CreepyD246 Thanks for clearing that up. Great vid :)
The attributes stream listener dont work. please help
Watch the newer series. This one is old. You might have to Google some stuff here and there because Twitter/X had a lot of changes recently, but most of it should be the exact same
Bro. Twitter changed free access to the v2 api. You can only lookup users and post. Scums. Is there any way to go around that?@@CreepyD246
This tutorial work with Tweepy V4 ? Thanks creepyyy
I don't think so, try using Tweepy version 3.10.0 (which is the one I used in the video)
Uninstall Tweepy first like this:
pip uninstall tweepy
When uninstalling Tweepy, they might ask you if you're sure, if that happens just type "y" and press enter
Then install version 3.10.0 like this
pip install tweepy==3.10.0
does this still work?
As long as you use Tweepy version 3.10.0 yes
Hello
Sup man haven't seen you in a while
Time To Win Some Twitter Giveaways :)
YOOOO that's genius
Actually Won Giveaways after making my bot :)
how you get that 3 points after ''def get_info(credential):''?
i got a error:
''Expected indented blockPylance'', that is about auth = tweepy.OAuthHandler(api_key, apy_secret_key)
sorry for my bad english
You need to add indents (press tab at each line) after the get_info() function.
Also, to get the credentials you need to sign up for a Twitter Developer Account