ljvmiranda921 / comments.ljvmiranda921.github.io

Blog comments for my personal blog: ljvmiranda921.github.io
1 stars 0 forks source link

How to stream Twitter using Python #9

Open ljvmiranda921 opened 3 years ago

ljvmiranda921 commented 3 years ago

Written on 02/23/2017 14:09:31

URL: https://ljvmiranda921.github.io/notebook/2017/02/24/twitter-streaming-using-python/

ljvmiranda921 commented 3 years ago

Comment written by kalyan stock on 05/05/2020 14:26:29

Nice tutorial. I followed your steps. However, I am not able to stream the data from a private user.
I can look at private user tweets in browser. Any ideas as how to get private user tweets?

psnehal commented 3 years ago

ANy updates on private user ? I am also struggling with this?

ljvmiranda921 commented 3 years ago

Hi @psnehal I haven't taken a look at it yet. A quick search points to this: https://stackoverflow.com/questions/46909484/twitter-api-how-to-get-protected-tweets/46910675 . It seems that:

User timelines belonging to protected users may only be requested when the authenticated user either “owns” the timeline or is an approved follower of the owner.

More info from the docs