Hi, I'm not a professional, so please be kind!

I'm trying to make a simple as2 flash twitter widget. I'm pulling the twitter user-timeline xml into flash via php and outputting the contents. It works inconsistently because of Twitter's rate-limiting policy.

Even though I am using sharedObject to determine whether or not the xml needs updating, or not (depending on the time of the visitor's last visit), I'm still exceeding the rate limit - as this is per ip, not per user.

So, what would be the best solution?

Is it possible for the php to write the xml to a file on my server? The the flash would then request the xml directly from my server, not from Twitter.

But how would I 'refresh' the xml to get my latest tweets? Even if just once a day?

Thanks for any input