boshko
Member
Posted 4 months ago #
Hi all. After upgrading from 0.25 (I know its an old version) to 1.2 I no longer have connect with facebook button on comments page. See here:
http://www.pomerisrca.rs/2011/12/28/srecna-nova-2012-godina-budjenja-2/
There is no button image and there is no any sign that I'm signed in to facebook as was in 0.25 version. I followed the info about installation and adding support to older themes and already did that. What could be the problem?
Thanks in advance.
Regards
http://wordpress.org/extend/plugins/simple-facebook-connect/
boshko
Member
Posted 4 months ago #
What I was able to see is that I have this code:
<fb:login-button onlogin="sfc_update_user_details();" scope="email,publish_stream" v="2"><fb:intl>Connect with Facebook</fb:intl></fb:login-button>
As opposed to this one, which I have in older (0.25) version:
<fb:login-button onlogin="sfc_update_user_details();" perms="email" v="2" class=" fb_login_not_logged_in FB_login_button FB_ElementReady"><a class="fbconnect_login_button FBConnectButton FBConnectButton_Medium" id="RES_ID_fb_login"><span class="FBConnectButton_Text" id="RES_ID_fb_login_text"><fb:intl>Connect with Facebook</fb:intl></span></a></fb:login-button>
No version of SFC ever added those classes, spans, and links. Facebook's javascript code does that, after the page is rendered.
SFC 0.25 absolutely will no longer work, as of today. Facebook has finally dropped support for the FeatureLoader and the old non-OAuth mechanisms.
Check to make sure you have the footer code on the page that adds the FB.init call. If not, then check that you're not missing the wp_footer() call in your theme's footer.php file.