code: public function parseFb($raw_profile)
      {
          $profile = $raw_profile;
          $profile->avatar = sprintf('http://graph.facebook.com/%s/picture', $profile->id);
  
          return (array) $profile;
      }
docs: Parse a Facebook profile.
  
  @param object $raw_profile
  
  @return array