Currently, I am having trouble creating a twitterbot on Tweepy.
I'd like to write a program where I learn tweets containing certain strings at regular intervals and tweet the sentences contained in those tweets by myself instead of RT.
If the text does not exist, it will appear.Is it impossible to take out a sentence and tweet the content?
The source code is as follows
Help Methods API.search(q[,lang][,locale][,rpp][,page][,
since_id][,geocode][,show_user]) Returns tweets that match a
Return type:list of SearchResult objects
The return value of the API.search method in tweet seems to return a list of SearchResult objects.
So I think you can do it like this.
Now you know the tweet and the username that tweeted it
© 2022 OneMinuteCode. All rights reserved.