Using page tokens to retrieve extended results from Google APIs
Typically, Google APIs return between 20 and 100 results from API calls. This is done to minimize the amount of unnecessary data is sent to API clients which improves client performance. However, sometimes you want to get additional results. What…
Error handling in the Google+ Hangouts Telephone API
One key aspect of creating great Hangout apps is handling errors gracefully. In this post, I’ll get you started on detecting errors.
Sign in Best Practices: Reflecting the User
In the recent Google+ Developers Live episode: Google+ Sign-In Best Practices: Greeting the user and reflecting the profile, I showed you a few tweaks that you can make to your site’s experience to make it more engaging. This blog post…
Sharing: Best practices for targeting Interactive Posts
Yesterday, Joanna and I gave a talk on best practices for the Google+ platform. We discussed just a couple subtle ways that you can make the most of the features that we’ve shipped with the Google+ Sign-In button. In this…
Passive Sharing: Writing app activities without target URLs
It is a best practice to target your shares to target pages containing Schema content but sometimes you cannot do this. For example, if you are referencing content that is not on your site or if you are writing app…
Making the most of the Google+ developer site
The curse of knowledge – knowing something and then not realizing that you have this knowledge – can make it difficult to remember the first time that you started learning about something. A great example of this is the Google…
Even more common errors with Sign-in
After a few months of debugging other people’s code and seeing real-world integrations, I have encountered some strange issues that have baffled me but that had frustratingly simple solutions! Here are a few more that we hadn’t yet encountered when…
Google API clients: Why you should use them and how
Some of our older code examples, including many that I have authored on my blog have been using raw query execution against the Google APIs. This is undesirable and is absolutely not a best practice because you will not benefit…
Credential recovery: Reconnecting Google+ if something goes wrong
In my last post, I discussed tricks for upgrading tokens and upgrading to the Google+ sign-in button. This spurred some discussion on the Google+ post, most notably the question, “When do we get the refresh token?” In turn, I figured it…
Google+ code tricks: Upgrading to the new sign-in / upgrading scopes
I have had many folks ask me how they can do the following things: Upgrade from the traditional OAuth flows to the new one-time-code flow Authorize with just plus.login and then add additional (optional but useful) services to the user’s…