An unofficial blog that watches Google's attempts to move your operating system online since 2005. Not affiliated with Google.

Send your tips to gostips@gmail.com.

April 21, 2013

Add Google+ Comments to Any Web Page

Until Google launches an API for the Google+ Comments feature, you can use the code from Blogger. Browsing the Net found a way to embed Google+ Comments on any website or blog. Here's the code you could use:

<script src="https://apis.google.com/js/plusone.js">
</script>
<div class="g-comments"
    data-href="[URL]"
    data-width="642"
    data-first_party_property="BLOGGER"
    data-view_type="FILTERED_POSTMOD">
</div>

Replace [URL] with the address of your page. If you enter the URL of a different page, Google shows some Google+ posts that link to that page and all the comments for that page. For example, if you enter the URL of this blog post, you'll see all the comments and Google+ messages from this page and you can also add a new comment.

It's important to keep in mind that this is an unofficial way to add Google+ Comments and Google can always change the code or remove some features.

{ Thanks, Jerzy. }

22 comments:

  1. you know its funny that google plus comments are actually decent

    ReplyDelete
  2. I would wish that it would support (data-width="100%")

    ReplyDelete
  3. I would wish that it would support (data-width="100%")

    ReplyDelete
  4. Hi, I do think this is a great blog. I stumbledupon it ;) I will revisit once again since i have saved as a favorite it.
    شركات العزل
    http://prokr.org
    شركات كشف التسربات بالمدينة وينبع
    http://prokr.com/water-leaks-detection-almadina-yanbu/
    شركة كشف تسربات وعزل مائي
    http://albyaan.com/companies/water-leaks-detection-water-isolation-al-madina-yanbu/
    شركة كشف التسربات بجدة
    http://abozahra.com/water-leaks-detection-companies-jeddah/

    ReplyDelete
  5. Very good post. I'm facing some of these issues as well..

    عقاري جدة
    http://3kary.com/
    شقق مفروشة بجدة
    http://3kary.com/property-status/monthly-apartments-for-rent/
    شقق عزاب بجدة
    http://3kary.com/property-status/apartments-bachelors/

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. Mở bán an bình city hà đông
    Mở bán an bình city hà đông
    Mở bán an binh city hà đông
    Dự án chung cư an bình city
    Dự án chung cu an binh
    Chủ đầu tư an binh city phạm văn đồng

    ReplyDelete
  9. Hey, nice site you have here! Keep up the excellent work! website designing jalandhar

    ReplyDelete
  10. I blog frequently and I really appreciate your information. This great article has truly peaked my interest.

    http://prokr.com/furniture-moving-company-dammam/

    shoala.net/

    ReplyDelete
  11. Everything is very open with a clear description of the challenges. It was really informative.

    http://prokr.com/pesticides-spray-anti-insect-company-dammam/


    http://shoala.net/

    ReplyDelete