Welcome, Guest
Username: Password: Remember me

TOPIC: Module Facebook Gallery Limited Albums

Module Facebook Gallery Limited Albums 8 years 9 months ago #2312

I have a problem with the albums of Facebook Gallery only appear 50 when in my facebook have more albums created.

Can you help me, plase?... you have now my ftp access and user y pass joomla admin.

Thanks for all.
Attachments:
The administrator has disabled public write access.

Module Facebook Gallery Limited Albums 8 years 9 months ago #2315

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hello
You can see solution for this in joomcore.com/forum/jo-facebook-gallery/3...e-facebook-page#1641 or can you send me joomla administrator via contact form? So we can check and help you
Best regards
Bach Pham
The administrator has disabled public write access.

Module Facebook Gallery Limited Albums 8 years 9 months ago #2336

Thanks very good.

This code need in line 3 https://
____________
$token_url = "graph.facebook.com/".$album_page_id."/al...it=1000&expires_in=0";
____________

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;
}
The administrator has disabled public write access.
The following user(s) said Thank You: Super User

Module Facebook Gallery Limited Albums 8 years 9 months ago #2337

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
B) B)
The administrator has disabled public write access.
Time to create page: 0.048 seconds