I followed this guide:

I’m using https://api.twitter.com/2/tweets?ids=X and OAuth 1.1.

If i query the url of the example it returns me includes.users with all users, and includes.tweets with all replies to threads.

But if i insert my tweet id the api not returns includes.tweets.

This is the url from the tutorial that works: https://api.twitter.com/2/tweets/search/recent?query=conversation_id:1279940000004973111&tweet.fields=in_reply_to_user_id,author_id,created_at,conversation_id

This is mine that doesn’t returns tweets: https://api.twitter.com/2/tweets/search/recent?query=conversation_id:1586093844403208192&tweet.fields=in_reply_to_user_id,author_id,created_at,conversation_id

Strange things, if i use the other endpoint it return me “Unautorized”:
https://api.twitter.com/2/tweets?ids=1225917697675886593&tweet.fields=author_id,conversation_id,created_at,in_reply_to_user_id,referenced_tweets&expansions=author_id,in_reply_to_user_id,referenced_tweets.id&user.fields=name,username

Up

The /2/tweets?ids= calls return one or more single tweets, and any tweets that are directly attached - like the tweet being replied to, and or quoted, not the entire conversation thread. The conversation_id tweet field is to identify the thread only.

The search endpoint can only return tweets from the last 7 days, so older tweets may not work.

Not sure why you’re seeing authorized error for the other call, but again, that one is returning a single tweet, not the conversation.