Twitter Search API has a rate limiting of 70 api calls per hour by IP address.
Whenever I make a request using "makeRequest", is it made from the same IP address always? Is there any way maybe I can use a proxy everytime to distinguish the IP? Someone suggested something like "Tor" Or maybe I could reduce the caching time from 1 hour to 10mins or so using your suggested method. I want that the user's are able to get the latest tweets. What do you suggest I should do? Btw, is there any way I can delete the resource cache manually from the server? So that maybe i could provide the user with a link "Update Tweets" that clears the cache and then requests the resource again. On Nov 6, 6:51 am, Jason <[EMAIL PROTECTED]> wrote: > According to the spec, you can pass in a REFRESH_INTERVAL parameter to > control the caching. By default, orkut will cache the resource for the > duration given in the Expires and/or Cache-Control response headers, > defaulting to one hour if no caching headers are set. Even though the > REFRESH_INTERVAL parameter lives under the > gadgets.io.ProxyUrlRequestParameters heading, it should work for > makeRequest as well. > > http://code.google.com/apis/opensocial/docs/0.8/spec.html#cachinghttp://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#ga... > > Since makeCachedRequest only works for the local gadget instance, I > would only use it if you want to bust caching entirely. If you want to > control caching, REFRESH_INTERVAL is a much better bet. But since you > asked, I believe makeCachedRequest uses milliseconds. > > - Jason > > On Nov 4, 9:31 am, hwked <[EMAIL PROTECTED]> wrote: > > > Yay, my app is live. Twitkut,http://bit.ly/twitkut > > > But I am experiencing some caching issues. By default, if I make a > > call to makeRequest, how long does Orkut maintain a copy of the cached > > version on its servers? > > > And if I do want to use makeCachedRequest, the refreshInterval is > > specified in "seconds" or "minutes" ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---