English 中文(简体)
Is it possible to access a user s Google +1 (Plus One) history via an API?
原标题:

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.

问题回答

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.

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.





相关问题
Google +1 button causes JavaScript error

We ve recently started using the Google +1 button on our page, but whenever we include the Google script block this JavaScript error comes up in IE8: "No relay set (used as window.postMessage ...

Google +1 Count for my homepage not for all subpages?

I implemented the fairly new Google +1 Button to a site I ve developed. It sits in my footer and I want people to just +1 this page if the think it s a cool page. Since I implemented it already a few ...

hide plusone button after click

I want to hide google s +1 button after the user clicks on it using jQuery; this is the code I m using but it seems it s not functioning properly: JS: $(function() { $("#button").click(function() ...

Google +1 Button not working in IE7?

Works fine in IE8, IE9, and latest Chrome and Firefox, but can t seem to get it to show up in IE7. This is even with the most basic example of using the script. Anyone had similar issues? Thanks!

Google +1 Button not W3C compliant

So I ve been playing with Google s +1 button trying to get it on my website, but it s not W3C compliant. Here s the code: <!-- Place this tag in your head or just before your close body tag -->...

Issue Loading Google +1 Widget Asynchronously

I have a few widgets on the site I m developing and I load them all asynchronously from a javascript file so it does not hold up the DOM from finishing. For instance, I do this with the Digg and Buzz ...

热门标签