Up vote 0 down vote favorite share g+ share fb share tw.
Here's what I am trying to do: set up my website as a FB app, inside a FB tab when 1st page of my site is entered, automatically bring up the FB login panel to require the user to log in to FB, and get permissions for writing to the wall etc. I'd prefer that this is not a popup window (since popup blockers will block it unless it's triggered by a click, which I don't want it to be), but instead a JS modal panel. Once the user is logged in, the iframe (app) page should refresh in order to start to show the site content. So basically I don't want to show any content from my site until the user is actually logged in to FB, so that my site/app can fully interact with FB on their behalf.
What I've tried: 1 - using a basic FB button: This has a few shortcomings: requires a click, uses popup window rather than iframe; therefore more susceptable to being blocked, and not working on kiosk browsers doesn't refresh the FB page that it's embedded in, so the outer page still looks like the user is not logged in, while the iframe content does act as though it's logged in doesn't refresh the inner content of the iframe; just toggles the login button. I think I can change the refreshing behaviour by FB.Event. Subscribe('auth.
Login', ... ) but I'd really rather be giving the user a panel for logging in to FB as soon as they hit that page, and inline rather than popup window. 2 - I tried the following code to force use of an iframe: FB. Ui( FB.
Copy( { method: 'permissions. Request', display: 'iframe' }, { scope: 'email' } ), null ); Shortcomings: there are some scope options that force the dialogue to be presented in a popup instead of the requested iframe. I'm not quite sure why that is but it seems to be fundamental.
A button appears in a JS iframe saying that you need to log in; however this link replaces the entire page with the login panel from facebook.com/login.php and hence when you log in it has forgotten where you came from. I tried using the FB.Event. Subscribe technique but that didn't work at all (no effect whatsoever).
So I'm still looking: is it possible to get a login and/or authorisation panel that opens in a JS modal window when viewing the 1st page of a FB Canvas app? Then returns to the canvas page once login is complete? If so, how?
Thanks for any help. Javascript facebook facebook-connect link|improve this question asked Dec 12 '11 at 6:29buzzki11.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.