Reading media URL from tweets

player
cards

#1

Hi , I am using ‘statuses/home_timeline’ rest api to get the tweets and am able to read the media detail from extended entities / entities in case of extended text . But when the tweet is having a twitter card am not able to find any object having media url…Need guidance on this…

Thanks in advance


#2

Can you provide example Tweet IDs that demonstrate this issue?


#3

Hi.
Thanks for the reply.
ID : 781384915065516033
this tweet has you tube video linked through twitter:player card.


#4

OK - why would you expect this Tweet to contain media entities? As you say, the video is hosted on YouTube, so there is no Twitter media entity to point to.


#5

Yeah that was hosted from You Tube through twitter cards. Now understood the concepts . Thank You for the immediate response. Got stuck with other works and hence the delay:)


#6