cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution
Highlighted

Embedding LinkedIn post works but

When I embed a LinkedIn post using the HTML code on my page. It works fine as you can see here https://thepatentsearcher.com/blog. But only some of the links within the embedded post work. Clicking on the article name under the picture "How innovative is Australia vs rest of the world?" doesn't work and just gives me a blank box. Seems it is trying to open it within the embedded frame rather than go to the actual page. Should go to https://www.linkedin.com/pulse/how-innovative-australia-vs-rest-world-george-mokdsi/. In fact the link is a redirect link -

https://www.linkedin.com/redir/redirect?url=https%3A%2F%2Fwww%2Elinkedin%2Ecom%2Fpulse%2Fhow-innovat...

The embedded code is

<iframe src="https://www.linkedin.com/embed/feed/update/urn:li:share:6570506659070910465" height="650" width="1000" frameborder="0" allowfullscreen="" title="Embedded post"></iframe>

2 REPLIES 2
Super User II
Super User II
Solution

Re: Embedding LinkedIn post works but

Hello 

 

<p style="text-align: center;"><iframe src="https://www.linkedin.com/embed/feed/update/urn:li:activity:6397520556186492928" width="504" height="648" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p style="text-align: center;"><iframe src="https://www.linkedin.com/embed/feed/update/urn:li:activity:6396810417141800960" width="504" height="559" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>

 

Zulfiqar Anees | GoDaddy Pro | Founder/CEO at FastTech Media, TechMag, and ZulWeb.
Solution

Re: Embedding LinkedIn post works but

OK I worked it out. The issue is with the LinkedIn HTML code for the page missing the open in a new window tag on some of the links- target="_blank". Without this tag it seems it tries to open within the frame which does not work. When I add this tag in and paste in the full code for the LinkedIn page into GoDaddy HTML code section it all works fine.