Reputation: 106
I'm create a Facebook canvas application that will be require extended permissions, for both images (creating galleries, and uploading images) and posting to a users news feed. I'm having trouble with extended permissions. What is the correct way to do this through Javascript or PHP?
Upvotes: 0
Views: 901
Reputation: 8269
$session = $facebook->getSession();
$loginUrl = $facebook->getLoginUrl(
array(
'canvas' => 1,
'fbconnect' => 0,
'req_perms' => 'email,publish_stream,status_update,user_birthday,user_location,user_work_history'
)
);
Change req_perms into what you actually need
Source: http://thinkdiff.net/?p=1767
Upvotes: 2