I am using Graph api to obtain friend list. Once I receive an id of friend using /me/friend, now I wish to obtain further information. Code I wrote for it is:
$fr = $app->facebook->api('/'.$uid);
echo $fr['id'];
Though it gives error. What am I doing wrong? Thank you.
What error does it give you? That might give us a clue as to what went wrong. most errors from graph are because you haven’t authenticated properly.