Thank you for the video its really an interesting and well explained video. I have a question my API needs an API Key in the header section where and under which authentication section it should be mentioned in the principal section of named credentials of under the header section please help.
Hello 👋, Please connect me over LinkedIn and I will walk you through how to do that. my LinkedIn in cloudyamit View your profile and replace it with my Id and u will find my profile
If you are getting the array as a response then you can do either of the following. 1. Use for loop to iterate all the records and do the logic. 2. Use the transform element of the Salesforce Flow and do the logic
Hi @yogesh, Here is what you need to do in order to fix the issue. 1. You need to make the GET callout to /v2/userinfo endpoint instead of /v2/me. When you will make the callout to above endpoint you will get the response like below { "sub": "782bbtaQ", "name": "John Doe", "given_name": "John", "family_name": "Doe", "picture": "media.licdn-ei.com/dms/image/C5F03AQHqK8v7tB1HCQ/profile-displayphoto-shrink_100_100/0/", "locale": "en-US", "email": "doe@email.com", "email_verified": true } 2. Then from the above response use *sub* as the user Id for making the post to the LinkedIn using /v2/ugcPosts endpoint ( same which we have used in the video ) Here are the links for your reference - 1. learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2?context=linkedin%2Fconsumer%2Fcontext 2. learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin Happy Learning
Linkedin Authentication - learn.microsoft.com/en-us/linkedin/shared/authentication/authentication
LinkedIn Profile API - learn.microsoft.com/en-us/linkedin/shared/integrations/people/profile-api
LinkedIn Share API - learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin
Follow us on Social Media Channels -
Telegram Channel - telegram.dog/sfdcpanther
UA-cam - www.youtube.com/@pantherschools
LinkedIn - www.linkedin.com/in/cloudyamit/
Topmate - topmate.io/cloudyamit
Instagram - instagram.com/cloudyamit/
Subscribe to our UA-cam channel using the below link 👇
bit.ly/pantherschools
Join our telegram channel 👇
bit.ly/sfdcpanther
great video as always! Thank you!
Glad you enjoyed it!
Good clarification between Named/External credentials.
Glad you liked it
Thank you for the video its really an interesting and well explained video. I have a question my API needs an API Key in the header section where and under which authentication section it should be mentioned in the principal section of named credentials of under the header section please help.
Hello 👋,
Please connect me over LinkedIn and I will walk you through how to do that. my LinkedIn in
cloudyamit
View your profile and replace it with my Id and u will find my profile
sir, 1 video is hidden. will you please make it available
Sir in get method if we are getting response in array of objects then it’s not getting any results how to handle this issue
If you are getting the array as a response then you can do either of the following.
1. Use for loop to iterate all the records and do the logic.
2. Use the transform element of the Salesforce Flow and do the logic
Iam getting error in flow like service error code : 100 message : not enough permission to access : get/me, status : 403
Hi @yogesh,
Here is what you need to do in order to fix the issue.
1. You need to make the GET callout to /v2/userinfo endpoint instead of /v2/me. When you will make the callout to above endpoint you will get the response like below
{
"sub": "782bbtaQ",
"name": "John Doe",
"given_name": "John",
"family_name": "Doe",
"picture": "media.licdn-ei.com/dms/image/C5F03AQHqK8v7tB1HCQ/profile-displayphoto-shrink_100_100/0/",
"locale": "en-US",
"email": "doe@email.com",
"email_verified": true
}
2. Then from the above response use *sub* as the user Id for making the post to the LinkedIn using /v2/ugcPosts endpoint ( same which we have used in the video )
Here are the links for your reference -
1. learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2?context=linkedin%2Fconsumer%2Fcontext
2. learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin
Happy Learning