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…
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…
Targeting Interactive Post recipients in Android
In the April 9th, 2013 Google+ Developers Live, Chirag and I demonstrated how to set the recipients for an Interactive Post in Android. You can watch the video below: Code from the show I have added a gist to GitHub for…
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…
Using the one-time-code flow with Google+ Sign-in
OAuth v2 background In this post, I’m going to assume that you understand a little bit about the traditional OAuth v2 flows for authorization. If you haven’t already checked it out, you can get acclimated hands-on through the OAuth2 playground….
Google+ Tricks: Hacking the Sign-in button behavior
Before continuing, I want to emphasize that this is not a best practice. You should be using the Google+ Sign-in Button as intended. Signing in to an application with Google should do just that – if you sign out of…