![]() |
|
[Python] Tweepy - Detect New Tweets Only - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] Tweepy - Detect New Tweets Only (/showthread.php?tid=5814622) |
Tweepy - Detect New Tweets Only - Haters Ganna Hate - Mar 22, 2018 Trying to google for this but im not getting the result I want. I want Tweepy to check for a new tweet by a specific user and, if there is a new tweet by the user, it does an action. The thing is, I only want to check if there are new tweets, not including replies to other users. Sadly, most code examples does include replies. How would I go on to only detect new tweets? Also, what would be the best way to see only new tweets and not scan for old ones? RE: Tweepy - Detect New Tweets Only - .kr. - Mar 22, 2018 you can see all info about a tweet with the code below: Code public_tweets = api.home_timeline()https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/tweet-object check the attributes: in_reply_* |