Posted by psi-borg on August 28, 2009 at 3:54am
Jump to:
| Project: | Drupal for Facebook |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
//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
#1
any 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()
#2
Please change fb_permission.module and submit a patch. I'd like to include that.