Twitter short url


#1

How can i filter an image out of a short url that twitter makes(t.co)?
Anyone has some suggestions?


#2

This assumes that before t.co links your app was able to convert an image url (eg http://lockerz.com/s/144635372) to a thumbnail (http://api.plixi.com/api/tpapi.svc/imagefromurl?url=http://lockerz.com/s/144635372&size=small).

If you ensure that &include_entities=t is sent with the request you will get the expanded_url returned in the entities, you can then loop through these and generate the thumbnails as before.


#3