Is it possible to access a user's Google +1 (Plus One) history via an API?

自作多情 提交于 2019-12-03 01:45:19

问题


I would like to access a user's Google Plus One history

With +1 enabled, the history is saved in your Google profile and optionally can be displayed:

http://www.google.com/+1/button/

It is possible to access this programatically (once the user has given permission via normal Google Authentication and Authorization?)

I have only been able to find information for the API to add the button to sites.


回答1:


You can allways try to parse the data used by G+ itself.

The G+ user profile has a tab with all public +1, that can be fetched with

https://plus.google.com/_/plusone/get?oid=<google-plus-id>

It seems to be related to JSON, but with some differences.




回答2:


Check this out....

https://developers.google.com/+/history/




回答3:


Dave, I'm not sure about a user's history, but the count for particular URL is available via a JSON-RPC service (https://clients6.google.com/rpc). Here's a little post on how to: http://www.johndyer.name/post/Getting-Counts-Twitter-Links-Facebook-Likes-Shares-and-Google-Plus-One-Buttons.aspx

I'm guessing that same service can get additional data, but I can't find any public documentation either.



来源:https://stackoverflow.com/questions/6310574/is-it-possible-to-access-a-users-google-1-plus-one-history-via-an-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!