When using the Twitter Timeline plugin in EE1, is there a way to filter out mentions from the list of tweets that it outputs?
I only want to output tweets that don’t start off as a reply to another user, in order to avoid conversations appearing in a website’s Twitter feed.
Thanks,
Ste
I’ve used Tweetline for this in the past. It’s quite a bit more flexible than the Twitter Timeline plugin and you can easily filter out mentions and retweets.
Edit with EE1 fix: Fortunately the Twitter API (even this old version) supports parameters for retweets and replies, so adding in params for those is very simple. Look for this on line 82:
Underneath that add the following:
You can then use code like this in your template:
Due to the way the API’s setup it looks as though replies are included by default and retweets aren’t. It’s worth noting this too, from the API docs: