Download & Extend

Form redirect destination works in Drupal, but not through facebook

Project:Drupal for Facebook
Version:6.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I've got a form set up here:

http://drupal6.ngphost.com/facebook

It's set to redirect you to here and does work when you fill it out on the Drupal site:

http://www.facebook.com/pages/Webolutionary/92962103354

I set it up in a tab on my Facebook page here:

http://www.facebook.com/pages/Webolutionary/92962103354#/pages/Webolutio...

When I submit it there, it submits correctly, but then it tries to redirect to here:

http://apps.facebook.com//node

Obviously a 404. What's going on here? Redirecting to a page within the Drupal site doesn't work either. You always end up with http://apps.facebook.com//[drupal path]

Comments

#1

having the same issue. you ever get this to work?

#2

For starters, can't do a redirect from a tab. At least last time I tried (everything changes all the time!) That's facebook's rule, not mine. But in your case it seems to almost be working, so maybe that has changed.

Does your application have a canvas URL? Do you have fb_canvas.module enabled? This URL, http://apps.facebook.com//node looks like DFF is trying to compose a URL for a canvas page, but has no canvas path to work with.

#3

So I think what's happening is fb_canvas.module is mucking with your form's #action, but not doing it correctly. If so, explicitly settings the form's #action to an absolute URL, like http://drupal6.ngphost.com/facebook, might work.

#4

Component:Canvas Pages» Code

I have the same issue.
Did you solve this ? If yes, please post here your solution.

#5

I´m not using canvas, and people gets redirected to their user profile account, and not to the link they were before log in.
I´m trying to solve this with a rule (I´m using rules module aswell), unsuccessfully...

nobody click here