Chapter 3. Public Data APIs
The RESTful data APIs are the core of the Google+ platform. These APIs provide read access to public fields on profiles, activities, and comments. Access to private data, specifically a user’s identity on Google+, is controlled by OAuth 2.0, and API quotas are controlled by API keys.
The easiest way to gain an understanding of the public data APIs is to see them in action.
Integrating Google+ Comments
Baking Disasters is pretty cool, but do you know what would make it cooler? Comments would. Discussion can bring a blog to life, but sadly, they come at a cost. Not only do you need to worry about spam comments, but you also have to expose potentially sensitive software to the outside world.
Experiment with the APIs
Before you start coding, spend some time to become comfortable with how the APIs behave. The API Explorer from the introduction chapter is perfect for this. You can find it here: https://developers.google.com/apis-explorer/#s/plus/v1/.
Use the API Explorer to trace the same steps that the comments plugin will follow.
Scan through the available methods in the API Explorer. The
comments.listmethod, pictured in ...