0

Debugging using PHP Yahoo SDK

Hi All,

Im currently using the Content Analysis API with the PHP Yahoo SDK and Im getting back a lot of empty responses that return good results when testing the same text via the online console.

Does anyone know how to enable network level debugging when using the SDK?

Below is my output:

User-Agent: yos-social-php (1.0.0) / PHP (5.3.22-1~dotdeb.0) Host: query.yahooapis.com Accept: / Accept-Encoding: deflate, gzip

', 'response_body' => '{"query":{"count":0,"created":"2013-06-25T17:53:18Z","lang":"en-US","results":null}}', 'response_header' => 'HTTP/1.1 200 OK X-YQL-Host: engine4.yql.bf1.yahoo.com Access-Control-Allow-Origin: * Cache-Control: public, max-age=0 Content-Type: application/json;charset=utf-8 Content-Encoding: gzip Vary: Accept-Encoding Date: Tue, 25 Jun 2013 17:53:18 GMT Server: YTS/1.20.13 Age: 0 Transfer-Encoding: chunked Connection: keep-alive', 'response_code' => '200', 'response_headers' => array ( 'X-YQL-Host' => 'engine4.yql.bf1.yahoo.com', 'Access-Control-Allow-Origin' => '*', 'Cache-Control' => 'public, max-age=0', 'Content-Type' => 'application/json;charset=utf-8', 'Content-Encoding' => 'gzip', 'Vary' => 'Accept-Encoding', 'Date' => 'Tue, 25 Jun 2013 17:53:18 GMT', 'Server' => 'YTS/1.20.13', 'Age' => '0', 'Transfer-Encoding' => 'chunked', 'Connection' => 'keep-alive', ), ) stdClass Object ( [query] => stdClass Object ( [count] => 0 [created] => 2013-06-25T17:53:18Z [lang] => en-US [results] => )

)

Any suggestions on this would be greatly appreciated!!!

Sam

by
1 Reply
  • This is working ok now so i guess it was some sort of outage.

    0

Recent Posts

in Content Analysis API