Hi yama, Older profile images maybe available for a short period of time after they are changed. This is due to caching and you shouldn't assume they will be there permanently.
In answer to your other question, yes you should use the URL provided in the user object of the API responses. The second method is a rate limited API request and you should avoid using it as the URL for a profile image. Best, @themattharris <https://twitter.com/intent/follow?screen_name=themattharris> Developer Advocate, Twitter On Wed, Jun 22, 2011 at 5:24 AM, yama <[email protected]> wrote: > Hi guys, > I'm planning to store a Profile Picture URL to DB from json by search > API. > When a user change picture, it seems we can still access it for a > while. > But is it permanent or just short term? > > I found there are 2 ways to get profile pics. > "http://a3.twimg.com/profile_images/1407755095/cat_normal.jpg" > and > "http://api.twitter.com/1/users/profile_image/watermusica.xml". > Shouldn't I user the former way? > > Thank you, > yama > > -- > Twitter developer documentation and resources: https://dev.twitter.com/doc > API updates via Twitter: https://twitter.com/twitterapi > Issues/Enhancements Tracker: > https://code.google.com/p/twitter-api/issues/list > Change your membership to this group: > https://groups.google.com/forum/#!forum/twitter-development-talk > -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
