$_SESSION['clientid'], 'client_secret' => $_SESSION['clientsecret'], 'grant_type' => 'authorization_code', 'redirect_uri' => $_SESSION['url'], ); $instagram = new Instagram($config); if($_REQUEST['code']=='') { $instagram->openAuthorizationUrl(); } $accessToken = $instagram->getAccessToken(); ?>
Access Token:
User ID:
Copy and paste this Instagram Access Token into the input field.