0

different results (no results) with the same query (YQL)

Hi guys,

I have set up a web-based project to retrieve backlinks from different domains with YQL.
I use OAuth to avoid the request limit (I have a consumer key, consumer secret key and appliction id).

Sometimes I do a request where I get no data. The response object has no results (result = null) and no meta data ("totalResultsAvailable"). When I do the same request a few seconds later I get the correct data. That confuses me!

My Questions:
1. Why I get different results at the same query?
2. Is my authorisation incorrect? (I use no private data, the siteexplorer table is public)
3. What is my request limit? 10,000 or 100,000? I get different infos from yahoo:

http://developer.yahoo.com/yql/

* Per application limit (identified by your Access Key): 100,000 calls per day

* Per IP limits: /v1/public/*: 1,000 calls per hour; /v1/yql/*: 10,000 calls per hour


http://developer.yahoo.com/yql/faq/

If you use OAuth based authentication then you are limited to 100,000 calls/day/key


I hope someone can help me.

Sample code (PHP):

include_once("yosdk/lib/Yahoo.inc");

$apiKey = '....';
$secretKey = '....';
$query = 'select * from search.siteexplorer.inlinks where query="http://search.yahoo.com"';

$two_legged_app = new YahooApplication($apiKey, $secretKey);
$response = $two_legged_app->query($query);

by
3 Replies
    • Apr 25, 2012
    Hi Harald,

    I've found your questions via google and I'm experiencing exactly the same problem. Did you find a solution last year?

    Thanks a lot!
    0
  • same problem with google.search table
    0
  • Hi,

    Various community tables are written by external (3rd party) developers. Sometimes they use legit API endpoints and sometimes they use hidden API endpoints.

    For instance google.search YQL table is accessing http://ajax.googleapis.com/ajax/services/search/web?v=1.0&gl=en&userip=&hl=en&q=pizza&start=0&rsz=8 which is not an officially supported API endpoing of Google. Google has the right to shutdown that endpoint or limit it and that is exactly what they did.
    Sometimes it will work and other times it will not. Look into the various endpoints publicly created tables access.
    Thanks -Paul YQL Team
    0

Recent Posts

in YQL