amitastreait / Salesforce---LinkedIn-Integration

Salesforce LinkedIn
http://www.pantherschools.com
14 stars 28 forks source link

Linkedin API v2 #1

Open zufra opened 5 years ago

zufra commented 5 years ago

Hi Amit!

Thank you for sharing your work and saving developers like me a lot of time. Your tutorial on youtube on how to set up the integration is very insightful but as you are probably aware Linkedin has made it mandatory for applications to use the new version of their API so the code is slightly outdated.

A few things have changed compared to how the sign in was done with the previous API version. For example, the endpoint to fetch the basic info is now:

https://api.linkedin.com/v2/me

What is confusing me is that many permissions have also changed and I can't figure out what to do. When setting up the integration, I am getting this error when trying to get the basic info or share a post:

Unexpected Error while communicating with LinkedIn API. Status Forbidden and Status Code 403

Do you have any idea about what I need to change in the controller to fix this?

Thanks!

amitastreait commented 5 years ago

Hi,

Yes, recently LinkedIn has changed their API. So Now, you need to change the code accordingly

Have a Great Day and Make it Great Day.

Regards,

Amit Singh

P Please consider the environment before printing this email.

This e-mail, including any attachments, is intended solely for the person or entity to which it is addressed and may contain confidential, proprietary and/or non-public material. Except as stated above, any review, re-transmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than an intended recipient is prohibited. If you receive this in error, please so notify the sender and delete the material from any media and destroy any printouts or copies.

On Sat, 25 May 2019 at 20:07, zufra notifications@github.com wrote:

Hi Amit!

Thank you for sharing your work and saving developers like me a lot of time. Your tutorial on youtube on how to set up the integration is very insightful but as you are probably aware Linkedin has made it mandatory for applications to use the new version of their API so the code is slightly outdated.

A few things have changed compared to how the sign in was done with the previous API version. For example, the endpoint to fetch the basic info is now:

https://api.linkedin.com/v2/me

What is confusing me is that many permissions have also changed and I can't figure out what to do. When setting up the integration, I am getting this error when trying to get the basic info or share a post:

Unexpected Error while communicating with LinkedIn API. Status Forbidden and Status Code 403

Do you have any idea about what I need to change in the controller to fix this?

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/amitastreait/Salesforce---LinkedIn-Integration/issues/1?email_source=notifications&email_token=ADNDFH3RGF3VQYCMN4KWVI3PXFFJXA5CNFSM4HPUXKG2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GV3DXFQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ADNDFH3EMFBWWCGTEETB6OLPXFFJXANCNFSM4HPUXKGQ .