i've tried using both javascript , php sdks, can't solve simple problem. my fql looks like: select count comments_info xid="..." when attempt request through php, following error: uncaught exception: 604: no valid app_id php: $facebook = new facebook(array( 'appid' => '...', 'secret' => '...', 'cookie' => true )); $result = $facebook->api(array( 'method' => 'fql.query', 'query' => 'select count comments_info xid="'.[...].'"' )); the appid , secret copied application page in facebook developer app. similarly, when use js api, in: var query = fb.data.query('select count comments_info xid="' + [...] + '"'); query.wait(function(rows){}); ... same error in jsonp response: fb.apiserver._callbacks.f2ba554518({"error_code":"604","error_msg":"no valid app_id"...
Comments
Post a Comment