Facebook Graph will not let me access any photo albums from a public group -


i having bit of trouble grabbing photos public album group 'wirralgsb' - set website in october , fine until couple of days ago. think issue lies in not have access key. made access key through app made these valid 30 minutes or , expired , website no longer displays images. website is: http://wirralgrammarboys.com/news/109 page --should-- contain facebook album doesn't. there way of me generating access key not expire? should know not administrator of group, 'normal' member, although can instruct admin make changes if necessary.

the code i'm using in function is:

var graph = "https://graph.facebook.com/<?php echo $row[albumid]; ?>"
+ "/photos?limit=20" + "&access_token=caacntb50s2ibaizmywdnsnfsvapbkugqkm1tgx6knzlidvqr2blukurdzbmqazbmllwkhzc8ke9qcet4umvq5zawdlasf36d1jzaabbyata0ze6hii5jfkxjlxlt1sl0zcdzcydlzcfmdizctzaeq59gxopnvsiqdkgxezd";

until other day did not have 'access_token' variable, ended @ limit line , worked fine without issues.

thanks in anticipation, has been bugging me days!

cobain.

you can use extended page access token not expire.

apps can retrieve page access token page admin users when authenticate manage_pages permission. if user access token used retrieve page access token short-lived, page access token short-lived.

to longer-lived page access token, exchange user access token long-lived one, above, , request page token. resulting page access token not have expiry time.

https://developers.facebook.com/docs/facebook-login/access-tokens/


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -