发表评论,谷歌加用API和提取它们 [英] post comments to google plus with api and fetch them

查看:152
本文介绍了发表评论,谷歌加用API和提取它们的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Facebook上,我们可以指定一个网页的URL,并添加注释,或是为它取意见,并在图形API。

In facebook, we can specify a web page url and add comments to it, or fetch comments for it, with the Graph API.

后来,我们可以获取页面的意见,采用了样本code和我的网页上显示,作为一个小部件,使用JavaScript code。

Later we can fetch the comments for the page, using a sample code, and display them on my page, as a widget, using a javascript code.

同样的,是有可能为Web页面设置几乎注释使用谷歌加,并用code显示它们,使用API​​?我碰到谷歌加客户端库来为PHP,但不知道如何实现我想要的,用它。

Similarly, is it possible to setup comments for a web page virtually using google plus, and display them with a code, using the API ? I came across google plus client library for php, but not sure about how to achieve what i wanted, with it.

推荐答案

目前存在于Google+或没有公共写API的方式双向与外部网页整合Google+的意见。

Currently there is no public write API for Google+ or a way to bi-directionally integrate Google+ comments with an outside web page.

可以整合来自Google+信息评论到您的静态页面。这里有一对夫妇的资源,可以说明如何:

You can incorporate comments from a Google+ post onto your static page. Here are a couple of resources that can illustrate how:

  • The full documentation for the Google+ read API is at https://developers.google.com/+/api/ and there are libraries for PHP and JavaScript at https://developers.google.com/+/downloads/

的http:// little418 .COM / 2011/12 /谷歌的评论上,您-静态HTML的blog.html 包含有关如何从Google+信息中呼应评论的一些例子。

http://little418.com/2011/12/google-comments-on-your-static-html-blog.html contains some examples about how to echo comments from a Google+ post.

这篇关于发表评论,谷歌加用API和提取它们的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆