WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Social Ring (Facebook Like, Google +1, ReTweet, LinkedIn and Pin It)
[resolved] SR - FB Like not shown on Facebook (5 posts)

  1. Caesar19
    Member
    Posted 1 year ago #

    Hi,

    My Social Ring does not cause any problems on WordPress page (except it loads slowly), but when I click on LIKE - Facebook, there is no record in my FB Log about liking the post/page etc. It did work for a few days, then it stopped. Plugin update did not help, still no likes on Facebook.

    Where is the problem?

    Thanks

    http://wordpress.org/extend/plugins/wordpress-social-ring/

  2. niccolo_tapparo
    Member
    Plugin Author

    Posted 1 year ago #

    This is a Facebook issue, WP Social Ring doesn't manage publishing. Try to ask to facebook support.

  3. BillyAtStudioPretty
    Member
    Posted 1 year ago #

    @niccolo_tapparo

    I am having a similar problem, cause by facebook's all.js returning this to the console:

    FB.getLoginStatus() called before calling FB.init().

    This is most likely because you aren't loading the SDK asnchronously.
    Can I suggest you try replacing

    <div id="fb-root"></div><script src="http://connect.facebook.net/<?php echo $this->options['facebook_language']; ?>/all.js#xfbml=1"></script>

    in library.php (function add_footer_js()) with

    <div id="fb-root"></div><script type="text/javascript">
    	FB.init({
    	        appId  : 'YOUR APP ID',
    	        status : true, // check login status
    	        cookie : true, // enable cookies to allow the server to access the session
    	        xfbml  : true, // parse XFBML
    	        oauth  : true
    	});
    
    	// Load the SDK Asynchronously
    	(function(d){
    		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/<?php echo $this->options['facebook_language']; ?>/all.js#xfbml=1\";
    		ref.parentNode.insertBefore(js, ref);
    	}(document));
    </script>

    I would like to have done this myself but I cannot find an app ID anywhere.

    Also, in function add_footer_js(), you should only load the scripts that are necessary - using

    if($this->options['social_X_button'] == 1) {
       //load script
    }

    Thanks in advance,
    Billy

    P.S please try and get back to me asap, thanks

  4. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    @BillyAtStudioPretty

    per forum rules, please start your own topic

  5. BillyAtStudioPretty
    Member
    Posted 1 year ago #

    @alchymyth

    Ok, sorry.

    Okay.jpg

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic