Retrieving Comments From Google+ Events

Had a question earlier about whether it was possible to retrieve comments from an event on Google+, and the answer is yes! As long as it's public, you can grab it via the REST public data APIs.

Taking as an example tonight's London Photowalk event, we need to first get the id of the activity. This can be done by grabbing the public posts by the Photowalk account:


X-JavaScript-User-Agent:  Google APIs Explorer

The ID  "111455345092279041936" there is the ID of the Photowalk account. From that list we just need to find our event, and get the ID. You can generally see the Events posts by the provider field in the JSON of the object attached to the post.


We can then request the list of comments for that id using the plus.comments.list functionality.


X-JavaScript-User-Agent:  Google APIs Explorer

Take a look at the results over on the API explorer.

Popular posts from this blog

Client-Server Authentication with ID tokens

Common problems with Google+ Sign-In on Android

TLS and ZeroMQ