Skip to content

Commit

Permalink
Merge pull request #965 from thedotedge/instagram-profile-url
Browse files Browse the repository at this point in the history
return profileURL in Instagram adapter
  • Loading branch information
ApacheEx committed May 10, 2018
2 parents 0fa0416 + 1f1f02e commit 0470d91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Provider/Instagram.php
Expand Up @@ -78,7 +78,8 @@ public function getUserProfile()
$userProfile->webSiteURL = $data->get('website');
$userProfile->displayName = $data->get('full_name');
$userProfile->displayName = $userProfile->displayName ?: $data->get('username');

$userProfile->profileURL = "https://instagram.com/{$data->get('username')}";

$userProfile->data = (array) $data->get('counts');

return $userProfile;
Expand Down

0 comments on commit 0470d91

Please sign in to comment.