× Joomla Facebook Connect support forum

Topic-icon Avatar and login images not displaying on some pages

Active Subscriptions:

None
Hi...I have had great success installing and setting up jfbconnect with my site (using community builder). However I have a problem with one page....

On this particular page the user avatar in the login module does not display if the user is logged in, and if not logged in the connect with facebook image does not display.

I suspect it has something to do with this page having a share with facebook button on it that I added before installing jfbconnect.....this is the code it uses (I have added this code into a component called community polls)...

Xtd id='fbbutton' style='margin-left: 14px; margin-top: 10px;'X
Xa name="fb_share" type="button_count" href="www.facebook.com/sharer.php"XShareXaX
XscriptX src="static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"X/scriptX
X/tdX

Note I had to change all the signs to X above to allow this message to be posted.
The facebook share button works ok.
I have not setup opengraph within jfbconnect, as I coded it in the above component to get the share button working before I installed jfbconnect.

Any ideas how I can solve this?

Many thanks,

Chris.
The topic has been locked.
Support Specialist
14 years 11 months ago #11421 by alzander
Chris,
Unfortunately, the share button has actually been deprecated by Facebook and is no longer recommended. They're recommending the use of the Like button as a replacement because, when used with Open Graph tags, the like button offers all the functionality as the previous share button. For more information, see:
www.sourcecoast.com/jfbconnect/docs/comm...tions#share-conflict

With that said, we've heard the following Share code does still work. We aren't implementing it in JFBConnect because, at one point, there were 3 different ways to add the share button (including this). Since Facebook deprecated the Share button (about a year ago), 2 of them have stopped working. There's no documentation or information about this method, and it could 'break' at any time..so be wary:
[fb:share-button class="url" href="yoururl.com/" type="button"][/fb:share-button]

Replace the [ ] with normal < and > chars.

Hope this helps, but if you need anything else, just let us know!
The topic has been locked.
Support Specialist
14 years 11 months ago #11422 by alzander
For clarification.. Facebook officially deprecated share in February, but the sharer.php (what you're using) and other method (not mentioned) of adding a share button began having conflicts with Facebook's other social widgets in December of last year.
The topic has been locked.
Active Subscriptions:

None
Many thanks for the expert support....have replced original code with the new like and send which is working fine.

Chris.
The topic has been locked.
Support Specialist
14 years 11 months ago #11543 by alzander
Fantastic! Glad to hear we got you going. Should you need anything else, you know where to find us :)

Alex
The topic has been locked.