Talk:Facebook Connect Tutorial1

From Facebook Developer Wiki

Jump to: navigation, search

I think the following line is missing from the source code (to be placed just after the <body> tag):

<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>

Otherwise it doesn't work.

[edit] Doesn't calll

I followed religiously the tutorial. The page run and shows the facebook button. When I click the button a popup window appears. The popup show a form and let me login. When I login though the popup window shows the application canvas and do not close. The function 'update_user_box' is never called.

Did I do something wrong?

Hi, the tutorial works for me when I tried it just now. Don't call update_user_box twice; just use the onlogin handler to call it, and take it out of FB.init. Let me know if that works. Pete -- 563683308 14:38, 11 November 2009 (PST)


[edit] Part 2?

Great tutorial! I have been searching for something that covers more than signing up for an API key and adding a login button - but without jumping to the PHP example. I don't understand PHP - so an example covering server-side authorization without using code is just what we need more of.

Cheers.

reference