function facebook_wall_access_token in Facebook Wall 7
The access token to use.
Return value
string The access token to use.
7 calls to facebook_wall_access_token()
- facebook_wall_build_feed_url in ./
facebook_wall.module - Generate a Graph API URL string for a page's feed.
- facebook_wall_build_likes_url in ./
facebook_wall.module - Build the URL to obtain the number of links for the system page.
- facebook_wall_build_picture_url in ./
facebook_wall.module - Build the URL to obtain the picture for the requested user.
- facebook_wall_display_posts in ./
facebook_wall.pages.inc - Facebook wall post content fetcher.
- _facebook_wall_access_token_permission_info_array in ./
facebook_wall.admin.inc - List permissions on access token of user.
5 string references to 'facebook_wall_access_token'
- FacebookWallAdminTestCase::testSettings in tests/
FacebookWallAdminTestCase.test - Check the main admin form.
- facebook_wall_settings_form in ./
facebook_wall.admin.inc - Admin configure form for Facebook login & token access.
- facebook_wall_settings_form_validate in ./
facebook_wall.admin.inc - FormAPI validation callback for facebook_wall_settings_form().
- _facebook_wall_get_access_token in ./
facebook_wall.admin.inc - Extending the User Access Token From 1 Hour to 2 Months.
- _facebook_wall_reset_token in ./
facebook_wall.admin.inc - Function for reset facebook Access tokens.
File
- ./
facebook_wall.module, line 112 - Get the current facebook wall posts of the given user or page.
Code
function facebook_wall_access_token() {
$token = variable_get('facebook_wall_access_token');
// If there's no token defined yet, use a temp token.
if (empty($token)) {
$token = variable_get('facebook_wall_access_token_temp');
}
return $token;
}