ASP.NET facebook application “Hello World!”
Here is a quick article to make a quick facebook application in ASP.NET that can be added to facebook pages as well.
First you need to setup a new application in facebook. You can do so in http://www.facebook.com/developers. I am not writing details of the application setup. Here is one nice link for its help: http://developers.facebook.com/get_started.php
Then download ‘Facebook Developer Toolkit’ from http://www.codeplex.com/FacebookToolkit and add references to your web-project.
Add a new aspx page, clean up all the contents of the page, even tag and tag. Facebook application does not support those tags. In this article, I will render contents using Response.Write()
In codebehind, inherit the page class from facebook.web.CanvasFBMLBasePage
Then create a page init handler subroutine as shown below:
