3 ms·
I am trying to access twitter via RSS feeds to display them on the home page of my site. I have tried using ASP, but I get errors, it seems the amount of times
by winternett 16y ago
I am trying to access twitter via RSS feeds to display them on the home page of my site. I have tried using ASP, but I get errors, it seems the amount of times I can update that feed are limited. When I use Google's JQuery, I don't seem to have the same problem. Is it a limitation of using ASP (classic not .NET) to pull Twitter feeds? Or is there a server limit to the amount of times their RSS URL can be polled?
- netaddict 16y agoTwitter API has rate limits. I think it is 360 req/hour per IP if you are not white-listed. So if you poll using server-side code you are likely to hit the rate-limit. You can cache results to avoid this.
- abraham 16y agoRSS feeds are subject to the REST API rate limit [1] of 150 requests/hour unauthenticated and 350 requests/hour for user authenticated calls. The reason you don't run into the issue with jQuery is because the rate hit counts against the visitors IP rather then your servers. Two easy ways to help alleviate the issue 1) make a bot account force authentication [2] for all calls 2) proxy your request through apigee.com which has a whitelisted IP with more requests/hour. [1] http://dev.twitter.com/pages/rate-limiting#rest http://dev.twitter.com/pages/rate-limiting#rest [2] http://dev.twitter.com/pages/oauth_single_token http://dev.twitter.com/pages/oauth_single_token
- winternett 16y agoThanks folks, much appreciated! :)