<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Slash Dot Dash: My first Facebook app (using Rails)</title>
    <link>http://www.slashdotdash.net/articles/2007/07/01/my-first-facebook-app-using-rails</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Rolling on Rails</description>
    <item>
      <title>My first Facebook app (using Rails)</title>
      <description>&lt;p style="float:right"&gt;&lt;img src="http://www.slashdotdash.net/images/cheezburgernow.gif" alt="" /&gt;&lt;/p&gt;


	&lt;p&gt;Is &lt;a href="http://www.facebook.com/"&gt;Facebook&lt;/a&gt; the future of the internet? A tricky question to answer but I thought I&amp;#8217;d jump straight in and create my first &lt;a href="http://apps.facebook.com/cheezburgernow/"&gt;Facebook application&lt;/a&gt; using Ruby on Rails.&lt;/p&gt;


	&lt;p&gt;As seen in &lt;a href="http://www.slashdotdash.net/articles/2007/04/25/lolcats-meme"&gt;one of my previous blog posts&lt;/a&gt; I&amp;#8217;m a fan of &lt;a href="http://en.wikipedia.org/wiki/Lolcats"&gt;lolcat pictures&lt;/a&gt; which gave me the perfect idea for a basic Facebook app. Display the latest lolcat pics from &lt;a href="http://icanhascheezburger.com/"&gt;icanhascheezburger.com&lt;/a&gt; (&lt;strong&gt;the premier&lt;/strong&gt; lolcat wesbite) and allow users to chose one to show on their Facebook profile.&lt;/p&gt;


	&lt;p&gt;I used the &lt;a href="http://rubyforge.org/projects/rfacebook/"&gt;rfacebook&lt;/a&gt; Ruby gem to handle the heavy lifting required to ensure Facebook users are logged in and have added your application correctly. This meant that creating the actual application was quick and easy (just 265 &lt;span class="caps"&gt;LOC&lt;/span&gt; reported by &lt;code&gt;rake stats&lt;/code&gt;). A detailed guide to creating a Rails-based Facebook app will be the subject of another blog post.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://www.facebook.com/apps/application.php?api_key=a182a9623853442bca18b5f0012ba7a9"&gt;&lt;strong&gt;Further details about my Facebook app &amp;#8211; lolcats&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 01 Jul 2007 16:03:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:a45a98a4-995e-4520-bbb1-b9d61804bd26</guid>
      <author>ben@slashdotdash.net (Ben)</author>
      <link>http://www.slashdotdash.net/articles/2007/07/01/my-first-facebook-app-using-rails</link>
      <category>Ruby on Rails</category>
      <category>Amusing</category>
      <category>Facebook</category>
    </item>
  </channel>
</rss>
