Maybe I will need to create a cache of the response locally at each user's computer. But how do I do that :| The twitter api only allows 70 api calls per hour :|
hwked wrote: > I am using the makeCachedRequest ( > http://code.google.com/p/opensocial-resources/wiki/GadgetsMakeRequest > ) > > And I am setting the refreshinterval= 216000, so that the request is > made every 1 hour. > > However my request depends upon the username supplied to the gadget, > which would be different for each instance of the gadget. The request > URI changes if the username is changed. > the request URI is of the form: > > "http://twitter.com/statuses/user_timeline/"+username+".json"; > > What I want is that for each username, the response is cached. So > that, the next time the supplied URI is of the same username, the > cache is used. I don't think makeCachedRequest is doing that/ does > that. > > Can you suggest me a way I can implement this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---