Are you seing responses like this? <Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId> > 889C9C8DC5E6F054</RequestId><HostId> > qP9kff/BDVhsRl2VGPrmanTcCxalXrdxcVwhlUNLUq5jpavHQQYmdHB4HFb2t02j</HostId> > </Error>
It means the account changed their avatar and your profile image URL is old. Abraham On Sun, Nov 22, 2009 at 22:12, Adam Green <[email protected]> wrote: > I'm building a Web app that caches tweets and user info from the > streaming API, and then displays all the tweets for a single user. At > times up to 30 or 40 tweets from the same user are displayed on a > page. I've been caching the profile image url I get back from the > streaming API, and then using this URL in an img tag sent to the > browser. So I am letting the user's browser pull it from the Twitter > server as needed. I don't see anything in the API docs that warns > against this, but sometimes I am getting an "access denied" XML back > instead of the proper image. Is this a bug, or should I be downloading > each user's avatar and serving it from my server instead? The image is > being requested by the user's browser, so whilelisting the server's IP > won't help. The access denied response is intermittent. Sometimes it > happens after 5 requests for the same image, sometimes 30 appear with > no problem. Sometimes a few appear, a few fail, and then the rest > work. So it doesn't seem like rate limiting. > -- Abraham Williams | Community Evangelist | http://web608.org Hacker | http://abrah.am | http://twitter.com/abraham Project | Awesome Lists | http://twitterli.st This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, WI, United States
