Active
Project:
Drupal for Facebook
Version:
7.x-3.x-dev
Component:
Page Tabs (iframe)
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2012 at 16:45 UTC
Updated:
15 Jul 2013 at 11:48 UTC
Jump to comment: Most recent
Comments
Comment #1
eMuse_be commentedI did some more research and it seems the problem is that the action is not correctly rewritten for webforms:
action="/fb_cb/APP_KEY/fb_tab/view"
this should be /fb_cb/APP_KEY/fb_page/APP_SECRET/node/1 like on the other forms.
Can anyone help me find out where this action is rewritten ?
Comment #2
Dave Cohen commentedHmmm.... When you say "like other forms", how are you seeing other forms? Are you showing more than one on a page?
action="/fb_cb/APP_KEY/fb_tab/view" does not look so bad. Maybe it should be /fb_cb/APP_KEY/fb_page/PAGE_ID/fb_tab/view (note: PAGE_ID not APP_SECRET. You should never see the secret in a URL).
The trick is that fb_tab/view is displaying your webform. the fb_tab/view callback has logic to display the pages you specified in your app settings on drupal.
I wonder if drupal is losing your session when the form is submitted. That would explain an error, but not a white screen. The white screen usually means some fatal php error. Check apache error logs and see if you can make PHP more verbose. Those can be tricky to track down but there probably is an error message somewhere.
Comment #3
Donal commentedHi, Dutchie,
I don't suppose that you could share whether you resolved this issue. I am facing it now exactly, and any information you could provide about how you overcame it would be very helpful.
Thanks,
Dónal
Comment #4
mstef commentedWebform shows for me, but when you submit it, you leave FB and go to your site directly.
Comment #5
mstef commentedActually happening with all forms. This module added target="_top" to all forms which causes the popup. But removing that causes the form to do nothing on submit.