Hello Anne
We have fixed this problem for you and now it work fine. You can check it
in file administrator/components/com_jofacebookgallery/helpers/jofacebookhelper.php go to line 45->51 and changed functiton
public static function getAlbumInfo($access_token, $album_page_id){
if(!empty($access_token)){
$token_url = "
graph.facebook.com/".$album_page_id."/al...it=1000&expires_in=0";
$token_content = json_decode(JoFacebookHelper::file_get_contents_curl($token_url),true);
}
return @$token_content;
}
To
function getAlbumInfo($access_token, $album_page_id){
if(!empty($access_token)){
$token_url = "graph.facebook.com/".$album_page_id."/albums?access_token=".$access_token."&limit=1000&expires_in=0";
$token_content = json_decode(JoFacebookHelper::file_get_contents_curl($token_url),true);
$albums = array();
$albums = array_merge($albums, $token_content["data"]);
while(array_key_exists("next", $token_content["paging"])) {
$token_content = json_decode(JoFacebookHelper::file_get_contents_curl($token_content["paging"]["next"]),true);
$albums = array_merge($albums, $token_content["data"]);
}
}
$albums_data = array();
$albums_data["data"] = $albums;
return @$albums_data;
}
Best regards
Bach Pham