Topic-icon No Facebook Login & wrong facebook path

Active Subscriptions:

None
11 years 8 months ago #47226 by nitram
I hope you can help I have just downloaded JFB Connect so still new on this program, I have three problems as follows.

1 You cannot login via facebook, when you hover over the Facebook button a box appear stating Javascript void(0) this makes me think I have to goto Facebook Developer site and load up the login script on to my site, but your documentation indicates it should just work when you have used autotune. please tell me more.

2 On facecook I used my name as my site with my business being a business within my name, problem is I can share to my timeline (myname) but the Likes also go (to myname) and not (myname/business) where can I find how to change the facebook path to (myname/business) that way all Likes and share will goto (myname/business)

3 Using autotune it idicates Test 2: Facebook Javascript library inclusion

Fail: Another Facebook extension is installed, including the Facebook Javascript library, and may conflict.

My template has social icon buttons on it which I disabled but it still gave the same error message and there is no other facebook apps installed, any thoughts

thanks in advance

nitram
The topic has been locked.
Support Specialist
11 years 8 months ago #47230 by alzander
1) Javascript void(0) is normal to see in the link hint for where a click will take you. The link is actually executing a bunch of Javascript that will log the user in, when things are working properly. I just tested on your site though, and the Facebook authentication popup did appear as expected. I didn't go through the reg process though to fully test.
2) I'm a bit unsure what you mean here. Are you talking about Like'ing things as your Facebook Page? If so, unfortunately, you can't. Facebook only allows personal user profiles to Like content. Since a user can create unlimited Pages, it would be abused very quickly to get unlimited Like's for something. If you meant something else, please help me understand what mnyname/business and myname are (Personal Facebook Profiles, Facebook Pages, etc).
3) This is almost definitely the cause of your any authentication problems you're having in #1 above. The code in question is this block, directly below our Facebook Javascript inclusion after your opening body tag:
<script>
  window.fbAsyncInit = function() {
    FB.init({
      appId      : '1471593899787359',
      xfbml      : true,
      version    : 'v2.1'
    });
  };

  (function(d, s, id){
     var js, fjs = d.getElementsByTagName(s)[0];
     if (d.getElementById(id)) {return;}
     js = d.createElement(s); js.id = id;
     js.src = "//connect.facebook.net/en_US/sdk.js";
     fjs.parentNode.insertBefore(js, fjs);
   }(document, 'script', 'facebook-jssdk'));
</script>
That will need to be removed for Facebook authentication to work properly. I'd look in your System plugin group to see if there are any other plugins related to social networking.

I hope that helps, but if you need anything else, just let me know.

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

None
11 years 8 months ago #47237 by nitram
Ok I have sussed out what your product does and how it works(ish) so by removing the sdk code problems 1 and 3 disappear, problem 2 remains as follows.
I have a personal Facebook page/site called martin baxter on this site i have a business page called bcoza as a new business page I have about 50 likes on it, problems is I need people on the bcoza.com site to be able to post a like to the bcoza page, but instead, the like is directed to martin baxter page, I need the like to point to the bcoza page. if you goto bcoza.com/buyandsell and press the F on the top left of the screen you will see you goto my bcoza page, question how can I change the directional path from martin baxter to bcoza. I hope you can understand what I mean. best regards Nitram
The topic has been locked.
Support Specialist
11 years 8 months ago #47244 by alzander
Glad to hear you got 1 & 3 fixed.

To get Likes for the Facebook Page, you need to setup either a Facebook Like button or a Facebook Like-Box. You can configure either of those in the SCSocial Widget module. For the HREF parameter, simply set it to your Facebook Page.

The Like button is a simple Like button, like your used to seeing. The Like-Box is meant only for Facebook Pages and lets you show a Like button, feed and avatars of users who have Like'd the Page.

I hope that helps explain, but if you have any other questions, just let me know.

Thanks,
Alex
The topic has been locked.