You are previewing Developing with Google+.
O'Reilly logo
Developing with Google+

Book Description

This hands-on exploration of the Google+ platform walks through the full offering of Google+ APIs.

Developing with Google+ takes a common sense, sequential approach to learning Google+. It focuses on concrete examples of integrating existing websites with Google+ as well as building social applications upon this new platform.

In this book you will:

  • Make the most of social widgets like the +1 Button and the Sharebox

  • Register applications to gain access to the Google+ APIs

  • Access public data directly over RESTful web services

  • Use OAuth to gain access to access user specific data

  • Learn about the available client libraries

  • Build a small social application that integrates deeply with Google+

Whether you’re new to web design or an experienced application developer, you’ll learn everything you need to get started integrating Google+ into your new and existing projects.

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