<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hung Truong: The Blog! &#187; Facebook</title>
	<atom:link href="http://www.hung-truong.com/blog/category/facebook/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hung-truong.com/blog</link>
	<description>I say potato, you say potato...</description>
	<lastBuildDate>Thu, 09 Sep 2010 15:14:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Stupid Data Tricks: Facebook Names</title>
		<link>http://www.hung-truong.com/blog/2010/08/17/stupid-data-tricks-facebook-names/</link>
		<comments>http://www.hung-truong.com/blog/2010/08/17/stupid-data-tricks-facebook-names/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 19:25:30 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
				<category><![CDATA[Facebook]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=1992</guid>
		<description><![CDATA[Like a good data nerd, I downloaded the list of publicly available Facebook names, dumped into text files. I was trying to figure out a neat way to use them. It&#8217;s always weird when people have the same first and last names, so I wrote a quick regex to find people with names like &#8220;John [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hung-truong.com/blog/wp-content/uploads/2010/08/Facebook-Directory.png" rel="lightbox[1992]"><img src="http://www.hung-truong.com/blog/wp-content/uploads/2010/08/Facebook-Directory-500x298.png" alt="" title="Facebook Directory" width="500" height="298" class="aligncenter size-medium wp-image-1993" /></a></p>
<p>Like a good data nerd, I downloaded the list of <a href="http://www.skullsecurity.org/blog/?p=887">publicly available Facebook names</a>, dumped into text files. I was trying to figure out a neat way to use them. It&#8217;s always weird when people have the same first and last names, so I wrote a quick regex to find people with names like &#8220;John John&#8221; and &#8220;Laura Laura.&#8221; I used <em>/^([a-z]+) \1$/</em>, but maybe there&#8217;s a better one. I think mine left out the middle names.</p>
<p>Apparently there are a lot of people with the same first and last name. 14,495 in my list, to be exact. But that&#8217;s out of a 100 million or so (I only did unique names). <a href="http://www.hung-truong.com/blog/wp-content/uploads/2010/08/stupid.txt">Here&#8217;s the list</a> for anyone who might care. I&#8217;m trying to figure out a more useful application for this dataset. Any ideas?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2010/08/17/stupid-data-tricks-facebook-names/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Questions About Facebook And Data Portability</title>
		<link>http://www.hung-truong.com/blog/2010/04/21/questions-about-facebook-and-data-portability/</link>
		<comments>http://www.hung-truong.com/blog/2010/04/21/questions-about-facebook-and-data-portability/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 16:59:05 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Meta]]></category>
		<category><![CDATA[data portability]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=1810</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>407</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>415</b><br />
Something that is usually on my mind, either in the forefront or the back of it, is data portability. I like &#8220;owning&#8221; the data that I create, whether it&#8217;s from a tweet or a Facebook status message, or even more mundane like the bit of knowledge via a Last.fm scrobble that I listened to Dexter [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.hung-truong.com/blog/wp-content/uploads/2010/04/facebook-500x188.jpg" alt="" title="facebook" width="500" height="188" class="aligncenter size-medium wp-image-1814" /></p>
<p>Something that is usually on my mind, either in the forefront or the back of it, is data portability. I like &#8220;owning&#8221; the data that I create, whether it&#8217;s from a tweet or a Facebook status message, or even more mundane like the bit of knowledge via a Last.fm scrobble that I listened to Dexter Gordon&#8217;s Wave at 3:27am on August 16, 2007 (I&#8217;m thinking this is in GMT?). The point is that data that I create is my property. I would go as far as to say that the online interactions I have, like friends&#8217; activity that I comment on and interact with, is also my property. For example, a friend&#8217;s status message that I reply to and that ends up being a long thread.</p>
<p>Some services make gathering my data easy. Twitter has a dead simple API and so does Last.fm. I&#8217;ve been toying around with gathering location data from Twitter, embedded in photos I take on my phone, and other sources. One website that still confuses me a bit with regards to their policies is Facebook.</p>
<p>About two years ago, there was a semi-large fuss made over Facebook joining a Data Portability organization. Apparently it was sort of a <a href="http://blogs.zdnet.com/social/?p=497">me-too move to copy MySpace</a>. Since then, there&#8217;s been a Stream API created and you can actually grab stuff from your &#8220;activity stream&#8221; from Facebook.</p>
<p>The thing is, the rules are super vague and contradict each other. For example, the Statement of Rights and Responsibilities states that </p>
<blockquote>
<p>
You own all of the content and information you post on Facebook, and you can control how it is shared through your <a href="http://www.facebook.com/privacy/">privacy</a> and <a href="http://www.facebook.com/editapps.php">application settings</a>.</p>
</blockquote>
<p>This makes it seem like I have the right to collect that content and information that I create, since I &#8220;own&#8221; it and have control over it. Yet the Developer Policy states:</p>
<blockquote>
<li> Storing and Using Data You Receive From Us</li>
<ol>
<li>You must not store or cache any data you receive from us for more than 24 hours unless doing so is permitted by the <a href="http://wiki.developers.facebook.com/index.php/Storable_Data">offline exception</a>, or that data is explicitly designated as <a href="http://wiki.developers.facebook.com/index.php/Storable_Data">Storable Data</a>.</li>
<li>You must not give data you receive from us to any third party, including ad networks.</li>
<li>You must not use user data you receive from us or collect through running an ad, including information you derive from your targeting criteria, for any purpose off of Facebook, without user consent.</li>
<li>Unless authorized by us, your ads must not display user data &#8211; such as users&#8217; names or profile photos &#8211; whether that data was obtained from us or otherwise.</li>
<li>You cannot convert user data you receive from us into Independent Data (e.g., by pre-filling user information with data obtained from the API and then asking the user to save the data).</li>
<li>Before making use of user data that may be protected by intellectual property rights (e.g., photos, videos), you must obtain permission from those who provided that data to us.</li>
<li>You must not give your secret key to another party, unless that party is an agent acting on your behalf as an operator of your application, but you must never give your secret key to an ad network.   You are responsible for all activities that occur under your account identifiers.</li>
</ol>
</blockquote>
<p>This basically says that I have to delete any information gathered within 24 hours. Facebook is making the assumption here that users are not developers and vice versa. I&#8217;m not interested in gathering other users&#8217; data; I just want my own. And yet here are two conflicting statements.</p>
<p>I&#8217;ve already used the Facebook Stream API in the past to collect my data. While the policy states this is not allowed, it&#8217;s basically unenforceable. What bothers me a bit is that it is against policy for me gather my own data using Facebook APIs. Twitter allows this, and even goes a step beyond by suggesting that developers cache data to improve performance. To their credit, Google has a &#8220;Data Liberation Front&#8221; whose purpose is to keep an eye on products and keep data import/export for users as a priority.</p>
<p>I see data portability as a big issue while considering the natural lifecycle of a social networking website. As I use Facebook less and less, I still want to have a connection with those who are on it, and I want to maintain a record of what happened. I hate to think that while I &#8220;own&#8221; this data, I have no right to access it, especially if I decide to leave the service.</p>
<p>I started writing this post before realizing that Facebook&#8217;s annual f8 conference is actually going on today! I guess I can look towards today&#8217;s news to see if anything has been announced re: data portability.</p>
<p><strong>EDIT:</strong> Well that was fast! I guess they removed the 24 hour limit thing during the keynote today. What this means directly to data portability is still up in the air, though.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2010/04/21/questions-about-facebook-and-data-portability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stupid Facebook Fan Pages Considered Harmful</title>
		<link>http://www.hung-truong.com/blog/2009/04/27/stupid-facebook-fan-pages-considered-harmful/</link>
		<comments>http://www.hung-truong.com/blog/2009/04/27/stupid-facebook-fan-pages-considered-harmful/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 05:17:24 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[fail]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=1357</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>407</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>415</b><br />
Yes, I&#8217;m breaking out the &#8220;considered harmful&#8221; cliche. I think Facebook is jumping a proverbial shark. In addition to the &#8220;viral&#8221; quizzes that are really annoying (and occasionally interesting), the increase in random fan pages is really making the site hard to tolerate. Facebook wants to make fan pages like people. That&#8217;s fine, if you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-1358 aligncenter" title="stupid-fan-pages" src="http://www.hung-truong.com/blog/wp-content/uploads/2009/04/stupid-fan-pages.jpg" alt="stupid-fan-pages" width="493" height="244" /></p>
<p>Yes, I&#8217;m breaking out the &#8220;<a href="http://en.wikipedia.org/wiki/Considered_harmful">considered harmful</a>&#8221; cliche.</p>
<p>I think Facebook is jumping a proverbial shark. In addition to the &#8220;viral&#8221; quizzes that are really annoying (and occasionally interesting), the increase in random fan pages is really making the site hard to tolerate. Facebook wants to make fan pages like people. That&#8217;s fine, if you&#8217;re only allowing people to have fan pages. The fan pages seem to have been designed for entities who want to have a presence on the site. Like companies or celebrities, etc.</p>
<p>Lately there have been fan pages for random shit like hugs, rain, flip flops, music, etc. Who is supposed to be the owner of the rain fan page? Who decides what rain says? I think groups were a fine way of indicating that you supported something. But fan pages are supposed to be pseudo-official (at least when celebrities make them, they are required to show proof of identity). This mixture of official and random-shit fan pages just makes Facebook seem unprofessional.</p>
<p>I am all for developing tools and letting people use them for what they may. But maybe there should be some rules about superfluous junk like fan pages for &#8220;wacky waving inflatable arm flailing tubeman.&#8221;</p>
<p>OR! Maybe I&#8217;m just getting old. *sigh*</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2009/04/27/stupid-facebook-fan-pages-considered-harmful/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>I Won a Facebook Contest!</title>
		<link>http://www.hung-truong.com/blog/2009/01/22/i-won-a-facebook-contest/</link>
		<comments>http://www.hung-truong.com/blog/2009/01/22/i-won-a-facebook-contest/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 01:47:10 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
				<category><![CDATA[Facebook]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=1166</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>407</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>415</b><br />
I&#8217;ve known about this for a while, but now that it&#8217;s Facebook Official, I can make a post on it. I won a contest held by Facebook! The contest involved presenting one&#8217;s programming environment and explaining how the tools and everything were used. The contest deadline was the day after Christmas, which was cool because [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a rel="lightbox" href="http://www.hung-truong.com/blog/wp-content/uploads/2009/01/environmentmac.png"><img class="size-medium wp-image-1167 aligncenter" title="environmentmac" src="http://www.hung-truong.com/blog/wp-content/uploads/2009/01/environmentmac-500x271.png" alt="environmentmac" width="500" height="271" /></a></p>
<p>I&#8217;ve known about this for a while, but now that it&#8217;s <a href="http://www.facebook.com/note.php?note_id=46273749414">Facebook Official</a>, I can make a post on it. I won a contest held by Facebook! The contest involved presenting one&#8217;s programming environment and explaining how the tools and everything were used. The contest deadline was the day after Christmas, which was cool because I had some free time to make an entry.</p>
<p>You can see my entry above. Click on it to see the big version. Here&#8217;s the text that accompanied it:</p>
<blockquote><p>I have a shiny new Macbook Pro running OS X 10.5 for development since it’s got those command line tools I know and love.</p>
<p>(I don’t use spaces normally but it’s a good way to show everything)</p>
<p>Quadrant #1: vim is better than Emacs, let’s just get that out of the way (I hope the Facebook judges agree)! I use vim for most of my coding unless I’m working with something slightly complicated. For local editing textedit works well. I might also go with DashCode or TextMate if I feel like getting fancy.</p>
<p>Quadrant #2: I use XCode because it’s required to do any coding on the iPhone. Just between us, XCode blows. It’s pretty retarded in the autocomplete and syntax highlighting departments.</p>
<p>Quadrant #3: Firefox and the Firebug plugin are the best thing to happen to design/CSS coding since&#8230; sliced bread. I really love Firebug. Oh, and I use Cyberduck for FTPing if I’m not feeling like using scp.</p>
<p>Quadrant #4: My wallpaper consists of dinosaurs with lasers. It’s the awesomest picture I’ve found so far. When I find an awesomer one, I might think about replacing it.</p></blockquote>
<p>As per the explanation of why I won:</p>
<blockquote><p>Vim + not-windows + xcode blows + dinosaurs with lasers = win</p></blockquote>
<blockquote><p>I mean, can you beat dinosaurs and lasers?</p></blockquote>
<p>Yep, I pretty much won because of the awesome wallpaper I utilize. It really is pretty sweet. You should follow my example and <a href="http://www.hung-truong.com/blog/wp-content/uploads/2009/01/dinosaurs-lasers.jpg" rel="lightbox[1166]">use it as well</a>. Maybe it&#8217;ll win you a contest someday!</p>
<p>For my trouble, I get:</p>
<ul>
<li> <a href="http://www.amazon.com/gp/product/B001FA1NZU?ie=UTF8&amp;tag=b00003ph0-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B001FA1NZU">An iPod Touch 16GB</a></li>
<li><a href="http://www.amazon.com/gp/product/B000J2CTZI?ie=UTF8&amp;tag=b00003ph0-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000J2CTZI">A RipStik Classic</a></li>
<li><a href="http://www.amazon.com/gp/product/B000065BPB?ie=UTF8&amp;tag=b00003ph0-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000065BPB">A pair of Sennheiser HD-280 Pro headphones</a></li>
<li>A limited puzzle T-shirt (I&#8217;ll post a picture when I get it)</li>
<li><del>A job at Facebook</del> (editor&#8217;s note: I wish!)</li>
</ul>
<p>I also get the privilege of having lunch with some Facebook engineers when I&#8217;m in the area. This is probably the neatest prize of all since Facebook is way cool and I&#8217;ve never been to their headquarters before. I&#8217;ve been to the Googleplex, the Appleplex (I don&#8217;t think it&#8217;s really called that) and the Microsoft Campus in Redmond, so this is pretty much the last stop in the list of software places I need to see before I die.</p>
<p>Anyway, I&#8217;m way grateful to Facebook for liking my entry enough to make it the grand prize winner. I had fun making it. I&#8217;ve gotten a raincheck on having lunch with Facebookers, so maybe during Spring Break or over the Summer I&#8217;ll report back on how it went.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2009/01/22/i-won-a-facebook-contest/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Facebook Removing Network Pages: WTF?</title>
		<link>http://www.hung-truong.com/blog/2008/05/31/facebook-removing-network-pages-wtf/</link>
		<comments>http://www.hung-truong.com/blog/2008/05/31/facebook-removing-network-pages-wtf/#comments</comments>
		<pubDate>Sat, 31 May 2008 20:34:08 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Social Network]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=764</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>407</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>415</b><br />
I was browsing around Facebook today when I thought of checking the network pages for my universities. Network pages are interesting because you can see stuff that&#8217;s popular in your particular network. While the Network pages seem to be rarely used, I still think they&#8217;re interesting to have around. For example, here&#8217;s the statistics page [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="alignnone size-medium wp-image-766 aligncenter" title="facebook-network" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/05/facebook-network-500x171.gif" alt="" width="500" height="171" /></p>
<p>I was browsing around Facebook today when I thought of checking the network pages for my universities. Network pages are interesting because you can see stuff that&#8217;s popular in your particular network. While the Network pages seem to be rarely used, I still think they&#8217;re interesting to have around. For example, here&#8217;s the statistics page for Michigan as of right now:</p>
<p style="text-align: center;"><img class="alignnone size-medium wp-image-765 aligncenter" title="network-statistics" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/05/network-statistics-500x520.gif" alt="" width="500" height="520" /></p>
<p>I found it really difficult to find the network page today. In fact, I had to go to google and query for &#8220;facebook networks&#8221; to actually find the networks page. This is because Facebook is apparently discontinuing the network pages.</p>
<p>Now is a good time for me to ask, &#8220;WTF!?&#8221; Social networks are interesting because they have multiple variables. People know each other through networks, especially by regional and work networks. By removing network pages, Facebook is losing a pretty important source of info. I understand they&#8217;re not removing actual networks; just their pages. But still, why bother getting rid of something? They aren&#8217;t really being used, but I still like to check them now and then to get a quick overview of what&#8217;s happening.</p>
<p>Recently, Facebook seems to be closer and closer to jumping that proverbial shark. Not just because of this change, but because of changes to the developer platform as well. It&#8217;s gotten to the point where one cannot casually write applications for Facebook because the functions they use will surely become deprecated within months. Can you imagine that happening on a real OS? Combine the &#8220;alpha&#8221; hijinks of the platform with the fact that no meaningful income is being made on the apps, and you have a formula for slow, rotting death of applications!</p>
<p>Will the next Facebook please stand up?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/05/31/facebook-removing-network-pages-wtf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stats Project: Sociability of Musical Instruments Using Facebook Data</title>
		<link>http://www.hung-truong.com/blog/2008/05/08/stats-project-sociability-of-musical-instruments-using-facebook-data/</link>
		<comments>http://www.hung-truong.com/blog/2008/05/08/stats-project-sociability-of-musical-instruments-using-facebook-data/#comments</comments>
		<pubDate>Fri, 09 May 2008 03:45:29 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=740</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>407</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>415</b><br />
For my SI 544: Stats class this semester, I worked with two cool dudes, Jim Laing and Sameer Halai. Our project involved using data gathered from a Facebook application to test a hypothesis about the perceived sociability of certain musical instruments. If you recall, I wrote a blog post a few months ago about the [...]]]></description>
			<content:encoded><![CDATA[<p>For my SI 544: Stats class this semester, I worked with two cool dudes, Jim Laing and <a href="http://www.sameerhalai.com/main/">Sameer Halai</a>. Our project involved using data gathered from a Facebook application to test a hypothesis about the perceived sociability of certain musical instruments.</p>
<p><img class="alignnone size-medium wp-image-741" title="instrumentsscreen" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/05/instrumentsscreen-500x367.jpg" alt="" width="500" height="367" /></p>
<p><span id="more-740"></span>If you recall, I wrote a blog post a few months ago about <a href="http://www.hung-truong.com/blog/2008/03/08/a-tale-of-two-facebook-apps-viral-vs-non-viral-growth/">the viral vs. non-viral growth of Facebook applications that I had developed</a>. One of those apps, <a href="http://www.facebook.com/apps/application.php?id=6790812443">Musical Instruments</a>, lets you list which musical instruments you play. It&#8217;s kind of fun because some people play really whacked-out instruments (I play pianica and soprano trombone). I think playing instruments is typically a pretty social experience, which sort of led me to think about comparing the &#8220;sociability&#8221; of certain instruments to each other with the data gathered from this app.</p>
<p><img class="alignnone size-medium wp-image-742" title="instrument-select" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/05/instrument-select-500x299.gif" alt="" width="500" height="299" /></p>
<p>Users input their instruments via an autocompleting text field. If an instrument already exists in the database (and at least 3 or so users have claimed it), it will autocomplete. In the above screenshot, I&#8217;ve typed &#8220;Trumpet&#8221; and you can see there&#8217;s many different types of trumpet to choose from. A user can also type an instrument that doesn&#8217;t yet exist in the database and it&#8217;ll be added automatically. This kind of free vocabulary is nice because it doesn&#8217;t require an administrator to continuously accept new instruments.</p>
<p>The data that the application has access to are:</p>
<ul>
<li>The user&#8217;s FBID (Their unique Facebook user ID in the form of a number)</li>
<li>The instruments that the user claims to play</li>
<li>The number of friends that the user has</li>
</ul>
<p>We ended up getting 8603 rows of data (user/instrument pairs). After getting a bunch of free text instruments, we went to work classifying many of them into groups and subgroups. So Piccolo is in the group &#8220;Flute&#8221; and subgroup &#8220;Woodwind.&#8221;</p>
<p style="text-align: center;"><img class="alignnone size-medium wp-image-746 aligncenter" title="survey" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/05/survey-499x471.gif" alt="" width="499" height="471" /></p>
<p>We then generated a survey for people to rank 16 instruments in order of sociability. That is, people who play x instrument probably have more friends than y instrument.</p>
<p style="text-align: center;"><img class="alignnone size-medium wp-image-747 aligncenter" title="survey-result" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/05/survey-result.gif" alt="" width="286" height="345" /></p>
<p>The survey results showed that people thought Vocalists had the most friends and that Guitar was pretty popular too.</p>
<p>From the application data and survey results, we formed a hypothesis. We hypothesized that the instruments given high sociability rank would also have statistically higher mean numbers of friends. So people who played Guitar would have more friends than people who played Flute.</p>
<p>First, we did some basic analysis of the data using <a href="http://www.r-project.org/">R</a>, the free stats program that we were using for class assignments and labs.</p>
<p><img class="alignnone size-medium wp-image-743" title="picture-1" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/05/picture-1-500x319.png" alt="" width="500" height="319" /></p>
<p>This figure shows the histogram of frequency of number of friends. Basically, many people have 0-100 friends, less people have 101-200 friends, etc. This probably follows a <a href="http://en.wikipedia.org/wiki/Power_law">power law</a> curve, but we didn&#8217;t think it would be really important to find the alpha or anything for our purposes.</p>
<p><img class="alignnone size-medium wp-image-744" title="picture-2" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/05/picture-2-500x319.png" alt="" width="500" height="319" /></p>
<p>This is a graph of the mean number of friends, by instrument. This looks like a pretty standard <a href="http://en.wikipedia.org/wiki/Normal_distribution">normal distribution</a> and it shows off the <a href="http://en.wikipedia.org/wiki/Central_limit_theorem">central limit theorem</a> that <a href="http://www-personal.umich.edu/~ladamic/">Lada</a> is always talking about in class.</p>
<p><img class="alignnone size-medium wp-image-745" title="picture-3" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/05/picture-3-500x279.png" alt="" width="500" height="279" /></p>
<p>This is just a boxplot of all of the classified instruments and their # of friends. There are some crazy outliers; people who have 1000 friends. From this boxplot, it&#8217;s hard to make out whether or not any of the means are actually statistically significant.</p>
<p><img class="alignnone size-medium wp-image-748" title="snipimage" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/05/snipimage-500x218.jpg" alt="" width="500" height="218" /></p>
<p>Finally, we ran pairwise t-tests on each set of instruments. We could see that there was a significant difference in the mean number of friends for certain instruments. For example, Guitar and Horn, Guitar and Oboe, and Guitar and Saxophone. Looking at the mean number of friends for these instruments, Saxophone players had on average 20 more friends than Guitar players. This is interesting because Saxophone was ranked 10.7 (not very sociable) and Guitar was ranked very sociable.</p>
<p>The scope of this project was pretty small, and given some more time, I think we could&#8217;ve come up with some more interesting conclusions. Stuff like &#8220;is flute really a girly instrument?&#8221; by looking at the average number of female flute players vs male flute players and &#8220;do guitar players get more chicks?&#8221; by looking at relationship status of guitar players vs. something like trumpet players (personal burn!).</p>
<p>I was glad my Facebook app actually provided some interesting data. I&#8217;ve always been sort of skeptical to the ability of Facebook apps to be profitable. I think the data that the apps provide is very valuable in the context of social network research. Anyway, I hope you found this post to be somewhat entertaining. I&#8217;ve also uploaded the <a href="http://www.hung-truong.com/blog/wp-content/uploads/2008/05/sociability-of-musical-instruments-report.pdf">project report</a> and <a href="http://www.hung-truong.com/blog/wp-content/uploads/2008/05/sociability-of-musical-instruments-presentation.pdf">presentation slides</a> in PDF if you want to check them out.</p>
<p>Many thanks to Jim and Sameer for sharing much of the work in this project. I ended up providing data, formatting it, and presenting the final presentation, so props to my teammates!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/05/08/stats-project-sociability-of-musical-instruments-using-facebook-data/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Facebook Lexicon: Kinda Fun, But Useful?</title>
		<link>http://www.hung-truong.com/blog/2008/04/21/facebook-lexicon-kinda-fun-but-useful/</link>
		<comments>http://www.hung-truong.com/blog/2008/04/21/facebook-lexicon-kinda-fun-but-useful/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 01:20:50 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Social Network]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=726</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>407</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>415</b><br />
Facebook just recently released a fun new thingy called Lexicon. It shows you a graph of the occurrences of certain words or phrases over time on all Facebook walls. Since I do quite a lot of research using Facebook, I thought I&#8217;d take a look at it. Facebook has some suggested phrase pairs that you [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-medium wp-image-728" title="facebook-lexicon" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/04/facebook-lexicon-500x439.png" alt="" width="500" height="439" /></p>
<p>Facebook just recently released a fun new thingy called Lexicon. It shows you a graph of the occurrences of certain words or phrases over time on all Facebook walls. Since <a href="http://www.hung-truong.com/blog/2008/03/08/a-tale-of-two-facebook-apps-viral-vs-non-viral-growth/">I do quite a lot of research using Facebook</a>, I thought I&#8217;d take a look at it.</p>
<p>Facebook has some suggested phrase pairs that you can use such as &#8220;party tonight&#8221; and &#8220;hungover.&#8221; And as expected, the phrases are cyclical and you tend to see a spike in &#8220;hungover&#8221; the day after &#8220;party tonight.&#8221; But it&#8217;s worth noting that you can&#8217;t prove causation by just correlation.</p>
<p>What&#8217;s a little strange is that there doesn&#8217;t seem to be any growth going on in Facebook. Maybe they&#8217;ve normalized the data so you can spot trends, but you&#8217;d kind of assume that word counts would trend towards going up since Facebook is still supposedly growing. Or is Lexicon telling us something Facebook doesn&#8217;t want us to know about their growth?</p>
<p>Anyway, at least one question of the ages has been put to rest. According to Lexicon, shampoo really is better than conditioner. STOP LOOKING AT ME, SWAN!</p>
<p><strong>Bonus Analysis:</strong></p>
<p style="text-align: center;"><img class="aligncenter size-medium wp-image-729" title="happy-merry" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/04/happy-merry-500x286.png" alt="" width="500" height="286" /></p>
<p>It looks like the word &#8220;happy&#8221; is used more on holidays like New Year&#8217;s Day and Valentine&#8217;s Day. But the word &#8220;merry&#8221; is kind of exclusively used on Christmas. See that strangely unhappy day near the beginning of March? Since it&#8217;s a leap year, Feb 29th was included in this graph. And since less people statistically have birthdays on that leap day, the word &#8220;happy&#8221; was recorded less. Pretty neat stuff, huh? I&#8217;m sure there&#8217;s other fun stuff to dig out of Lexicon, if you were really inclined to.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/04/21/facebook-lexicon-kinda-fun-but-useful/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fun Facebook Follies (Bugs)</title>
		<link>http://www.hung-truong.com/blog/2008/04/16/fun-facebook-follies-bugs/</link>
		<comments>http://www.hung-truong.com/blog/2008/04/16/fun-facebook-follies-bugs/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 02:36:14 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Facebook]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=722</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>407</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>415</b><br />
One nice thing about constantly iterating your code is that you get new code out quickly to your users. The bad part is you probably don&#8217;t do enough testing and your users get code before it&#8217;s ready. Facebook gives you a choice to mark notifications that you get as spam. This is for when your [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-723" title="wallspam" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/04/wallspam.gif" alt="" width="423" height="73" /></p>
<p>One nice thing about constantly iterating your code is that you get new code out quickly to your users. The bad part is you probably don&#8217;t do enough testing and your users get code before it&#8217;s ready.</p>
<p>Facebook gives you a choice to mark notifications that you get as spam. This is for when your friends won&#8217;t stop sending you notifications that you&#8217;ve been bitten by werewolf them. Apparently, you can also mark <strong>any</strong> notification as spam. Even, say, Facebook&#8217;s own wall feature. Facebook&#8217;s. Wall. Feature.</p>
<p>You know what would be cool? If Facebook developers weren&#8217;t so zealous that they skip sanity checks in order to get their pushes out sooner. Unless Facebook wants users to be able to mark their walls as spam. Which is actually understandable, now that I think of it&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/04/16/fun-facebook-follies-bugs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Feature: People You May Know</title>
		<link>http://www.hung-truong.com/blog/2008/04/09/facebook-feature-people-you-may-know/</link>
		<comments>http://www.hung-truong.com/blog/2008/04/09/facebook-feature-people-you-may-know/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 03:01:31 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
				<category><![CDATA[Facebook]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=716</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>407</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>415</b><br />
Might as well be called something like, &#8220;People you befriended then removed because they were jerks&#8221; or &#8220;People you know but aren&#8217;t friends with&#8221; or &#8220;Jerks who are friends with many of your friends.&#8221; The algorithm is probably pretty simple. Facebook probably just grabs people who are not your friends but share a large number [...]]]></description>
			<content:encoded><![CDATA[<p>Might as well be called something like, &#8220;People you befriended then removed because they were jerks&#8221; or &#8220;People you know but aren&#8217;t friends with&#8221; or &#8220;Jerks who are friends with many of your friends.&#8221;</p>
<p>The algorithm is probably pretty simple. Facebook probably just grabs people who are not your friends but share a large number of friends with you. I imagine they aren&#8217;t doing any kind of interesting (mathwise) stuff like weighing friends with low degree higher and friends with high degree lower. That would mean that friends who are friend whores count less toward your &#8220;People you might know&#8221; score than friends who have very few friends.</p>
<p>And that&#8217;s why Facebook needs employees well versed in network analysis and graph exploration!</p>
<p>*HINT HINT*</p>
<p>Also, I&#8217;d really like to see a &#8220;DO NOT WANT&#8221; button for the douchebags who keep on showing up in my list of people I may know. Just because I may know them doesn&#8217;t mean I want to be &#8220;friends&#8221; with them, FB.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/04/09/facebook-feature-people-you-may-know/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>A Tale of Two Facebook Apps: Viral Vs. Non-Viral Growth</title>
		<link>http://www.hung-truong.com/blog/2008/03/08/a-tale-of-two-facebook-apps-viral-vs-non-viral-growth/</link>
		<comments>http://www.hung-truong.com/blog/2008/03/08/a-tale-of-two-facebook-apps-viral-vs-non-viral-growth/#comments</comments>
		<pubDate>Sun, 09 Mar 2008 03:39:48 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[Social Network]]></category>
		<category><![CDATA[network analysis]]></category>
		<category><![CDATA[social networks]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/2008/03/08/a-tale-of-two-facebook-apps-viral-vs-non-viral-growth/</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>407</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>415</b><br />
For my SI 508 Networks class last semester I did an analysis of one of my Facebook applications, Notecentric. Notecentric was a social network that I had written during the Summer of &#8217;06 and I had recently ported it to the Facebook Developer Platform in Summer &#8217;07 shortly after the platform had been launched. The [...]]]></description>
			<content:encoded><![CDATA[<p>For my SI 508 Networks class last semester I did an analysis of one of my Facebook applications, Notecentric. <a href="http://www.facebook.com/apps/application.php?id=2558208834">Notecentric</a> was a social network that I had written during the Summer of &#8217;06 and I had recently ported it to the Facebook Developer Platform in Summer &#8217;07 shortly after the platform had been launched.</p>
<p>The growth of Notecentric isn&#8217;t what I had hoped it would be. Not too many people use it, probably due to network effects of <a href="http://blog.facebook.com/blog.php?post=4314497130">Facebook promoting a competing app</a> (note to Facebook: if you want to promote a level playing field, don&#8217;t play favorites!) and other general performance issues (the application is pretty barebones and the RFacebook library I used to write it is pretty damn slow. It times out a lot!).</p>
<p>Anyway, I got some neat network data from it, which made the whole thing worthwhile. You can check out the original paper I wrote last semester <a href="http://www.hung-truong.com/research.html">here</a>.</p>
<p>I&#8217;m going to be presenting my analysis during the School of Information&#8217;s annual <a href="http://www.si.umich.edu/stulife/student-projects.htm">expoSItion</a>. It&#8217;s like a science fair except without the exploding volcanoes. During my Winter break, I developed another app, mainly for fun. It&#8217;s called <a href="http://www.facebook.com/apps/application.php?id=6790812443">Musical Instruments</a>. Basically it lets you list which instruments you play and see which instruments your friends play. I had somewhat higher hopes for this application as a data gathering tool, and sure enough, it seems to be doing some cool stuff on first analysis. For expoSItion I figured I&#8217;d grab some data from this new app and compare the two.</p>
<p>I ran some initial analysis on the Musical Instruments app. I won&#8217;t go over a lot of the original metrics I used (number of peers with app installed, percentage of peers with app installed, etc) and I&#8217;ll just skip to the pictures.</p>
<p>This is an initial view of the Notecentric network:</p>
<p><a title="notecentric_far.jpg" href="http://www.hung-truong.com/blog/wp-content/uploads/2008/03/notecentric_far.jpg" rel="lightbox[675]"><img src="http://www.hung-truong.com/blog/wp-content/uploads/2008/03/notecentric_far_small.jpg" alt="notecentric_far_small.jpg" /></a></p>
<p><span id="more-675"></span>It&#8217;s pretty interesting because the application has two large strongly connected components. One includes me and the many others I influenced to add the application and the other is a bunch of people from the Philippines (I think) who decided to add and invite their friends to add the application. Pretty neat stuff. But the majority of the users lie outside of the two large components.</p>
<p><img src="http://www.hung-truong.com/blog/wp-content/uploads/2008/03/notecentric_component.jpg" alt="notecentric_component.jpg" /></p>
<p>The singleton users make up about 60% of the total users, more or less, during the evolution of the application. This signals to me that Notecentric was never really that &#8220;viral&#8221; in nature. People didn&#8217;t think the application was cool enough to invite their friends and people who saw their friends add the app didn&#8217;t feel compelled to add it themselves. Fair enough; it&#8217;s a pretty nerdy app. I mean, who wants to take notes on Facebook!?</p>
<p>Here&#8217;s a picture of the Musical Instruments application network:</p>
<p><a title="instruments_far.jpg" href="http://www.hung-truong.com/blog/wp-content/uploads/2008/03/instruments_far.jpg" rel="lightbox[675]"><img src="http://www.hung-truong.com/blog/wp-content/uploads/2008/03/instruments_far_small.jpg" alt="instruments_far_small.jpg" /></a></p>
<p>It&#8217;s pretty small, so click on the image for a bigger one. This one is pretty neat. Instead of just two large strongly connected components, there&#8217;s a whole bunch! One is obviously bigger than the others, though there are quite a few clusters of users. It&#8217;s a little unrealistic to assume that this network would form into just one strongly connected component since Facebook users are generally decentralized and musicians can come from anywhere. If I did more analysis, I&#8217;d imagine that these components correspond to physical regions. Sure, there&#8217;s that &#8220;join this group if you&#8217;ve played music with someone in it&#8221; group, but I&#8217;m sure that&#8217;s not even a strongly connected graph!</p>
<p><img src="http://www.hung-truong.com/blog/wp-content/uploads/2008/03/instruments_component.jpg" alt="instruments_component.jpg" /></p>
<p>The growth of the Musical Instruments application is interesting. It follows the same sort of domination of large components (possibly due to me inviting all of my friends) but instead of letting smaller components take over, the large (size 5 or bigger) components eventually stabilize at somewhere like 55% or so. This indicates to me that the Musical Instruments application is actually better at viral growth. People seem to invite their musical friends and others want to add the app if they see it on a friend&#8217;s profile. This is also the impression I&#8217;ve gotten from the add statistics available from Facebook.</p>
<p>Overall, it&#8217;s fun to see how the differences in application usage contribute to the kind of growth that each application sees. Notecentric has been stuck at around 670 active installs for a few months now. Compare that to Musical Instruments, which has been growing by around 20 users a day, and has around 2,700 so far. The growth of Musical Instruments is by no means monumental, but it is seeing some success due to its sharable nature.</p>
<p>I&#8217;m planning on showing the images that I&#8217;ve posted and perhaps some fun statistics that show the differences in the growth of the two apps. I think I&#8217;ll also load up <a href="http://graphexploration.cond.org/">GUESS</a> on my laptop so people can check out the two networks in a more interactive setting. There&#8217;s prizes for the expoSItion of $750, $500 and $200 for first, second and third place, respectively. There&#8217;s also a $500 and $250 prize from Microsoft for entries specifically in Social Computing (which my project should qualify for). So hopefully I&#8217;ll make a few Benjamins for my work!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/03/08/a-tale-of-two-facebook-apps-viral-vs-non-viral-growth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
