What is an embedded post?

A new feature on Google+ has been released enabling you to take any public post (except communities at present) and embed it on a website just by adding in a simple code. It really is simple.

Use the following code to embedding  a google plus post

<!--place this code in head section -->
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<!-- head section closed-->
<!-- place the below div where you want to show the post-->
<div class="g-post" data-href="https://plus.google.com/u/0/114601883796480090311/posts/im7Z1WANpGR"></div>
<!--div ended here-->

What type of posts are supported?

According to Google, in addition to posts that contain text and links, the following additional types of posts are supported as embedded posts:

  • Posts with images – The post will render with the image. Clicking the image directs the visitor to the image view on Google+.
  • Posts with videos – The post will render with the video. Clicking the video will play the video within the embedded post. (Currently this featured is deprecated )
  • Posts with links to a community – Your visitors can click through to view the community as they would in the stream.

Another example:

This works for Gifs too!

Also, from Google we know the following post types are not supported:

  • Posts from within a community

  • Posts that are restricted to a Google Apps domain

  • Private posts

  • Events posts

  • Hangout on Air posts

Want to know more?

For more information check out: https://developers.google.com/+/web/embedded-post/