function fb_user_token_list in Drupal for Facebook 6.3
Same name and namespace in other branches
- 5.2 fb_user.module \fb_user_token_list()
- 5 fb_user.module \fb_user_token_list()
- 6.2 fb_user.module \fb_user_token_list()
- 7.3 fb_user.module \fb_user_token_list()
File
- ./
fb_user.module, line 1031 - This module manages relations between local Drupal user accounts and their accounts on facebook.com.
Code
function fb_user_token_list($type = 'all') {
if ($type == 'all' || $type == 'fb' || $type == 'fb_app') {
$tokens['fb_app']['fb-app-user-fbu'] = t('Current user\'s Facebook ID');
$tokens['fb_app']['fb-app-user-name'] = t('Current user\'s name on Facebook (TODO)');
$tokens['fb_app']['fb-app-user-name-fbml'] = t('Current user\'s name for display on Facebook profile and canvas pages.');
$tokens['fb_app']['fb-app-profile-url'] = t('Current user\'s Facebook profile URL');
return $tokens;
}
}