php - Unable to get all my images in web application via fql.query -



php - Unable to get all my images in web application via fql.query -

i had api gives me images in galleries. now, when i'm using outside of facebook applications, , web application, getting empty array.

$user = $facebook->getuser(); echo "$user<br>"; // gives me uid $user_albums_photos = $facebook->api(array( 'method' => 'fql.query', 'query' => 'select src,src_big photo aid in (select aid album owner=me())' )); print_r($user_albums_photos); // gives me empty array, when it's web application. $r_c = count($user_albums_photos); echo "<br>$r_c<br>";

the query looks fine , able run no problem when provide user access token. lint access token @ https://developers.facebook.com/tools/lint , see if has appropriate permissions (https://developers.facebook.com/docs/reference/api/permissions/).

php facebook-graph-api

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -