function fb_access_token in Drupal for Facebook 7.4
The access token allows the Fb app to publish and read posts.
5 calls to fb_access_token()
- fb_fql in ./
fb.module - fb_graph in ./
fb.module - Read from facebook's graph.
- fb_graph_batch in ./
fb.module - Read from facebook's graph in batch mode. Allows a single request to facebook to return data from multiple graph nodes.
- fb_graph_delete in ./
fb.module - Delete from facebook's graph.
- fb_graph_post in ./
fb.module - Write to facebook's graph.
2 string references to 'fb_access_token'
File
- ./
fb.module, line 778
Code
function fb_access_token() {
static $token;
if (!isset($token)) {
// Prefer the user-specific token.
$token = fb_user_token();
if (!$token) {
$token = fb_get_admin_token();
}
}
return $token;
}