diff --git a/src/Providers/Instagram.php b/src/Providers/Instagram.php index fc6f841..821667e 100644 --- a/src/Providers/Instagram.php +++ b/src/Providers/Instagram.php @@ -74,7 +74,7 @@ public function get($credentials, $config) $credentials->username = $credentials->username ?? $this->username; - $instagram = $this->client($config)->getAsync($credentials->username, [ + $instagram = $this->client($config)->getAsync($config->endpoint . $credentials->username, [ 'query' => ['access_token' => $credentials->token] ])->then( function (ResponseInterface $response) use ($config) {