Topic-icon Social facebook integration - picture issue

Active Subscriptions:

None
13 years 5 months ago #28930 by aed71
Hi,

I'm not an expert of Joomla and currently able to integrate the FBConnect to my site and facebook. Everything works perfect except for one thing. When I click "like" button in the article, it takes an icon of an application from the bottom of the page ( I need to register to the extension to remove icon ) and puts to the facebook activity page as if it's related with the article or site. I want to put either one of the pictures of the article or if there are no pictures I want to put my web site logo (could be the facebook profile picture) to the activity.

I'm using Joomla 2.5 and standard articles, I have installed only "open graph content" plug-in in addtion to the component. I would appreciate if you help me how to solve this picture issue.

Thanks in advance.
AED.
The topic has been locked.
Support Specialist
13 years 5 months ago #28974 by alzander
AED,
Installing and enabling the Open Graph - Content plugin should help by itself. That plugin will check the article text and should assign the first image it finds in the text as the image to use on a news feed. If there aren't any images in the article text, that can leave it up to Facebook to decide what image to use. In the next release of the Open Graph - Content plugin (in the next few days), there will be more 'fallbacks' if there are no images in the article.. it will then check if there's a category image, and some other areas that may have a relevant image.

As for setting a default image across your site, you can do that very easily, and we definitely recommend it. To do so, go to the Open Graph -> Configuration area of the JFBConnect admin area. In there is a big 'defaults' box. Add the following line (updating the link as appropriate for your site):
image=http://yoursite.com/link-to-your-logo.jpg
That image will then be used if no other images can be found.

Once all setup, you can use Facebook's Debug Tool to test what they 'see' about your pages:
developers.facebook.com/tools/debug

Hope that all helps, but if you have any other questions, just let us know!
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 5 months ago #28989 by aed71
Hi Alex,

Thanks, it's better now. I'll be looking forward to the new release.

BR/AED.
The topic has been locked.
Support Specialist
13 years 5 months ago #28991 by alzander
Glad to hear that got it going for you!

If you need anything else, just let us know. The new release should be out in a few hours. We're very excited for it to be out too!

Alex
The topic has been locked.
Active Subscriptions:

None
13 years 5 months ago #29016 by aed71
Hi Alex,

After adding the code I see that there is a language problem in the postings. Such as when you click like button the picture goes there but the non-english characters became very ugly :-( You can even do not understand what it's written. I also see that when I bring the mouse to the like button area the problem starts from the web site (please see the attachment, both the name of the article (in red) and start of the article (in green) cannot be understood and it goes to face book as it is)

Afterwards I downloaded the new version and install the "open graph content" plugin and delete the picture setting in configuration (you have mentioned above) but no changes. What should I do to let the extension pass the language of the article to Facebook without any corruption? This is vital as picture issue.

Thanks again
AED.
The topic has been locked.
Support Specialist
13 years 5 months ago #29030 by alzander
Can you post, or Private Message, a link to that page? That's usually a UTF-8 encoding issue. We try to properly encode things correctly within JFBConnect, but sometimes the HTML output in your template specifies a different encoding. While browsers are more forgiving to incorrect encodings, Facebook isn't at all.

It could easily be a bug in JFBConnect as well... just need to see the page to understand more about the problem.

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

None
13 years 5 months ago #29040 by aed71
Hi Alex,

Here is the link of one of the categories of the web site. Just click on the link and you will see the articles with social logo. Any of those you can try.
www.rotadeniz.com/index.php/egitim/meteo...mel-meteoroloji.html
You can reach more documents from root www.rotadeniz.com
Thanks
The topic has been locked.
Active Subscriptions:

None
13 years 5 months ago #29041 by aed71
Hi Alex,

One more issue. I'm using Akeeba Backup extension to take backups and use to move the site from live to local web server. Everyday I'm taking backups in live site however recently when I tried to install the site to local and do some tests, the site didn't work. I tried all backups till JFB Connect installtion and I see that after JFBConnect, I cannot run the site on local. What can be the problem? I cannot say that this is %100 related with JFBConnect but I take notes everyday what I have done to the site, that day I only performed the JFB connect installation and I performed the backup, I think more than 90% it should be related with the extension.

Thanks
AED.
The topic has been locked.
Support Specialist
13 years 5 months ago #29061 by alzander
AED,
Thanks for the link to the site. There's some oddities about the encoding in the actual HTML of your page that I can't figure out how it's happening. Most characters are being properly UTF-8 represented. However, others are showing their raw UTF-8 encoding, which isn't how it should look. For instance, if you open the HTML on your page, and look at the section that shows your menu, you'll see items like "DENİZDE ÇATIŞMA" and "Dümenbaşı". However, in the actual article text, the sentences look like "Fırtınalar kanunu, bir alçak basınç merkezinin".

We've done a bit of testing with your exact article text on a development site. When we enter the same sentence into the Joomla editor, it's properly shown already decoded in our browser. Also, the Open Graph tags work properly.

If we use the no-editor option, and enter the already encoded characters (ç , etc), there are issues. This is likely because JFBConnect is re-encoding them, causing illegal characters.

So, can you tell me how you're entering your article contents, if you see the encoded characters in the text (they look like ç) or the decoded/real characters (Ç,Ş, etc)? Do you have any multi-lingual extensions installed, or anything else that may be trying to do extra encoding on the characters?

Any information you can provide will help us to understand where the problem lies and whether it's something that needs to be fixed in JFBConnect or on your site.

Thanks,
Alex
The topic has been locked.
Support Specialist
13 years 5 months ago #29062 by alzander
Oh.. as for Akeeba Backup issues, we'd need to know a lot more information. What do you mean by "the site didn't work"? Where there error messages, broken functionality, is it only with Facebook features or other components, etc? Until we know what isn't working, and how it's not like normal, there's not much I could suggest to look into.

Thanks,
Alex
The topic has been locked.