Active
Project:
Drupal for Facebook
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2009 at 03:54 UTC
Updated:
5 Apr 2010 at 02:07 UTC
//dave, maybe this needs a home in fb_permissions.module? interesting to note that hasAppPermission only takes 1 ext perm arg, while showPermissionDialog can take a csv list of them all.
if (!$fb->api_client->Users_hasAppPermission('status_update')){
echo <<<EOFBJS
<script>Facebook.showPermissionDialog('status_update')</script>
EOFBJS;
}
Comments
Comment #1
jaypark commentedany plans to extend fb_permission_fb() to support canvas pages extended permissions?
if not or you don't recommend an alternative, i'll implement canvas page extended permissions through hook_init()
Comment #2
Dave Cohen commentedPlease change fb_permission.module and submit a patch. I'd like to include that.