skip to Main Content

I don’t want to receives tweets from certain users. Twitter documentation mentions about “follow” param, but I need inversion of this option. Is there any other option than filtering it on the side of my app?

2

Answers


  1. If you don’t want to see tweets from specific users on your timeline you can simply mute those users. Muting just turn off their tweets from your timeline and the he/she will still remain in your following list.

    If you are looking to do this via Twitter API here is the reference link
    https://dev.twitter.com/rest/reference/post/mutes/users/create

    And if you want to mute users from Desktop or Mobile you can click on Down Arrow icon and select Mute @username.
    On Desktop you can click on down arrow key and select Mute @username.

    Login or Signup to reply.
  2. The standard Twitter streaming API filter options do not allow you to exclude results from the filter pattern – it is inclusive. The enterprise PowerTrack API does have the ability to exclude terms and users as part of the filter pattern, but it is commercial.

    You will have to filter the results in your own code. You could do this by looking for the presence of the user object belonging to the user you want to exclude, and ignoring those Tweets.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search