I am trying to create a Facebook application that uploads images to a page. I can manage to upload photos to the user\'s photo album but not to the page\'s.
Here\'s my c
When you do:
$facebook->api('/XXXXXXXXXX/photos', 'POST', array(
... is XXXXXXXXXX your appId or the albumId? You must do the call to your album ID.
Also make sure you are using the correct $access_token. To make sure look at:
https://graph.facebook.com/yourPageID?fields=access_token&access_token=YourPersonalAccessToken
where yourPersonalAccessToken is:
A Page admin
access_token
for this page; The current user must be an administrator of this page; only returned if specifically requested via thefields
URL parameter.
Your must grant to graph api manage_pages
permissions.