Retrieve Blog links from Twitter data

restapi
java

#1

Hi,
Is that possible to retrieve blog links from twitter data. I have huge collection of tweets and I want to know which user shared or linked Blog with their posts.
Help please!!


#2

You’ll need to figure out a way to tell Blog links from other URLs your self, but have a look at each expanded_url in each tweet you have https://dev.twitter.com/overview/api/entities-in-twitter-objects#urls sometimes expanded_url will be a bit.ly link or other url shortener - so you’ll need to “unshorten” those too - either by visiting the URL and following redirects, or some other API that gives you back the unshortened url given a short link.


#3

Thank you so much!!!