Support » Plugin: Nextend Facebook Connect » Token Error

Viewing 6 replies - 1 through 6 (of 6 total)
  • why don’t they ever take a look at these posts? Nextend is deadend I think..

    Okay, this problem went away for me after I went through the Facebook developer docs and made sure that the facebook init wasn’t firing twice.

    If you’re using like buttons and initialising the facebook script against the same app as nextend then I *think* that causes the problem.

    My advice is to read through the FB dev docs, and some of the Facebook developer forums, and load the facebook script in async mode with a check to see if the FB object has already been initialised.

    At the same time I TOTALLY agree with you that Nextend should respond to these forum posts. The lack of any interaction from the plugin developers will rapidly turn this into a dead end for all.

    Thank you, that was fast as lightning 🙂

    Do you think I should disable “like” buttons? some codes interfering each other?

    http://www.outdoorhaber.com

    This is where I try to use nextend. At the very top, you will see “Giris Yap/Kayit Ol” (login/register)
    please click, you will see an image button (image link)
    When you click the image, you’ll get the error.

    holy #### it suddenly worked. lol I didn’t do anything 😀

    Hey Belgen,

    Cool that it worked, still worth checking your FB init code for your like buttons, it should look something like:

    <div id="fb-root"></div>
    <script>
      window.fbAsyncInit = function() {
        FB.init({
          appId      : '***************', // App ID from the App Dashboard
          channelUrl : 'http://www.yourdomain.com/channel.php', // Channel File for x-domain communication
          status     : true, // check the login status upon init?
          cookie     : true, // set sessions cookies to allow your server to access the session?
          xfbml      : true  // parse XFBML tags on this page?
        });
      };
      (function(d, debug){
         var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
         if (d.getElementById(id)) {return;}
         js = d.createElement('script'); js.id = id; js.async = true;
         js.src = "//connect.facebook.net/en_US/all" + (debug ? "/debug" : "") + ".js";
         ref.parentNode.insertBefore(js, ref);
       }(document, /*debug*/ false));
    </script>

    It’s well worth having a channel file on your site and making sure that it’s wrapped in the window.fbAsyncInit function. These things seem to help for me.

    I will consider your warnings, thanks again.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Token Error’ is closed to new replies.