You are here

function hook_simple_fb_connect_scope_info in Simple FB Connect 7.2

This hook allows other modules to add permissions to $scope array.

$scope[] = 'email' is added automatically by simple_fb_connect Please note that if your app requires some additional permissions, you may have to submit your Facebook App to Facebook Review process.

Read more about FB review process: https://developers.facebook.com/docs/apps/review/login

Parameters

$scope: The scope array listing the permissions requested by the app

Return value

The updated scope array

1 invocation of hook_simple_fb_connect_scope_info()
simple_fb_connect_get_scope in ./simple_fb_connect.module
Returns an array of Facebook permissions that will be requested from the user.

File

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

Code

function hook_simple_fb_connect_scope_info($scope) {

  // Implement this hook in your own module to add items to $scope array.
  return $scope;
}