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

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…

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…

Sharing: Best practices for targeting Interactive Posts

May 17, 2013 · by gguuss · in best practices, Google+

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

May 16, 2013 · by gguuss · in best practices, Google+, history, Schema.org

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

May 15, 2013 · by gguuss · in best practices, Google+, programming

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

April 9, 2013 · by gguuss · in android, Google, Google+, howtos, java, Plus, programming

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

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

Google+ Tricks: Hacking the Sign-in button behavior

March 21, 2013 · by gguuss · in demos, Hacking, Plus

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…

1 2 … 4 Next →

Search

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

Powered by WordPress and Origin