You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
Na sessão Gerando access token oauth do Readme:
$redirect_uri = 'http://seusite.com.br/callback.php'; $client_id = 'APP-18JTHC3LOMT9'; $scope = true; $connect = new Connect($redirect_uri, $client_id, $scope, Connect::ENDPOINT_SANDBOX); $client_secret = '20f76456f6ec4874a1f38082d3139326'; $connect->setClientSecret($client_secret); $code = 'f9053ca6e9853dd73f0bc4f332a5ce337b0bb0da'; $connect->setCode($code); $auth = $connect->authorize(); print_r($auth);
A variável $code deve ser puxada dos parâmetros GET e não fica claro no exemplo. Poderia-se substituir
$code = 'f9053ca6e9853dd73f0bc4f332a5ce337b0bb0da';
por
$code = $_GET['code'];
The text was updated successfully, but these errors were encountered: