my problem is when I try to get the pic_square and pic_big from the user connected to my application and I get an empty array. This is the code:
$facebook = new Facebook(array(
'appId' => FBAPPID,
'secret' => FBSECRETNUMBER,
'cookie' => true,));
$user_info = $facebook->api(array(
'method' => 'fql.query',
'query' => "SELECT pic_square, pic_big FROM user WHERE uid = me()",
'callback' => ''
));
During the login process I run the same code and it works, but later when I try to implement a function to synch the user picture with FB pic I get no error and no data. Any idea what is the problem?
Thanks a lot.