Matrix Version: 5.5.2
Hey Squizee’s,
I am trying to setup a create-user-account via LinkedIn profile, based on the Facebook Sign-In tutorial (which is great, by the way!), but am becoming stuck because LinkedIn have separate the r_liteprofile (which is id, firstname, lastname) from the r_emailAddress . I want both, but they have different request URIs.
https://api.linkedin.com/v2/me
https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))
Is there I way I can fetch both in the one OAuth call?
Or should I be doing this some other way?
Not sure if it is related or unrelated, but when I test the login for just using the r_liteprofile ( /me ) information, it always returns a message in the Matrix pop-up window “Can not locate the userid in the response of profile API.” I have tried keep it the default " id ", as well as manually inputting " id " and " personId " and " personID " – it makes no difference. Yet there should be an id field returned by /me in the default response. I have also tried by specifying id to be returned too, same error.
I’m not very knowledgable with integrations - a learning curve - but I can follow steps-by-step in laymen’s terms. (e.g. the Facebook tutorial)
Thank you in advance
Emily