apitwittertwitpic

How can I hotlink/embed a Twitpic image?


So in this URL: http://twitpic.com/2paihn

The Twitpic ID is: 2paihn

And the actual image URL is: http://s3.amazonaws.com/twitpic/photos/large/163413275.jpg?AWSAccessKeyId=0ZRYP5X5F6FSMBCCSE82&Expires=1284740401&Signature=6lgT6ruyyUDDjLOB7d42XABoCLU%3D

I've tried getting the integer id through the api (i.e. 163413275) and replacing it in the s3.amazon.com url, but this seems to only work some of the time. Most of the time I get an 'access denied' message when I request the amazon-hosted image.

Do you know of another hack to do this?


Solution

  • Use http://twitpic.com/show/thumb/<imageid> to get a thumbnail version.