Developing with Google+

Book description

Would you like to integrate Google+ with an existing website, or build your own social application on the platform? Developing with Google+ takes you on a tour of the Google+ APIs, with lots of concrete examples and hands-on projects. You’ll learn how to take advantage of Google+ social plug-ins, communicate programmatically with Google+ over REST APIs, and author real-time Hangout Apps.

Over the course of this book, you’ll follow the progress of a fictional company, Baking Disasters, as it incorporates all the features of the Google+ platform.

  • Make the most of social widgets such as the +1 button, Badge, and the Share button
  • Use performance tuning techniques to speed up social plugins on your site
  • Create your own plugins by accessing public data APIs with RESTful web services
  • Transform an blog into a social web application through server-side processing
  • Use OAuth to authenticate users and authorize your access to their private data
  • Extend Google+ Hangouts programmatically and create your own application

Table of contents

  1. Developing with Google+
  2. SPECIAL OFFER: Upgrade this ebook with O’Reilly
  3. Preface
    1. Conventions Used in This Book
    2. Using Code Examples
    3. Safari® Books Online
    4. How to Contact Us
    5. Acknowledgments
  4. 1. Introduction
    1. Things You May Recognize
    2. Things That May Be New to You
    3. Explore the API
  5. 2. Social Plugins
    1. The +1 Button
      1. Adding the +1 Button
      2. Customizing the +1 Button
      3. Customizing Your Snippet
      4. Leveraging the Callback
      5. Special Considerations for AJAX Applications
      6. Troubleshooting the +1 Button
    2. The Badge
      1. Adding the Badge
    3. Performance Tuning Social Plugins
      1. Asynchronous Loading
      2. Explicit Rendering
      3. Delayed Rendering
      4. Keeping Up to Date
  6. 3. Public Data APIs
    1. Integrating Google+ Comments
      1. Experiment with the APIs
    2. Client Libraries
      1. Registering Your Application
      2. Time to Code
      3. Comments Integration in Action
      4. What’s Next?
  7. 4. OAuth-Enabled APIs
    1. New Application: Baking Disasters 2.0
    2. Authentication Using Google+
      1. OAuth 2.0
      2. Accounts and API Keys
      3. A Little More About OAuth 2.0
      4. Starter Projects
      5. Bringing it Together
      6. Locking Stuff Down
      7. A Preview of the Sign-in Button
    3. Making Baking Disasters Social
      1. Import Disasters from Google+
      2. A Preview of the History API
    4. Best Practices
  8. 5. Collaborative Baking with Hangout Apps
    1. Potluck Party Planner
    2. Architecture of a Hangout App
    3. Hosting a Hangout App
    4. Starting with a Starter Project
      1. Convert the Starter Project to PHP
      2. Run the Starter Project
    5. Collaborative Planning
      1. Recipe and Ingredient REST APIs
      2. Hangout App Interface
      3. Hangout App Startup
      4. Shared State and HTML Manipulations
    6. Add Reminder Sharing
    7. Media APIs
    8. Other Hangout APIs
    9. Publishing
  9. 6. Wrapping Up the Baked Goods
  10. About the Author
  11. SPECIAL OFFER: Upgrade this ebook with O’Reilly
  12. Copyright

Product information

  • Title: Developing with Google+
  • Author(s): Jennifer Murphy
  • Release date: September 2012
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781449357146