views:

6927

answers:

4

Does anyone have a simple and successful demo implementation of facebook connect in an asp.net application. I am developing an asp.net web application and want facebook connect to be the primary method for logging in.

A: 

try to use the toolkit called Facebook Developer Toolkit

you have in Steve Blog a post about it, and you even download he's Starter Kit so you can view all the code :)

Hope it helps

balexandre
Facebook Connect != Facebook App. Connect is like OpenID
John Sheehan
had no idea :) sorry
balexandre
+1  A: 

I know you asked for ASP.NET resources. The Facebook Connect page provides some good information as well as the source to a sample implementation using PHP. Hopefully you can pull some good information from the PHP code.

http://developers.facebook.com/connect.php Check out the links on the right side.

The provided demo can be accessed here... http://www.somethingtoputhere.com/therunaround/

JWD
+3  A: 

I was having troubles as well, but found that this stackoverflow question got me on the right track as far as the server side stuff is concerned

However, First you have to get the facebook connect button working from here Facebook Wiki

Then detect if they are logged in or not and redirect them appropriately to a welcome page. Detect login via Javascript

Most other actions can be done via serverside with the Facebook ToolKit. (eg get their information, friends, etc..)

The last thing I think I should mention is logging the user out, so take a look at this. Facebook Wiki: Logout

Hope this helps

Arron
A: 

Hi,

I have recently blogged a couple of articles when I was learning facebook connect;

http://www.lordyz.co.uk/tag/facebook-connect/

Hope you find them useful. Please leave comments and follow me on twitter (chrislord) if you do.

Cheers

Chris

Chris Lord