Hey dave i decided to open a new issue! Hope i can make myself clear .
what i'm trying to do is to make an iframe app that will Create Local Accounts ,and can a use XFBML markup inside the iframe .
issue:
I decided to make two apps One to be used as a main facebook app, and the other one to turn on Fb connect and being able to use XFBML.
when both apps ( app & connect ) are "Allow anyone" there is no problem i'm able to use XFBML, and i'm able to navigate inside the iframe without leaving Facebook. But as a Anonimous user.
when i turn on "Allow logged-in users" ( in the app) i can land to main page ( iframe) But XFBML does not work , when i click in whtvr link ( ex: http:www.domain.com/fb_cb/1/node/1) it redirect me to a blank page http://www.facebook.com/login.php?api_key=47cMyapikey99999999999999v=1.0&next=http%3A%2F%2Fedomain.com%2FMYsubfolder%2Ffb_cb%2F1%2Fnode and then to http:www.domain.com/fb_cb/1/node/1 but outside the iframe .
.
so everytime my app point to a...... fb_cb/1/ link it redirect to my Drupal page ,and does not work xfbml . when the iframe app is anonymous and point to a regualar drupal page a everything is ok including XFBML ,
Comments
Comment #1
Dave Cohen commentedDon't use two applications for this. For canvas pages with iframes, both the FBML portion of the page and the iframe inside should be the same application. Otherwise all bets are off for session management and just about everything else.
I realize there may be a bug here but I can't help with that configuration. Set it up as one app and report what's going wrong.
Comment #2
leovarg commented* Hey Dave, Just made the Homework., putting everything in one app., when ( Anonymous) Allow anyone- , it works XFBML and I'm able to navigate inside fb:ifrane ,
Problem
* When Allow logged-in users- : as soon as i check the field it redirect me to this page below even when i point my browser to my domian name.
http://www.facebook.com/login.php?api_key=47c8a8d044ca8edxxxxxxxxxxxxx&v=1.0&next=http%3A%2F%2domain.com%2Ffolder%2Fadmin%2Fcontent%2Fnodeand don't let me login into my siteTha'ts is in the site side
in the app side as soon as a Point my browser to my app, app.facebook.com.app, I get to the Facebook Authorization page then i land to the app and automatically redirect me to this adress outside Facebook
http://mydomain.com/folder/fb_cb/1/fb_connect/receiver?auth_token=76b1e5f755d782cxxxxxxxxxxxxxxxxwhat do you think?
Comment #3
Adriana22 commentedI'm also stock Here , same problem using DFF connect and App modules.
Comment #4
leovarg commentedIf anyone has the same problem! using xfbml markup inside an iframe! when . connect + app.
use!
insted of
Took me 2 weeks! Lol
..................
Oops well actually does Not work in IE. @()@(#, But it works inFIrefox
Comment #5
13rac1 commented