Skip to content

Commit 2dfe33e

Browse files
Merge pull request #4 from jtfuel76/patch-2
Update InstagramBasicDisplay.php
2 parents 49dbb34 + 75c1847 commit 2dfe33e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/InstagramBasicDisplay.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function __construct($config = null)
5959
public function getLoginUrl($scopes = ['user_profile', 'user_media'], $state = '')
6060
{
6161
if (is_array($scopes) && count(array_intersect($scopes, $this->_scopes)) === count($scopes)) {
62-
return self::API_OAUTH_URL . '?app_id=' . $this->getAppId() . '&redirect_uri=' . urlencode($this->getRedirectUri()) . '&scope=' . implode(',',
62+
return self::API_OAUTH_URL . '?client_id=' . $this->getAppId() . '&redirect_uri=' . urlencode($this->getRedirectUri()) . '&scope=' . implode(',',
6363
$scopes) . '&response_type=code' . ($state != '' ? '&state=' . $state : '');
6464
}
6565

0 commit comments

Comments
 (0)