Could you tell me the most reasonable way to check if one user can see another user’s tweets?

To check this, my application uses GET statuses/user_timeline or GET friendships/lookup. I try to keep the TTL of caches as short as possible to immediately reflect whether an account is private or not, but both endpoints quickly reach the API limit.

I’d like to know if there is any way to accomplish this goal other than using these APIs.

Memo:
The limit of GET statuses/user_timeline: 100000 Requests / app.
The limit of GET friendships/lookup: 15 Requests / user.

Using the target user’s access token, you can request 100 users at a time with GET users/lookup | Docs | Twitter Developer Platform if the target user can’t see the ones requested, they will not be returned

1 Like

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