Topic-icon Easyblog conflict with JFBconnect?

Active Subscriptions:

None
5 years 1 week ago #65351 by petgal
Hi,
I reported this to the guys responsible for EasyBlog
QUOTE:
Hi,
1.On each of my blog posts, there is no icon or link to share on Facebook or like a post.
2. The twitter icon is blue and I'd like to change it to black, but I don't see how I can affect this change.

UNQUOTE

Here's their response to the missing FB buttons
QUOTE:
...And I found out that Facebook share button missing is conflict with jfbconnect extension, it seems like they render those Facebook share button using 2.9 version :


<script type="text/javascript">

window.fbAsyncInit = function() {
FB.init({version: 'v2.9',appId: '385680758114232', status: false, cookie: true, xfbml: false});
FB.Event.subscribe('comment.create', jfbc.social.facebook.comment.create);
FB.Event.subscribe('comment.remove', jfbc.social.facebook.comment.remove);
};
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//http://connect.facebook.net/en_GB/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>


And ours is using version 3.0.

Currently I am not really sure whether is because of the version or not, as long as when I disable this 'System - JFBCSystem' plugin, then that Facebook social share button appear on the blog listing page now.

UNQUOTE
Can you help?

see attached files, and thanks for your attention.

File Attachment:
The topic has been locked.
Support Specialist
5 years 1 week ago #65353 by alzander
It's correct that we do include an older version of the Facebook Javascript library. That's to allow compatibility with some older features of Facebook that are no longer allowed as Facebook is continously restricting their API more and more. The v2.8 API is actually no longer allowed either. Facebook would be automatically upgrading those calls to v2.9 ones.

Either way, I wouldn't expect the version to be causing the problem you're having. It could be a conflict with other versions of the Facebook library also included on the page, or something else, but the version by itself shouldn't be an issue.

With that said, I went to the page that I've seen you use JFBConnect on before, but I wasn't able to find a page similar to the one you mention above. Can you post, or PM, a URL where we can see the issue to investigate?

As for the Twitter button, you can't change the color. Twitter, and all the social networks, have specific branding guidelines and buttons they want you to use. You can see the available options you can set for the buttons on their Twitter Twee Parameters Page .

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
5 years 4 days ago #65361 by petgal
Any news on this Alex? I pm'd my access details.

Thanks
The topic has been locked.
Support Specialist
5 years 1 day ago #65366 by alzander
Thank you for the credentials, and I'm sorry for the delay. The access helped figure out the issue queickly. In JFBConnect, there's a setting for "Always Parse Tags" which you disabled. When that setting is off, the Facebook Javascript is instructed to not show it's buttons. I enabled it and it seems to be working now.

Please test and let us know how that goes.

Also, nice work on the Twitter button. I wasn't aware that CSS could change that color. Many social networks (and Twitter in the past) have blocked CSS changes to their buttons. Good to know!

Thanks,
Alex
The topic has been locked.