LinkedIn OAuth a required parameter “clien_id” is missing
Hi guys i'm working with the LinkedIn API and trying to make request but when I try to get my accesstoken i'm getting the following error in my json print: Array ( [error] => missing_parameter [error_description] => A required parameter "client_id" is missing ) this is my code: <?php $url = parse_url("https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"); parse_str($url['query'], $url); $code = $url['code']; $data = array("grant_type" => "authorization_code", "code" => $code, "redirect_uri" => "REDIRECT_URI", "client_id" => "SECRET", "client_secret" => "SECRET" ); $url2 = "https://www.linkedin