I want to display users' profile data from Hybridauth, so I used "Token Filter" to get the token codes (something like [hybridauth:firstName] ), then I put token_replace in 'user-profile.tpl.php':
print token_replace('[hybridauth:provider]', array('hybridauth', $hybridauth));
But Drupal give me an error message:
Notice: Undefined variable: hybridauth in include() (line 41 of /var/www/html/sites/all/themes/mytheme/templates/user-profile.tpl.php).
Anyone have any idea about this?