Help I'm trapped in a code factory!
Short programming tutorials and random geek stuff.
Home » JavaScript

Using page tokens to retrieve extended results from Google APIs

August 18, 2014 · by gguuss · in best practices, development, JavaScript, programming

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

February 11, 2014 · by gguuss · in best practices, Google, Google+, hangouts, JavaScript, programming

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

June 28, 2013 · by gguuss · in best practices, Google, Google+, HTML, JavaScript, patterns, Plus

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…

Credential recovery: Reconnecting Google+ if something goes wrong

April 4, 2013 · by gguuss · in best practices, Google, Google+, JavaScript, Plus, programming

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

April 2, 2013 · by gguuss · in best practices, demos, Google, Google+, hacks, JavaScript, php, Plus, programming

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

March 22, 2013 · by gguuss · in best practices, Google, Google+, howtos, HTML, JavaScript, Linux, Mac, Plus, programming, ruby, samples

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….

My thoughts on Google+ Sign-In

March 5, 2013 · by gguuss · in Google, Google+, JavaScript

Before continuing, I want to remind you, dear reader, that this blog represents my personal opinions and is not the official word from Google. With that out of the way, let’s talk about Google+ Sign-In. “Any sufficiently advanced technology is…

Common issues and solutions for the new Google+ platform release

February 27, 2013 · by gguuss · in debugging, JavaScript, programming, samples

So yesterday, we had our big launch and developers have be jumping in and writing code (you guys are awesome!).  A number of folks have been encountering the same issues and I think it’s probably a good time to summarize…

Handling events for +1

January 30, 2013 · by gguuss · in Google, Google+, JavaScript, programming

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…

Switching to pure HTML for Google+ badge, +1, and Share

January 8, 2013 · by gguuss · in Google, Google+, HTML, JavaScript, Plus

As you may have noticed, Google+ has been pushing to an updated approach to rendering the +1 and share buttons. I for one have been a guilty party and have needed to update my +1 and share links on my…

1 2 3 Next →

Search

Copyright © 2023 Help I'm trapped in a code factory!

Powered by WordPress and Origin