Writing Facebook Application in Dot Net(.net)

Developing facebook application in .net can't be simpler as it is with Facebook SDK provided by Microsoft.

Download SDK

http://facebooktoolkit.codeplex.com/

Extract the dlls and add reference to your asp.net web project.

Edit Web.config and add appSettings section and add following details

web

Drive main page from CanvasFBMLBasePage and set the base.RequireLogin property to true, to restrict user of the application to login to facebook before using your application.

page

CanvasFBMLBasePage
{

Now u can use any API method to do whatever u want :)

Remember to remove html and body tag from .aspx page

Written by admin on January 1, 2010 under Uncategorized.

Comments

No Comments

Add a Comment

* means field is required.

Name *

Mail *

Website