You are here

function fb_user_token_list in Drupal for Facebook 6.2

Same name and namespace in other branches
  1. 5.2 fb_user.module \fb_user_token_list()
  2. 5 fb_user.module \fb_user_token_list()
  3. 6.3 fb_user.module \fb_user_token_list()
  4. 7.3 fb_user.module \fb_user_token_list()

File

./fb_user.module, line 844
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;
}