Как мне решить эту проблему входа в систему linkedin
I am currently doing a LinkedIn log in system for a website and having some issues running it. It seems to be not working. $client->scope = SCOPE; if (($success = $client->Initialize())) { if (($success = $client->Process())) { if (strlen($client->authorization_error)) { $client->error = $client->authorization_error; $success = false; } elseif (strlen($client->access_token)) { $success = $client->CallAPI( 'http://api.linkedin.com/v1/people/~:(id,email-address,first-name,last-name,location,picture-url,public-profile-url,formatted-name)', 'GET', array( 'format'=>'json' ), array('FailOnAccessError'=>true), $user); } } $success = $client->Finalize($success); } Having some problem with the coding above. The success is really not working. Can't seem to get it right. The codes are from the process.php file. This is the error on the website : https://www.zetotravel.com/login/linkedin/index.php
Что я уже пробовал:
These are the websites I tried referring to for solutions: https://medium.com/@stevesohcot/php-login-with-linkedin-api-f0fa179c8597 https://artisansweb.net/how-to-implement-login-with-linkedin-in-website-with-php/
Richard MacCutchan
Пожалуйста, отредактируйте свой вопрос и покажите точные сведения об ошибке и о том, где в коде возникает проблема.