Topic-icon tab and canvas intergation

Active Subscriptions:

None
12 years 8 months ago #12614 by fb_73300008
I have everything setup according to the documentation but when I view the application I working on I receive a blank screen. I have noticed if I choose a different template I can at least see some words but nothing else. Is there any guidelines to choose or creating a template that fits facebook. I thought it was just a iframe and have built facebook apps before so just a little lost. Thanks for the great component!!!
home page
www.reggiebachus.com/
Facebook
www.facebook.com/pages/Reggie-Bachus/247756355252842?sk=wall
The topic has been locked.
Support Specialist
12 years 8 months ago #12624 by alzander
Replied by alzander on topic tab and canvas intergation
We need to do better on the documentation, make things even more automatic, and easier to debug. Sorry about that, but we'll help you out however we can.

Yes, it's an iFrame to your site. Basically, what we do is detect when the user is seeing your site through Facebook, and basically add a ?template=your_template to the current URL. In addition, if you have 'Enable Automatic Resizing' enabled, we'll set a CSS style on the body tag to force the width to be 520px for a Tab or 760px (I think) for a Canvas as well as add some Javascript to automatically resize the page vertically.

So, a good way to test what 'should' show up is to take the URL you have set in the Page Tab configuration (what should show in the Page), paste it in your browser, and add ?template=tab_template.. where tab_template is the template you've selected to show in the Page Tab.

To create you're own Page Tab specific template, generally, you'll want to copy the closest template you have to what you want, make the overall body or container width 520px with 0 margin and 0 padding. Then, just make it look good from there.

Finally, when I look at the page (Clicking the Reggie Bachus page tab), I see an About Me article.. not sure if that's from JFBConnect or not, but I do see it.. just so you know.

Glad you're liking JFBConnect, and hope we'll get you past your current problem soon!
Alex
The topic has been locked.