I'm using the excellent Twitterizer to get a user's timeline, however I'd like to exclude @user replies from this returned collection.
The Twitter API offers a 'exclude_replies' parameter, but I can't find anything similar in the Twitterizer documentation.
Is there any way in which I can do this? Thanks in advance.
You might have to filter the replies once you've got them. Presumably you have a
TwitterStatusCollection
. There are some likely looking properties in eachTwitterStatus
, such asInReplyToUserID
.You could presumably (I haven't tried it) do something like this:
Or, failing that, filter out any statuses with the "@..." pattern in the text.