Hello,

As I understand, streaming API’s dont support tweets from Protected user. But I am following that user and it is visible for me. Is there support planned to enable this functionality from the Streaming API standpoint ?

If streaming can not be used, how to query tweets from protected users which I have been approved to following them.

Please share some insight.

The rest API methods should work, provided that you are using user authentication, and your authenticated user is approved to follow the user whose tweets you want to lookup. The streaming API is intended for per-application use rather than per-user use as I understand it, so I doubt adding the ability to view protected tweets from within the streaming API is likely to happen.

1 Like

I understand, but accessibility settings within the account should be visible to all end points equally. So if I am able to query protected tweets from timeline. Then getting sampled stream looks like an incremental feature set.

If you have an example for that using tweepy to search from timeline pls share. Appreciated. Thanks

No, because the streaming API is specifically not intended this way.

The streaming API is intended to be used by an application - even if that application has 1 or 1000000 users, it is intended to have 1 connection to the streaming API. As a result it makes comparatively little sense to put this in, whereas when you’re making user calls, each user may be making completely different calls.

I don’t have tweepy code to share, but in the API reference for tweepy, API.user_timeline is the call you’re looking for.

1 Like

Thank you, will look into. I already tweepy configured for sweeping non protected tweets.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.