开发者

returning null array in getting photos albums

开发者 https://www.devze.com 2022-12-30 12:05 出处:网络
<?php $user_id = $facebook->require_login($required_permissions = \'email,photo_upload\'); $has_permission = $facebook->api_client->users_hasAppPermission(\"photo_upload\");
<?php
$user_id = $facebook->require_login($required_permissions = 'email,photo_upload');
$has_permission = $facebook->api_client->users_hasAppPermission("photo_upload");
$albums=$facebook->ap开发者_C百科i_client->photos_getAlbums($user_id, NULL);
var_dump($albums);
?>

I am getting null when run this code


Could you be more specific?

try to pass varialbe as a second argument

0

精彩评论

暂无评论...
验证码 换一张
取 消