I am new to twitter4j. How i can get media related info using twitter4j library? I want to get info about photos,videos and article summary present in tweet.Thanks in advance.Is
Try hitting this request:
https://api.twitter.com/1/statuses/user_timeline.json?screen_name=twitter&include_entities=true
Then, look for any media_url elements; those will contain the URL to any photos. It may contain video links, so you'll have to filter for common image types (.png/.jpg/.gif/etc).
Check this as well: https://dev.twitter.com/docs/tweet-entities