You are here

protected function SocialFacebookFormatter::getUserPhoto in Open Social 7

Returns photo of user.

1 call to SocialFacebookFormatter::getUserPhoto()
SocialFacebookFormatter::renderComments in includes/social_comments.facebook.inc
Parse facebook comments response.

File

includes/social_comments.facebook.inc, line 217
Facebook class

Class

SocialFacebookFormatter
@file Facebook class

Code

protected function getUserPhoto($userid) {
  $response_url = 'http://graph.facebook.com/' . $userid . '/picture';
  return $response_url;
}