Facebook API pending requests -


i know have been asked several times, , have read several posts in here, somehow doesn't work me. when gave myself permissions , not 'read_requests'.

i have been trying fql

try {   $me = $facebook->api('/me');    $currentpage=1;   $currentpost=1;   $currentdate="";    $list="";   $arrdate=array();    $fql    =   "select uid_from friend_request uid_to = me()";   $param  =   array(    'method'    => 'fql.query',    'query'     => $fql,    'callback'  => ''   );   $fqlresult     =   $facebook->api($param);    var_dump($fqlresult);    foreach($fqlresult $row){     var_dump($row);   }  } catch (facebookapiexception $e) {   echo 'error: <pre>';   var_dump($e); } 

and in graph explorer following line

my_id?fields=friendrequests.fields(created_time),name 

but graph explorer says don't have permission, when gave myself full permission. can doing wrong?


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -