My application hosted on Facebook canvas page. I don't use the Facebook Connect Login and user sign-in directly into Facebook. How can I know current signed-in user ID ?

Nov 18, 2009 at 4:56 AM
Edited Nov 18, 2009 at 5:12 AM

Hi all
Thank you very much for sharing the developer toolkit.

I want to build an IFrame or FBML application which will be hosted on a page on Facebook (by the url http://apps.facebook.com/my_aaplication/). My application has a flash panel which allow user draw and save his/her own images, so it need to know who the user is signing into Facebook. Because my application must be hosted on a page on Facebook, so I don't use the Facebook Connect Login and user will have to sign in into Facebook directly. And after user sucessfully sign in into Facebook, my application need to know the signed-in user ID to load corresponding images. I also know when I choose the render method is IFrame, Facebook will send to my application a request with some fb_sig parameters but I don't see any parameter named "fb_sig_user" to get the current signed-in user ID although I have already signed-in into Facebook before.
The request URL I have catched is "http://vietnam.krestondts.com.au/?fb_sig_in_iframe=1&fb_sig_iframe_key=70efdf2ec9b086079795c442636b55fb&fb_sig_locale=en_US&fb_sig_in_new_facebook=1&fb_sig_time=1258519357.9199&fb_sig_added=0&fb_sig_api_key=d04271d994a48785a573f88dbb57c665&fb_sig_app_id=181572977553&fb_sig=87603be1787f92331ee2544a52412ce7"
As you see, there isn't any parameter has name is "fb_sig_user". Is there anyone can tell me a solution ?

I've also tried the sample named "FBML" in the Samples folder of the Facebook Developer Toolkit 3.0, and there're still some errors but I can't understand why. I've already choose the application's render method to FBML. Below is the error message I saw:
"Errors while loading page from application
The URL http://vietnam.krestondts.com.au/home.aspx did not respond.
Please try again later. We appreciate your patience as the developers of Eric Flash and Facebook resolve this issue. Thanks!".
Is there anyone has seen the same error ?