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.
Dead simple App Engine static hosting
I have no idea why, but I have had tons of trouble finding a simple example for hosting app engine. I have been working on a client-side only site so all I wanted to do was host some static content….
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…
Manipulating sites using the DOM editor in Chrome
Ever visit a site and there’s just something about how it looks that you don’t like? Ever want to modify elements of your site in real-time without having to refresh the page? You can do all of this and more…
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…
Selectively rendering interactive posts
In some rare cases, it makes sense to render interactive posts selectively, falling back to the share button. For example, you might want to do this when your uses could be fickel enough to drop off when prompted to sign…
Handling events for +1
A feature that I haven’t really talked about yet, events on +1 buttons, is interesting because it enables so many exciting scenarios for developers interested in doing something when their users click the +1 button and so on. A high…
A tale of two RESTful API queries…
At the suggestion of +Will Norris, I updated this demo code for translating URLs to activity IDs to now use a filter. The following code highlights the differences: < + '/activities/public?fields=items%2Fid%2Citems%2Furl&key=' + key — > + '/activities/public?key=' + key The…
Getting an activity ID from a Google+ Post URL
Taking the URL to a post and then determining the post ID for additional API calls is a little tricky but also fundamental for the Google+ public data API. First, you have to list activities and then search through them…