You are here

function hook_simple_fb_scope_info in Simple FB Connect 7

Allows to change the permissions requested by the module

Parameters

$scope: The scope array listing various permissions requested by the module.

Return value

The updated scope array

1 invocation of hook_simple_fb_scope_info()
simple_fb_connect_login in ./simple_fb_connect.module
Page callback for the FB Connect URL.

File

./simple_fb_connect.api.php, line 41
Hooks provided by the Simple FB Connect module.

Code

function hook_simple_fb_scope_info($scope) {

  //Modify the scope array

  //by default the module requests only "email"

  //Simple_FB_Publish module adds "publish_stream" to the scope

  //You can add more here
  return $scope;
}