Topic-icon Facebook App using Joomla

Active Subscriptions:

None
12 years 1 month ago #21274 by andbal1
Replied by andbal1 on topic Facebook App using Joomla
Hi, this is not correct, how can i check if my Page Tab is loading socialapp.adgroupsolutions.com? In my facebook developer control panel it is setting on right url bettinibio.adgroupsolutions.com and on other browsers all is ok. where i can modify this redirect?
The topic has been locked.
Support Specialist
12 years 1 month ago #21324 by alzander
Replied by alzander on topic Facebook App using Joomla
Andrea,
I'm using Chrome developer tools. When the Facebook Page tab loads, you can use the tools (Wrench -> Tools -> Developer Tools) to inspect each element of the page. If you inspect the inner iFrame that's loaded in the Page Tab view, the very top of the head section has the following line:
<base href="https://socialapp.adgroupsolutions.com/">

Can you check the application settings in the Facebook Developer area for the Application with ID 141390929292842 and tell me what's setup for the Page Tab and Secure Page Tab URLs? This information should also be shown in the JFBConnect Canvas - Page Tab section, but I'd check the developer area to make absolutely sure.

Finally, please note that redirects can occur within the Page Tab area. If there's something on the bettinibio subsite that would redirect the user to the other socialapp site, that may be what's happening.

Please let us know. We were mostly out for the holiday weekend here in the United States, but we'll help how we can the rest of the week.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 1 month ago #21343 by andbal1
Replied by andbal1 on topic Facebook App using Joomla
Hi, tx for your reply, i didn't find the issue about redirect but restoring the site now all is ok, you had right, the problem was about redirect to another domain. Tx again for your help in this long thread

PS many posts ago i have spoken about absolute link in the canvas page; the solutions is simply write the app url (for example apps.facebook.com/bettinibio/) and add second part of joomla url (i mean url after domain) seo friendly or not as you setting in joomla control panel
The topic has been locked.
Support Specialist
12 years 1 month ago #21358 by alzander
Replied by alzander on topic Facebook App using Joomla
Andrea,
Very glad to hear you got it going. Thanks for the tip about the Canvas URL. In the upcoming 4.2 release, we'll have a way to auto-configure and recommend the settings for your application within JFBConnect, and hopefully, that will minimize some of the confusion.

Best of luck,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 3 weeks ago #21567 by Ivan
Replied by Ivan on topic Facebook App using Joomla
Hi I was reading the posts above. Would enabling Authenticated Referrals pop up the permissions before loading the iframe site and then auto login and user creation for Requests?
The topic has been locked.
Support Specialist
12 years 2 weeks ago #21586 by alzander
Replied by alzander on topic Facebook App using Joomla
Ivan,
Yes, that's the idea of Authenticated Referrals.. when a user clicks a link from within Facebook that redirects to your Application, they will automatically get the login popup.

It should be easier with 4.2, but still not guaranteeing it will work out of the box. It will definitely be something we help anyone implement as needed as we plan to have it a 'feature' of either 4.3 (if a lot of work is required) or even with a 4.2.x bug-fix release, if not much work is needed.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 2 weeks ago #21590 by Ivan
Replied by Ivan on topic Facebook App using Joomla
Hi,

Just want to let you know that I have made the changes to 4.2.1 as you mentioned above an it does auto login a user from a request. However from the page where i have my app it doesnt not prompt me with a dialog box and it doesnt not auto log new users in. Does anyone know if this is a facebook bug. Not sure why it works for request and it doesnt work from app link on facebook page.
The topic has been locked.
Active Subscriptions:

None
12 years 2 weeks ago #21600 by andbal1
Replied by andbal1 on topic Facebook App using Joomla
Hi Ivan, i had same issue and i solved it using redirect; in the page tab url of your facebook app panel, set an html page with this code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>APPNAME</title>
<script>
                parent.location.href = 'https://apps.facebook.com/APPNAME/';
</script>
</head>

<body>

</body>
</html>

maybe this is not a professional solution but i'm not a programmer and it works
The topic has been locked.
Support Specialist
12 years 2 weeks ago #21621 by alzander
Replied by alzander on topic Facebook App using Joomla
Andrea,
I believe your solution is the correct one. I'm pretty sure that Authenticated Referrals do not work within Page Tabs, only for the Canvas (apps.facebook.com/appname) view of your application.

This is a Facebook restriction, so yes, if you want the user to have to log in when going to your Page Tab, you actually have to redirect them to your Canvas.

Thanks for the code snippet!
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 2 weeks ago #21624 by Ivan
Replied by Ivan on topic Facebook App using Joomla
Alex could you provide some instructions on how to go about setting this up. Where exactly do i create the page. Im using joomla CMS. What settings in facewbook.com/developers do i need to change?
The topic has been locked.