Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Embedding LinkedIn post on site

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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 

View solution in original post

4 Replies

Avatar

Community Advisor

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.

 

Avatar

Level 1

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. 

Avatar

Correct answer by
Community Advisor

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