I'm trying to implement a feature in a .Net WPF application to automatically display photos from twitpic when users post them to my hashtag.
I'm using the Twitterizer2 API library, all the tweets coming from my search have their links as t.co links (I think this is from Twitter). I don't know how to parse these links to get the images to send them to the users.
You can rely on the media entities data that is returned by Twitter.
You can see a sample and explaination that I posted a while back here: http://www.twitterizer.net/528/finding-urls-hashtags-and-mentions-using-entities/
The sample doesn't include it, but there is a newer TwitterMediaEntity
class that gives information on images and videos.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With