Notice: Undefined variable: dir in D:\Polietik_New\htdocs\GetData.php on line 66

Notice: Undefined index: oauth_problem in D:\Polietik_New\htdocs\loginwithlinkedin.php on line 12

Notice: Undefined variable: ldata in D:\Polietik_New\htdocs\loginwithlinkedin.php on line 41

Notice: Trying to get property 'id' of non-object in D:\Polietik_New\htdocs\loginwithlinkedin.php on line 41
Simple PHP LinkedIn OAuth Login Integration
it was not possible to access the OAuth request token: it was returned an unexpected response status 403 Response: oauth_problem=Scope%20%22r_basicprofile%22%20is%20not%20authorized%20for%20your%20application