Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indicate when a tweet entry is a retweet of someone elses tweet, as opposed to an original tweet #29

Open
equivalentideas opened this issue May 24, 2019 · 1 comment

Comments

@equivalentideas
Copy link

In my application, I need to handle retweets and original tweets differently. It seems like the best way to identify a retweet at the moment is to see if the content includes the 'Retweeted by Handle' string with a pattern like like (\<small\>Retweeted by )\w+(\<\/small\>). But this isn't super reliable because it could appear in the content otherwise, and if the feedbin markup changes it will break.

Would an appropriate solution be for the entry object to declare if this tweet is a retweet or not with something like an is_retweet Boolean?

@TimCadieux
Copy link

I have this same requirement. The FeedBin interface clearly shows "Retweeted By X" but the API appears to not pass this information on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants