Embedding LinkedIn post on site | Community
Skip to main content
New Participant
Apr 18, 2022 4:22 PM UTC
Solved

Embedding LinkedIn post on site

Hello All,

 

I have tried many ways to render the linkedin post and display that on my site. But, it didn't work like twitter(currently only few social medias are supported by embed component). In my analysis I think linkedin isn't supporting oembed behaviour. Can some one help me with embedding linkedin posts.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Anmol_Bhardwaj
Anmol_BhardwajAccepted solution
New Participant
Apr 19, 2022 2:16 PM UTC

I don't think linkedin would work like Pintrest & YouTube works in the embed component.

However, if you don't want to include iframe, you can use the open APIs linkedIn provides and create a variation of embed which can work in a similar way.

 

Documentation: https://docs.microsoft.com/en-us/linkedin/?context=linkedin/contextn 

4 replies

Himanshu_Jain
New Participant
Apr 19, 2022 7:56 AM UTC

You need to utilize some OAuth library 

 

Check https://stackoverflow.com/questions/13232697/linkedin-api-authentication-using-java it may help

Translate
Himanshu Jain
Anmol_Bhardwaj
New Participant
Apr 19, 2022 6:23 AM UTC

You can follow the steps mentioned in this official post. 

 

Although it will not work like how YouTube and Twitter works in the embed component. You can add another option where it should just embed/paste the whole code which we obtain from the steps mentioned into our HTML.

 

Translate
Pramod29Author
New Participant
Apr 19, 2022 1:30 PM UTC

Hi Anmol,

 

Thanks for your reply. I have tried earlier this linkedin approach. But, I want to use embed component's URL or like how pinterest is working currently instead of using iframe from this method. 

Translate
Anmol_Bhardwaj
Anmol_BhardwajAccepted solution
New Participant
Apr 19, 2022 2:16 PM UTC

I don't think linkedin would work like Pintrest & YouTube works in the embed component.

However, if you don't want to include iframe, you can use the open APIs linkedIn provides and create a variation of embed which can work in a similar way.

 

Documentation: https://docs.microsoft.com/en-us/linkedin/?context=linkedin/contextn 

Translate