⚠️ Archived Post
This is an archived post from my previous blog (2007-2014). It may contain outdated information, broken links, or deprecated technical content. For current writing, please see the main Writing section.

OpenSocial: The Color of my Friends

Originally published on April 1, 2008

I’ve spent this morning building a small OpenSocial application. It’s called Color of my Friends. It is rather simple: You choose a color from red, green, or blue and so do your friends. The widget then builds an RGB color index from the colors your friends have chosen. If you have 10 friends, for example and 3 choose red, 2 choose green and 5 choose blue, you’ll get the color code #4C337F which would look like this:

So this was fun to build and feel free to check out the code on the project website or add the gadget xml to your Orkut or MySpace or whatever opensocial container sandbox: http://opensocial-friendscolor.googlecode.com/svn/trunk/friendscolor.xml

Enjoy!


Comments

Johannes Fahrenkrug said...

Hi Matt,

Thank you for your comment, but I'm not sure what you mean. Could you clarify it a bit?

- Johannes

May 11, 2008 01:29 PM

Matt said...

What happened to the same code? I'm work on an application, and I could really use some help.

May 09, 2008 11:44 PM