Browse Source

fix for #26

pull/39/head
Aaron Parecki 8 years ago
parent
commit
345bed6075
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/Formats/Instagram.php

+ 1
- 1
lib/Formats/Instagram.php View File

@ -129,7 +129,7 @@ class Instagram {
if(isset($profile['external_url']) && $profile['external_url']) if(isset($profile['external_url']) && $profile['external_url'])
$author['url'] = $profile['external_url']; $author['url'] = $profile['external_url'];
else else
$author['url'] = 'https://www.instagram.com/' . $username;
$author['url'] = 'https://www.instagram.com/' . $profile['username'];
if(isset($profile['profile_pic_url_hd'])) if(isset($profile['profile_pic_url_hd']))
$author['photo'] = $profile['profile_pic_url_hd']; $author['photo'] = $profile['profile_pic_url_hd'];

Loading…
Cancel
Save