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. }

23 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. http://phucanshop.com/may-in-canon/may-in-canon-laser-lbp-2900-chinh-hang-gia-tot-nhat.7687.html

    ReplyDelete
  10. myphamdep.vn
    Người đăng: Eximport Việt Nam
    Trang bạn thích · 10 Tháng 3 · Đã chỉnh sửa ·

    http://myphamdep.vn/ - MỸ PHẨM ĐẸP - chuyên phân phối mỹ phẩm nhập khẩu giá tốt, mỹ phẩm làm đẹp chất lượng cao từ các thương hiệu nổi tiếng trên thế giới. Giao hàng tận nơi. 0938416889

    - CHĂM SÓC DA : http://myphamdep.vn/the-loai-cham-soc-da-31.html
    - DƯỠNG THỂ : http://myphamdep.vn/the-loai-duong-the-30.html
    - CHĂM SÓC TÓC : http://myphamdep.vn/the-loai-cham-soc-toc-27.html
    - TRANG ĐIỂM : http://myphamdep.vn/the-loai-trang-diem-28.html
    - NƯỚC HOA : http://myphamdep.vn/the-loai-nuoc-hoa-29.html
    - NAILS : http://myphamdep.vn/the-loai-nails-47.html
    - PHỤ KIỆN : http://myphamdep.vn/the-loai-phu-kien-34.html
    - THỰC PHẨM CHỨC NĂNG : http://myphamdep.vn/the-loai-thuc-pham-chuc-nang-46.html

    ReplyDelete
  11. Cool! Simple solution and easy to install. Thanks :)

    Web Design Company in Delhi | Website Designing Company in Delhi

    Thanks!
    Best regards,
    Domaxy

    ReplyDelete