You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building a Twitter bot with Tweepy that replies to mentions.
I'm using the API: https://api.x.com/2/users/:id/mentions.
However, I get the original tweet that mentions me and replies to that original tweet from api's response.
How can I filter out the latter?
I've reviewed the Tweepy documentation multiple times but haven't found a solution. Any assistance would be greatly appreciated!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm building a Twitter bot with Tweepy that replies to mentions.
I'm using the API: https://api.x.com/2/users/:id/mentions.
However, I get the original tweet that mentions me and replies to that original tweet from api's response.
How can I filter out the latter?
I've reviewed the Tweepy documentation multiple times but haven't found a solution. Any assistance would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions