Hi,
I am having a very strange issue that was not present a few weeks ago. Not sure when it started, but it was recently.
I have a site with thousands of pages, but on 11 of them (one category) my FB Like button doesn't show up. It is using the Jreviews social buttons which are fine in every category except this one. Alejandro at Jreviews detected a difference in JFBC's FB.init code. On these 11 pages that code has the xfbml set to false, while on the rest of the site it is set to true. Example:
Not working: miraargentina.com/salta
Working: miraargentina.com/salta/excursiones/tren-a-las-nubes
You can check any of the listings under the "Destinos" menu and you will see the Like button does not show. And you can check any of the thousands of other listings on the site and see it is there. The only thing I can think of is that on those 11 Destinos pages I am using {SCOpenGraph_image} tag, but I have already tried removing it.
I use https for logged-in users, and the Like button has disappeared on ALL of those.
Here is Alejandro's observation:
I checked this and found a difference in the source of both browser pages that seems important.
Working page:
window.fbAsyncInit = function() {
FB.init({appId: '####', status: false, cookie: true, xfbml: true});
FB.Event.subscribe('comment.create', jfbc.social.comment.create);
FB.Event.subscribe('edge.create', jfbc.social.like.create);
jfbc.social.googleAnalytics.trackFacebook();};
Non-working page:
window.fbAsyncInit = function() {
FB.init({appId: '###', status: false, cookie: true, xfbml: false});
FB.Event.subscribe('comment.create', jfbc.social.comment.create);
FB.Event.subscribe('edge.create', jfbc.social.like.create);
jfbc.social.googleAnalytics.trackFacebook();
};
You can see that XFBML is enabled in the working page and disabled in the non-working page. This code is output by JFBConnect, not JReviews.