facebook - FQL query returning empty array -
fql query returning empty.
i run following fql in https://developers.facebook.com/tools/explorer:
select uid, name, username, birthday_date, current_location, online_presence user relationship_status ='single' , uid in (select uid2 friend uid1 = me()) limit 30 offset 0
she returns friends single.
however, when run php, nothing returned:
$fql = "select uid, name, username, birthday_date, current_location, online_presence user relationship_status ='single' , uid in (select uid2 friend uid1 = me()) limit 30 offset 0"; $solteiros = $facebook->api(array( 'method' => 'fql.query', 'access_token' => $useraccesstoken, 'query' => $fql, ));
until yesterday working fine. today when test, happened.
if runs in explorer , not in php app, seeing difference in access token clearance. is, access token supplied explorer has permissions needed while token used app not.
verify calling /me/permissions
on php application see there.
your site gives invalid api key error
Comments
Post a Comment