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);