Hi guys, i was starting with the API and i was trying to get a whole thread from someone but the thing is I get everything except the first tweet of the thread?
So here is the thread…

And this is what the API gives me:

I tried everything, i dont know if im missing something…

I created a new Thread but things not working out, i cant get the first tweet of the thread so i dont know if this is also happening to you guys also and how u fixed it

Any update on this, I am also facing same issue while trying to get the thread from conversation

If you specify referenced tweets expansion, Expansions | Docs | Twitter Developer Platform you can find the original root tweet inside includes.tweets part instead of in data.

1 Like

First of all thanks for your quick reply even on Sunday. Appreciate your efforts :slight_smile: .

My expectation is when I am trying to get the thread completely ( including the conversation_id tweet), I am not getting it. For example, in this thread

vksvksvks123/status/1528434663945125890

I want to get the first tweet (1/3) also in my response. But response excluding conversation id tweet , may I know how to include it .

api.twitter[dot]com/2/tweets/search/recent?query=conversation_id:1528434663945125890 from:vksvksvks123&tweet.fields=in_reply_to_user_id,author_id,created_at,conversation_id

Regarding your expansion object what I have tried and noticed is,

I am using the filterstream API service to create a bot to do some activities whenever bot is mentioned in the thread. But referenced tweet expansion gives the tweet reference of the mentioned tweet not the thread’s first tweet.

If you add the expansions to this query you’ll get it.

If you’re not searching and only getting stuff from the stream, maybe it’s easier to get the original with a separate lookup, using GET /2/tweets/:id | Docs | Twitter Developer Platform

Will that work?

1 Like

Awesome, After I included expansions I can able to get the original tweet as well.

Yes, you are right for my use case original tweet look up will work.

1 Like