× Joomla Facebook Connect support forum

Topic-icon Can i connect fambox to facebook page?

Active Subscriptions:

None
Hi and thanks for a great component!
I wonder how I can connect fanbox to my facebook page? I had a other fanbox before but It stop working after I install JFBConnect, that fanbox was connected to facebookpage. Is it possible to solve it?

Best regards Peter - www.tillsyn.com
The topic has been locked.
Support Specialist
15 years 9 months ago #4668 by alzander
Right now, the social modules use the app page ID for grabbing their data. We'll be adding a parameter to the modules to allow you to override this value with a different one (for a separate page, for example) soon. We wish Facebook would let users combine Apps and Pages, in all honesty, but they're somewhat separate in Facebook's eyes.

If you'd like to add this manually until we add the parameter, and you're comfortable modifying a line of code, you can edit the following file:
/modules/mod_jfbcfan/tmpl/default.php
On line 25, update the beginning of the line with your Page's ID, by hard-coding the profile_id variable like so:
<fb:like-box profile_id="123456" width="

Replace 123456 with your Fan Page ID. If you choose to do this, please let us know how it goes. We haven't tested this yet, so would love to hear your results.

Thanks!
The topic has been locked.
Active Subscriptions:

None
Thank you for the fast answer the connection work and I get my fans from my page. But the module goes over the hole page not the 200 pix I have write in do you know why? You can see the page at www.tillsyn.com
The topic has been locked.
Active Subscriptions:

None
Bump, I cant find what's wrong with the module now if I have 9 people it goes over outside the module. The text "Facebook social plugin" create a line over the hole page.

The code in /modules/mod_jfbcfan/tmpl/default.php that i change is now : <fb:like-box profile_id="3770038xxxxxxx" width="<?php echo $appId;?>" width="<?php echo $width;?>" ........ and so on

any idea what's wrong?
The topic has been locked.
Support Specialist
15 years 9 months ago #4709 by alzander
I tried to log into your site at the end of last week, but was unable to find the FanBox module. Can you link to the exact page that it's on along with where I should see it?

This is regardless of whether I'm logged in (through JFBConnect) or not logged in at all.

Thanks
The topic has been locked.
Active Subscriptions:

None
15 years 9 months ago - 15 years 9 months ago #4714 by fb_100000117726806
Hi alzander,
You see the problem on tillsyn.com/index/ and also on tillsyn.com/index/index.php?option=com_agora&Itemid=53.

The fanbox is on left side after the login modul (logga in) and calls facebook (schroll down a little). You should see the problem, I tried with firefox and explorer it is the same.

ps i tried Chrome on the page and fan-box do not appear in Chrome if you use that webbrowser .
Last edit: 15 years 9 months ago by fb_100000117726806.
The topic has been locked.
Active Subscriptions:

None
I find that my page became huge width my guess is that <fb:like-box profile_id="3770038xxxxxxx" width="<?php echo $appId;?>" width="<?php echo $width;?>" define the width, can it be so?

You can scroll the page to the right for long time.
The topic has been locked.
Support Specialist
15 years 9 months ago #4719 by alzander
There's your problem. You're setting the width twice. The first time, you're using the application ID, which is a very, very large number. That's what Facebook is using to set your width.

You should be able to remove that width="<?php echo $appId;?>" setting from that line, and hopefully all will be good.

Let us know how it goes!
The topic has been locked.
Active Subscriptions:

None
Thank you alzander its works now, even in chrome :)

Really great support from you,

Thanks again / Peter
The topic has been locked.
Support Specialist
15 years 9 months ago #4724 by alzander
Great to hear it works, and always like to hear when our customers are happy with our support.

If you have any other questions, you know where to find us. If you'd like to leave a review of JFBConnect (or our support) on the Joomla Extension Directory, we'd really appreciate it. You can even just vote, which is very fast.
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks!
The topic has been locked.