Resources on How to Write a Facebook Application

I’m working on a rather data-intensive Facebook application as we speak, using the Facebook Developer’s Kit for .NET, which I described in an earlier post. After hearing about how iLike went from 0 to 3 million users in one week, I am a bit paranoid about targeting performance bottlenecks before I let this thing rip; I don’t want to be known as that kid who made the Facebook App that failed to account for rapid scalability!

Regardless, I’m amassing some reading materials for developing Facebook Applications, and while there are not a lot of resources out there for .NET specifically, there are some good tips in general. Here’s my list:

  1. How to Write a Facebook Application in 10 Minutes
  2. 5 Facebook Application Gotchas
  3. 10 Things That Would Have Been Nice to Know When I Started My Facebook Application
  4. Finding Sample Code for Facebook Applications
  5. 10 Tips for Releasing your Facebook Application, and Maximizing Growth
  6. How to Develop a Hit Facebook App: 29 Essential Tools and TutorialsYOUR BEST HOPE

In addition, I wanted to follow up on my 10 GDI+ Resources for ASP.NET Developers post by adding that I found a really kickass custom server for automatically doing graphs and I will be including it in my Facebook application; it’s a custom chart control from the CodeProject, which you should check out.

I’ll be posting some results for my own Facebook Application within a couple of weeks, but I still have a ton of work to do on the data layer, business layer, and I haven’t even thought about the presentation layer yet, but that’s what these articles are for!

[Post to Twitter] 

If you enjoyed this post, make sure you subscribe to my RSS feed!

Comments 6

  1. vjeran wrote:

    I wonder do u make your CSS layer or do u follow facebook css.

    Posted 01 Aug 2007 at 8:28 am
  2. Aaronontheweb wrote:

    If you’re using an iframe I’d imagine you’d have to make your own duplicate copy of the Facebook CSS code, as I don’t think you’d be able to inherit the CSS properties on the Facebook page opening the iframe itself. According to the facebook developer’s wiki you’re not allowed to reference external stylesheets but I assume that this is only for FBML applications. Correct me if I am wrong.

    If you are, in fact, not allowed to use an external stylesheet for Iframe applications, I suppose you could always just create a server-side include that writes a style element to the header of your HTML output.

    Posted 01 Aug 2007 at 10:43 am
  3. Ian from www.thenewsroom.com wrote:

    This one provides an excellent monetization model…http://apps.facebook.com/thenewsroom

    Posted 04 Aug 2007 at 8:58 am
  4. scott wrote:

    No external style sheets; even within an iFrame.

    Posted 05 Dec 2007 at 12:58 pm
  5. Aaronontheweb wrote:

    On the iframe page itself (i.e. the page hosted on your own server) you can still use external stylesheets, just not on pages that render any FBML.

    For my FBML applications I actually use an external stylesheet that gets parsed by a User Control into

    tags by the file system at run-time.

    I then use declarative output caching (2 hour duration, shared across all HTTP requests) to decrease the number of hits to the file system to a negligible number (the file system is hit only once every 2 hours regardless of the number of HTTP requests).

    Posted 06 Dec 2007 at 4:57 pm
  6. Chris wrote:

    You might want to also consider giving zembly a try. zembly (http://zembly.com) is a new kind of integrated development environment (IDE) from Sun Microsystems that offers developers streamlined, collaborative, browser-based development and cloud hosting for social applications, widgets, and web APIs. Zembly targets applications for Facebook, OpenSocial, meebo, and general web platforms.

    Posted 15 Mar 2009 at 9:21 pm

Post a Comment

Your email is never published nor shared. Required fields are marked *