I am using a plugin that imports users details from facebook to buddypress and uses facebook profile pic as their avatar.
I want to get the URL to the avatar but my code isn't working.
If I do this code then it displayes the facebook profile pic:
bp_displayed_user_avatar( 'type=full' );
However, if I do this code to get the link:
$avatarArgs = array(
'type' => 'full',
'html' => false
Then it gives me a link to the default gravatar silhouette. If I manually upload a photo then the above code will give me the link to the photo.
Any ideas why this is?