From 345bed6075d71ab2c32aad030d63a7a6a205489c Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Wed, 1 Feb 2017 07:50:47 -0800 Subject: [PATCH] fix for #26 --- lib/Formats/Instagram.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Formats/Instagram.php b/lib/Formats/Instagram.php index edecd3b..995db2e 100644 --- a/lib/Formats/Instagram.php +++ b/lib/Formats/Instagram.php @@ -129,7 +129,7 @@ class Instagram { if(isset($profile['external_url']) && $profile['external_url']) $author['url'] = $profile['external_url']; else - $author['url'] = 'https://www.instagram.com/' . $username; + $author['url'] = 'https://www.instagram.com/' . $profile['username']; if(isset($profile['profile_pic_url_hd'])) $author['photo'] = $profile['profile_pic_url_hd'];