seth
seth

Reputation: 145

Twitter API how to get protected tweets?

I searched a lot but still can't understand is it possible to get user's protected tweets after user/application authentication/authorization or not? If it's possible then maybe someone can point me in Twitter API doc where it's described, please?

Upvotes: 5

Views: 7043

Answers (1)

Jonas
Jonas

Reputation: 4048

Protected tweets are any tweets in a protected user's timeline.

The doc you are looking for is here: https://developer.twitter.com/en/docs/twitter-api/v1/tweets/timelines/api-reference/get-statuses-user_timeline

Here is the relevant part: "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."

Upvotes: 4

Related Questions