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

Google API clients: Why you should use them and how

April 17, 2013 · by gguuss · in best practices, patterns, Plus, programming

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…

Developing in C# from OS X using MonoDevelop

April 11, 2013 · by gguuss · in CSharp, productivity, programming

  IMPORTANT NOTE – The .NET client libraries have had significant updates since this post was written. Please read this POST for the updated information. Before we begin, you can get MonoDevelop from here: MonoDevelop I have been playing a little bit…

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…

Random useful stuff

January 17, 2013 · by gguuss · in howtos, Linux, ruby, Tools

Image by SP8254 Every day I find things that are insanely nice to have or useful.  These things vary from a blog post that saves me hours of abort/retry/fail to really handy utilities and fancy frameworks. It’s worth mentioning a…

A tale of two RESTful API queries…

December 20, 2012 · by gguuss · in Google+, JavaScript, Plus, programming

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

December 18, 2012 · by gguuss · in demos, Google+, JavaScript, samples, Tools

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…

Pulling Google+ data into Windows Store apps

November 20, 2012 · by gguuss · in CSharp, programming, Windows, XAML

If you caught the last GDL show for Google+, I demoed a few things I have been working on, most notably my Google+ demo for Windows 8. The following screenshot shows the app running within the Windows 8 Simulator: As…

The Google+ Book

September 28, 2012 · by gguuss · in Google+, samples

  Jennifer Murphy just published her new book, Developing with Google+, and I had the pleasure of reading an early version of it. This is a great read, I recommend it for anybody looking to learn Google+, especially if you…

← Previous 1 2 3 4 Next →

Search

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

Powered by WordPress and Origin