[twitter-dev] Hotlinking images

2010-10-05 Thread Christian Fazzini
Creating a new Twitter app.

I am thinking whether I should save the users images (profile and
background) on the local server or hotlink it instead?

Whats the e-etiquette for this?

Does Twitter encourage us to hotlink images?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Hotlinking images

2010-10-05 Thread Thomas Mango
I believe it's okay to directly use the URLs given in responses (like 
the user's profile image url), but you'll quickly run into issues where 
those URLs will stop working when someone changes their profile image.


I suggest keeping a copy of the image cached yourself and updating it 
every so often to avoid issues like this. However, a better alternative 
may be to use @joestump's http://tweetimag.es service.


Christian Fazzini wrote:

Creating a new Twitter app.

I am thinking whether I should save the users images (profile and
background) on the local server or hotlink it instead?

Whats the e-etiquette for this?

Does Twitter encourage us to hotlink images?




--
Thomas Mango
tsma...@gmail.com


--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk