Get tweets that are not mentioned


Is there a way to get tweets that are not mentioned directly from the Twitter API? those. status updates only. I want it:

Stackoverflow Rules

This is also normal:

It's cold today @randomUser

But not this:

@randomUser I agree

I reviewed both the REST and Streaming APIs and cannot find a way to filter this way.

Client-side filtering is an option, but it is dirty.

Help:
Twitter API docs: http://dev.twitter.com/doc/get/statuses/user_timeline

+3
source share
2 answers

The Twitter API now supports exception exclusion when selecting a timeline. Just set exclude_replies = true to your request.

: https://dev.twitter.com/docs/api/1/get/statuses/user_timeline

+2

, API , .

, :

@randomUser

, , , , .

0

Source: https://habr.com/ru/post/1774706/


All Articles