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
Solved! Go to Solution.
Views
Replies
Total Likes
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
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.
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.
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
You need to utilize some OAuth library
Check https://stackoverflow.com/questions/13232697/linkedin-api-authentication-using-java it may help