• Index
  • » Users
  • » yasmagic
  • » Posts



Thanks Alex. This code repeats in all pages. We want to remove it after login if possible.

<script type="text/javascript">
  window.fbAsyncInit = function() {
    FB.init({version: 'v2.3',appId: '1XXXXX', status: false, cookie: true, xfbml: false});
FB.Event.subscribe('comment.create', jfbc.social.facebook.comment.create);
FB.Event.subscribe('comment.remove', jfbc.social.facebook.comment.remove);
FB.Event.subscribe('edge.create', jfbc.social.facebook.like.create);
FB.Event.subscribe('edge.remove', jfbc.social.facebook.like.remove);
  (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_GB/sdk.js";
     fjs.parentNode.insertBefore(js, fjs);
   }(document, 'script', 'facebook-jssdk'));

Thank you. We are still troubleshooting cURL issue.

The FB related JavaScript code seem to have been repeated in all internal web pages after login. This should appear only on the logon page, and should disappear after user is  loggeded in. What do I need to do to make this happen?


Facebook authentication works fine with Joomla/JomSocial, but both Google and twitter has issues.

Google gives this error "Cannot use a stream transport when fopen() is not available or "allow_url_fopen" is disabled." We have fopen disabled for security reasons. Is there anyway to use curl instead?

For Twitter, it is not auto logging in users when signed up for the first time. It always redirects to the registration page. How to enable Twitter to auto login similar to Facebook?

  • Index
  • » Users
  • » yasmagic
  • » Posts

Board Info

Board Stats
Total Topics:
Total Polls:
Total Posts:
Posts today:
User Info
Total Users:
Newest User:
Members Online:
Guests Online:

LeRan, edwardpeck
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program