Hi,

I have been juggling between 6.2 and 6.3 in various instances, I am following the readme and documentation on drupal.org. My app setting is to require login on all canvas pages, so my facebook user visiting the canvas iframe app for the first time gets redirected to Authorization page ( $fb->require_login automatically does that - http://developers.facebook.com/blog/post/116 )
and in the url I can see that &next is set properly to apps.facebook.com/my-app but when I click Allow on the authorization page, it takes me to http://myserver.com/callback_url?installed=1&session={...} when it should have ideally gone to apps.facebook.com/my-app

Btw, this happens only on the authorization screen, If I manually visit the url to apps.facebook.com/my-app it is working fine and was authorized fine. Its just a very bad UX when the first time user is redirected to my server :(

Am I missing something? I have been able to reproduce it couple of times on fresh drupal and DFF modules only instance. Anyone else facing this?

CommentFileSizeAuthor
#2 README.patch928 bytesdipen chaudhary

Comments

dipen chaudhary’s picture

Can anyone confirm that they are NOT facing this issue or they are? This will give the issue a closure or will open it up for discussion?

dipen chaudhary’s picture

Status: Needs review » Closed (fixed)
StatusFileSize
new928 bytes

Ok, All my miseries suddenly seemed to have ended because in my juggling through instances I forgot to change ini_set('arg_separator.output', '&'); which was due to my not following online documentation but only relying on the README.

I would suggest to put it in README, I am attaching a patch against 6.2.x-dev, see if this makes sense.

Also looks like 6.3-dev does check for this anamoly and present with a warning, I dont see that on RC and I think a release should be made with the new README coz really something silly as this could be missed and DFF relies too much on setting up the instance properly.

Thanks

dipen chaudhary’s picture

Status: Active » Needs review

Oh I accidently closed it, putting it to needs review.

gabash’s picture

Status: Closed (fixed) » Active

@dipen i have the same issue.
any news with Can I get user email and password when "map account" is enable?

Dave Cohen’s picture

Status: Active » Fixed

The arg separator business is a problem in 2.x, but not 3.x as far as I know. The fb_devel.module attempts to warn you about this. Enable fb_devel.module first, when you encounter any problem!

gobash, if you have the same problem, have you tried the same solution?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.