//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

jaypark’s picture

Component: Canvas Pages » Code

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()

Dave Cohen’s picture

Please change fb_permission.module and submit a patch. I'd like to include that.