canvas extended permissions
psi-borg - August 28, 2009 - 03:54
| Project: | Drupal for Facebook |
| Version: | 6.x-2.x-dev |
| Component: | Canvas Pages |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
//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;
} 