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

3

15

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.

Leg answered 10/6, 2011 at 18:30 Comment(2)
Similar question being asked here: #6208274Borreri
Also, have you dug through this documentation? code.google.com/apis/+1buttonBorreri
G
8

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.

Grade answered 26/4, 2012 at 22:35 Comment(1)
Wouldn't this only be useful for getting the likes of the currently logged in user? How you would use this to get the likes of a third party user who has granted your site access to their profile?Peccavi
W
4

Check this out....

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

Wholehearted answered 29/6, 2012 at 6:39 Comment(2)
Awesome! I had given up on the project but it looks like this will do the trick (as soon as it's released from developer preview.)Leg
Wow, looks like this is it! Good find (I thought it was never going to happen).Ardenardency
T
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.

Testudinal answered 14/6, 2011 at 18:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.