function fbconnect_get_config in Facebook Connect 5
Same name and namespace in other branches
- 8.2 fbconnect.module \fbconnect_get_config()
- 6.2 fbconnect.module \fbconnect_get_config()
- 6 fbconnect.module \fbconnect_get_config()
- 7.2 fbconnect.module \fbconnect_get_config()
Get fbconnect config parameter
Return value
array
2 calls to fbconnect_get_config()
- facebook_client in ./
fbconnect.module - Get the facebook client object for easy access.
- _fbconnect_render_js in ./
fbconnect.module - This function manage all javascripts used by this module.
File
- ./
fbconnect.module, line 932 - This module allows site visitors to connect and register with facebook account
Code
function fbconnect_get_config() {
$config = array();
$config['api_key'] = variable_get('fbconnect_api_key', NULL);
$config['secret_api_key'] = variable_get('fbconnect_secret_api_key', NULL);
if ($config['api_key'] && $config['secret_api_key']) {
return $config;
}
}