Reading media URL from tweets



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


Can you provide example Tweet IDs that demonstrate this issue?


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


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.


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:)