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
which throw now error, but as soon as I try do something else like:
$token = $li->getAccessToken($_REQUEST['code']);
Error dispaly: Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Invalid authorization code. Pass in the "code" parameter from your callback url' in
The text was updated successfully, but these errors were encountered:
You needs to make two file one for display login and another for call back url. In second file needs to call $token = $li->getAccessToken($_REQUEST['code']);
Hey,
I'm having problem with using this library at all,
I basicly just added this at start:
include 'LinkedIn.php';
$li = new LinkedIn\LinkedIn(
array(
'api_key' => 'api_KEY',
'api_secret' => 'API_SECRETone',
'callback_url' => 'http://localhost/xampp/linkedin/'
)
);
which throw now error, but as soon as I try do something else like:
$token = $li->getAccessToken($_REQUEST['code']);
Error dispaly: Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Invalid authorization code. Pass in the "code" parameter from your callback url' in
The text was updated successfully, but these errors were encountered: