Related Tweets has mediaKey but response data(media) has no part of medias.
is this bug or specification?
This problem is related to all tweets endpoint
{
"data": {
// Tweet Data
},
"includes": {
"tweet": {}
"poll": {},
"users": {},
"media": {
// This media has "data(Tweet).attachments.mediaKeys"
// But This media has no part of media that "includes>tweet.attachments.mediaKeys"
},
}
"meta": {}
}
I think this is by design - includes.media only contains media for tweets inside data never for anything inside includes.tweets, so to get that you need to look up those tweets by ID separately, because the API does not dig in multiple levels deep into tweets and includes.
1 Like
I think that includes.poll has all Data. But icludes.media has a part of all Data
1 Like