• I have been doing tests for errors on the iPhone. And kept getting an output relating to Facebook.

    Javascript Warning on Line 56
    h**p://connect.facebook…t/en_US/all.js#xfbml=1
    FB.getLoginStatus() called before calling FB.init().

    So to sort it out I changed the line in the ‘simple-social-buttons.php’ file…

    js.src = "//connect.facebook.net/<?php echo $lang_fb; ?>/all.js#xfbml=1";

    to…

    js.src = "//connect.facebook.net/<?php echo $lang_fb; ?>/all.js#xfbml=1&status=0";

    http://wordpress.org/plugins/simple-social-buttons/

  • The topic ‘Some code amends for facebook to get around error on iPhone’ is closed to new replies.