Closed (works as designed)
Project:
Drupal for Facebook
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Mar 2011 at 13:53 UTC
Updated:
19 Sep 2012 at 23:56 UTC
Jump to comment: Most recent file
Comments
Comment #1
Dave Cohen commentedNo, I think in most cases that is the desired behavior.
There is some code that rewrites the links and can be disabled. See the canvas pages tab on facebook app admin page.
Do you want canvas pages to link to canvas pages or back to the website?
Comment #2
Michsk commentedA canvaspage is a canvaspage, i do not want it to link back to the website. That is good as it is.
My issue is that when i have a tab, and include that in my page (on facebook). Click on that tab, it for one second shows the canvaspage and then redirects / refreshes me directly to the canvaspage it self. So i am not any longer on my facebook page, but am redirected to the canvaspage itself.
That can not be desired behavior, desired would be that i view the tab content on my facebookpage.
Comment #3
Dave Cohen commentedFacebook only recently introduced tabs that are iframes. Until that, each tab was FBML, and it was desirable to get off the tab to display other pages.
Agreed this should be an option for iframe tabs.
Comment #4
ndf commentedGot this working with Drupal for Facebook 7.x-3.x-dev.
Behaviour tab: when page is loaded as tab -> when clicking on links, you stay in tab, In a tab user is always 'anonymous'. Url's in iframe look like this 'https://*MY-FBAPP.COM*/menu-item'.
Step 1: configuration drupal-for-facebook /admin/structure/fb
Page tabs -> uncheck 'Enable processing on iframe tabs. ', check others
Step 2: configuration url's on https://developers.facebook.com/apps/*YOUR-APP-ID*/
click 'Edit app' button righttop screen
Page Tab URL -> https://*MY-FBAPP.COM*/fb_cb/*YOUR-APP-ID*/
Secure Page Tab URL -> https://*MY-FBAPP.COM*/fb_cb/*YOUR-APP-ID*/
You can be authenticated on the normal app-domain (https://*MY-FBAPP.COM*) or http://apps.facebook.com/*your-app-name*/
Comment #5
yareckon commentedI'm new to facebook development, so this may be stupid, but why is an app tab always anonymous?
I basically want to provide an app tab that works exactly the same way as a canvas page, i.e. logging folks, in or creating new users. According to facebook, once a user has authorized your app you can query their data over the graph api even on a tab no? Why doesn't fb.module try to do this, and create new users / log them in? Is it a timing thing?
Comment #6
mrf commentedI can confirm with #4 that this works as designed.
I'd like to see this setting configurable by tab, but I'll open a separate issue for that.
Comment #7
mrf commentedIssue for configuring this setting for individual tabs #1789690: Enable / Disable url rewriting on a tab by tab basis