Testing whitelisted IP

0 views
Skip to first unread message

shiplu

unread,
Nov 25, 2009, 4:08:15 PM11/25/09
to twitter-deve...@googlegroups.com
If I send the following query to twitter from my whitelisted IP I get
X-RateLimit-Limi: 150. Shouldn't it be 20,000 ?

$ curl -i 'http://twitter.com/search.json?q=Intel'
HTTP/1.1 200 OK
Date: Wed, 25 Nov 2009 20:57:24 GMT
Server: hi
X-RateLimit-Limit: 150
X-Transaction: 1259182644-48393-13844
Status: 200 OK
ETag: "fcaf33d8c4c24d59d2f0fc1ec99e20f8"
Last-Modified: Wed, 25 Nov 2009 20:57:24 GMT
X-RateLimit-Remaining: 147
X-Runtime: 0.05157
Content-Type: application/json; charset=utf-8
Pragma: no-cache
Content-Length: 7594
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Expires: Tue, 31 Mar 1981 05:00:00 GMT
X-Revision: DEV
X-RateLimit-Reset: 1259182760
Set-Cookie: _twitter_sess=BAh7CDoRdHJhbnNfcHJvbXB0MDoHaWQiJWVlY2M5MWU5MzE3YjhjMTQwMTNm%250AZWE1MmYxMmU0NDViIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFz%250AaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--6fa4c4ce1ea2802dfeccc88ea41b96d299d59707;
domain=.twitter.com; path=/
Vary: Accept-Encoding
Connection: close

{"results":[
__truncated___

Does that mean its not yet activated as I got the approval mail already.



--
A K M Mokaddim
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)

Abraham Williams

unread,
Nov 27, 2009, 3:26:14 PM11/27/09
to twitter-deve...@googlegroups.com
The Search API's rate limit is separate from the REST API and is not affected by whitelisting.

Abraham
--
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

Shiplu

unread,
Nov 27, 2009, 3:32:05 PM11/27/09
to twitter-deve...@googlegroups.com
I know what are you talking about.

But see this,

$ curl -i -u whitelistedaccount:PASSWORD
Date: Fri, 27 Nov 2009 20:30:55 GMT
Server: hi
X-RateLimit-Limit: 20000
X-Transaction: 1259353855-57171-17627
Status: 200 OK
ETag: "23053bbf2bc88e86b55b1c89552ff254"
Last-Modified: Fri, 27 Nov 2009 20:30:55 GMT
X-RateLimit-Remaining: 19999
X-Runtime: 0.11207
Content-Type: application/json; charset=utf-8
Pragma: no-cache
Content-Length: 7396
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Expires: Tue, 31 Mar 1981 05:00:00 GMT
X-Revision: DEV
X-RateLimit-Reset: 1259357455
Set-Cookie: _twitter_sess=BAh7CjoTcGFzc3dvcmRfdG9rZW4iLWFiNDlkNmMzZWJkNzBlMWMzMDExMjJi%250AYjAwZGI0YmU5NDhlZjI2MjY6EXRyYW5zX3Byb21wdDA6CXVzZXJpBIdCWgI6%250AB2lkIiUxOTc1N2Q0MGM0YWFmZjVjMjZiZjVlNTk4N2I0ZTlhZCIKZmxhc2hJ%250AQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVz%250AZWR7AA%253D%253D--f9c9801cad717aa2fd4138a43b80cfb73ade35ef;
domain=.twitter.com; path=/
Vary: Accept-Encoding
Connection: close



--
A K M Mokaddim
Talks: http://talk.cmyweb.net
Follow: http://twitter.com/shiplu
SUST Programmers help desk. http://groups.google.com/group/p2psust
Reply all
Reply to author
Forward
0 new messages