Problem with catching data from Twitter by Twitter Search API

45 views
Skip to first unread message

Jimmy

unread,
Apr 18, 2011, 10:04:16 AM4/18/11
to Google App Engine
I used to catch data from Twitter by the Twitter Search API. But it's
seems like be prohibited since 1st Apr.
Twitter official document says that "An application must have a static
IP to be eligible for whitelisting. This means the majority of cloud
platforms, including Google App Engine, cannot be whitelisted."
I want to know is there any way to solve this problem.

Thank you very much.

-Jimmy Lin

Barry Hunter

unread,
Apr 18, 2011, 10:27:18 AM4/18/11
to google-a...@googlegroups.com
Get yourself a static IP address.

Easiest way it probably to use a cheap VM somewhere to act as a proxy.

> --
> You received this message because you are subscribed to the Google Groups "Google App Engine" group.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
>
>

Jimmy

unread,
Apr 19, 2011, 3:38:37 AM4/19/11
to Google App Engine
Hi, if I don't have the static IP address, is there any method to
solve this problem ?

thank you

On 4月18日, 下午10時27分, Barry Hunter <barrybhun...@gmail.com> wrote:
> Get yourself a static IP address.
>
> Easiest way it probably to use a cheap VM somewhere to act as a proxy.
>

Brandon Wirtz

unread,
Apr 19, 2011, 4:16:57 AM4/19/11
to google-a...@googlegroups.com
No. Proxy is your only solution.

Tim

unread,
Apr 19, 2011, 6:33:06 AM4/19/11
to google-a...@googlegroups.com

Twitter are moving away from whitelisting (I think they're no longer accepting any new whitelisting requests)  - they want you to use OAuth to authenticate your calls (in which case you're allowed 350 API calls per hour per user id from a single IP), and if you need more than that then there's the streaming API, so you probably want to look at one of the OAuth on GAE solutions such as


Twitter API docs have more details about the end of whitelisting etc

Jimmy

unread,
Apr 19, 2011, 11:14:24 AM4/19/11
to Google App Engine
I don't know if I could get the search twitter result from OAuth ? The
only thing I need is the search result.
I used to use the method which is https://dev.twitter.com/doc/get/search
to get the result.

OR is there any other way to get the search result from Twitter ?

Jimmy

unread,
Apr 19, 2011, 11:15:08 AM4/19/11
to Google App Engine
Can I build a proxy between GAE and Twitter ?

Barry Hunter

unread,
Apr 19, 2011, 11:25:22 AM4/19/11
to google-a...@googlegroups.com
It's certainly possible. Whether YOU are able is not really for us to say.

Jimmy

unread,
Apr 19, 2011, 11:49:34 AM4/19/11
to Google App Engine
Thanks for your reply.

On 4月19日, 下午11時25分, Barry Hunter <barrybhun...@gmail.com> wrote:
> It's certainly possible. Whether YOU are able is not really for us to say.
>

Tim

unread,
Apr 19, 2011, 12:18:00 PM4/19/11
to google-a...@googlegroups.com

Sorry, I missed the bit where you (clearly) said the Search API rather than the REST API.

You probably do need a proxy, and then you can probably get away without a whitelist (quote

   The Search Rate Limit isn't made public to discourage unnecessary search usage
   and abuse, but it is higher than the REST Rate Limit. We feel the Search Rate
   Limit is both liberal and sufficient for most applications and know that many
   application vendors have found it suitable for their needs.

) but you may also want to consider the Streaming API (quote

  The Search API is best suited for user-initiated ad-hoc queries. If your application
   requires repeated Search API polling, you might want to consider the Streaming API instead.

) as whitelisting for the search API is taken to be an exception rather than a norm....

Jimmy

unread,
May 17, 2011, 10:14:53 PM5/17/11
to google-a...@googlegroups.com
It's so funny that my application work now. 
I don't know if Google change the framework or something. But that's a good news to me.

Thank you for your replies.
Reply all
Reply to author
Forward
0 new messages