/2/users/by?usernames=twitter,twitterdev,twitterapi,twitternyc,twittersf&user.fields=created_at,description,entities,id,location,name,pinned_tweet_id,profile_image_url,protected,url,username,verified,withheld&expansions=pinned_tweet_id&tweet.fields=attachments,author_id,conversation_id,created_at,entities,geo,id,in_reply_to_user_id,lang,possibly_sensitive,referenced_tweets,source,text,withheld
This API request is not returning any tweets for the users returned. I am using it with a Bearer token
This endpoint returns user objects, you will need to use the timelines endpoint to get tweets GET /2/users/:id/tweets | Docs | Twitter Developer Platform
2 Likes
Pinned Tweets only fwiw, which are in the includes.tweets array response - there are 2 hydrated for your example request. Probably not what you’re after but the endpoint technically does return Tweets.
1 Like