selectInstance($URL); $response = $api->get_access_token($api->clientWebsite.'/auth?&host='.$domain, htmlspecialchars((string)filter_input(INPUT_GET, 'code'), ENT_QUOTES)); if ($response['html']["access_token"]) { $access_token = $response['html']["access_token"]; $profile = $api->accounts_verify_credentials()['html']; $account_id = $profile['id']; echo " "; } } ?>