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?
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?