Thank you again!
This update works fine (I only tested the LinkedIn change)!
with:
Arno Buizer you have logged in successfully with LinkedIn!
stdClass Object
(
[emailAddress] => arno.buizer@myprovider.com
[firstName] => Arno
[formattedName] => Arno Buizer
[id] => MyUniqueLinkedInID
[lastName] => Buizer
)
with this scope and api call:
$client->scope = 'r_basicprofile r_emailaddress'; // no full profile needed for my app.
api.linkedin.com/v1/people/~
:(id,first-name,last-name,email-address,formatted-name)
NB. use the complete link above, the :( fields ) part at the end is LinkedIn Api format. In this message it is not recognized as a link over the whole line. The part in black IS also part of the link, instead of a comment at the end of the line!!!
with help of these pieces of documentation:
developer.linkedin.com/documents/fi
...
developer.linkedin.com/documents/pr
...
So now I understand your earlier answer with the ~:/(id) notation.
which is similar to: ~/id
the ~:/(field1,field2,etc) notation makes it possible to get just the fields you want to use.