Forum is closed

wrong images when i share my article to fb

wrong images when i share my article to fb

Dear forum,
i have installed JFBConnect to my site but when i try to share a link like tihis one:
http://www.agioritikovima.gr/perizois/1 … 5-23-17-11
the article image does not appear.
Please help!

dimtsa
Dimitris
useravatar
Offline
21 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

If you haven't already, please install and enable the Open Graph - Content plugin. That will attempt to automatically detect the image from your article and set it as the one Facebook should use when your Joomla articles are shared.

Let us know if that helps or you need more control over the image that is selected and we can gladly help.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23906 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

Dear Alex,
i have installed and enabled Open Graph but the problem remains and is really painful for me.The image of many articles can not pass to facebook correctly.Sorry,but i can not find a solution.

dimtsa
Dimitris
useravatar
Offline
21 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

Dimitris,
The Open Graph image looks to be properly set now by JFBConnect. When you update the Open Graph tags, it can take up to a few days for Facebook to detect the changes. Using the Facebook Debug Tool on your page, I can see the new image is properly being set though:
https://developers.facebook.com/tools/d … 5-23-17-11

Feel free to try that on some other pages as well.

Hope that helps,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23906 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

So, your advice is waiting for a few days?
Some images properly set through but in links like this http://www.agioritikovima.gr/%CE%94%CE% … oun-kai-oi

the problem still exists, facebook debuggers says

Critical Errors That Must Be Fixed

Could Not Follow Redirect Path:    Using data from http://www.agioritikovima.gr/%CE%94%CE% … oun-kai-oi because there was an error following the redirect path.

Errors That Must Be Fixed :

wrong response code:    URL returned a bad HTTP response cod

Sorry if i make you tired but i am almost sick because of this issue. I would like to inform you that there were plugins and modules for facebook like and comments etc and in the last few days, the problem with the sharing photos appeared. Yestesrday, almost all articles could not be set through properly in facebook pages and i can't understand why.
This is a very critical issue for my site as we used the facebook too much. I would like to ask you if i have to eliminate all the old code in relation to these modules and plugins from my site.

dimtsa
Dimitris
useravatar
Offline
21 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

My suggestion was to test with the Facebook Debug Tool, and if that works, wait a few days for Facebook to re-scan all your pages. Obviously, there are still issues with some of your pages though.

The error that the Debugger Tool is showing for that page is due to a UTF-8 character issue. The Open Graph data, including the image, look correct. I've also attached an image of what I see when I click the Like button, which also looks correct:
http://www.sourcecoast.com/components/com_agora/img/members/2/dimtsa-open-graph-image.png
Are you seeing something different? Is there something wrong in this photo, from the page you noted above?

I'm not sure what you mean by this:

Sorry if i make you tired but i am almost sick because of this issue. I would like to inform you that there were plugins and modules for facebook like and comments etc and in the last few days, the problem with the sharing photos appeared.

Did you install new Facebook plugins and modules for Facebook, or change some other configurations? If you made changes that we should know about, let us know.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23906 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

As far as the image you attached is concerned, the wrong with this post is that the language of the content is strange and non understandable. While the content of my site is in greek language, these letters seem to be something else-unknown.
By that post, i meant that there are some modules and plugins in my site that were installed by another person.For example this plugin for facebook comments inside the article,under the text is a plugin that was installed last year.
Thanks for your instant replies.

dimtsa
Dimitris
useravatar
Offline
21 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

The problem is that when i try to share an article, for example
Titlehttp://www.agioritikovima.gr/ugeia/16167-ti-einai-i-inom
the photo of the article does not appear in the facebook post.
Generally, when we try to share whatever article of our site, there is a choice of 3 images to post, in some case among these photos, the photo of the article appears like here

Titlehttp://www.agioritikovima.gr/ethnika/16122-mathete-ellinik

and in other cases does not, like here

Titlehttp://www.agioritikovima.gr/ugeia/16029-arkinos-kai-the

I so confused...

dimtsa
Dimitris
useravatar
Offline
21 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

Dimitris,
When I clicked the Like button on that last article, the first image showed properly in my Facebook feed:
http://www.sourcecoast.com/components/com_agora/img/members/2/dimitris-like-button-image.png

I'm not sure what you're seeing, but the Like button seems to work properly for us and according to what you're looking for.

The only other thing that you should be aware of:
* The Share button has been deprecated by Facebook for more than 2 years now and is no longer recommended to be used. You can see this in the Facebook Like Button documentation:

What happened to the old Share button?
We deprecated the Share Button when we launched the Like button, because the Like button improves clickthrough rates by allowing users to connect with one click, and by allowing them to see which of their friends have already connected. For reference, the Share button documentation is still available here.

* The Like button and social widgets on your page are not from JFBConnect. Additionally, the Like button you have there is re-including the Facebook Javascript API using a different App ID than the one you set for JFBConnect. You should really try to disable the extra Javascript inclusion for better compatibility and page speed. At the very least, set the same app ID for both JFBConnect and those buttons.

Hope that helps,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23906 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

Dear Alex,
after a brief research to find which is the source of my problem, i noticed that the problem occurred when i created a custom module for Facebook like of my Facebook page,using a .js file. After that, i could not share any article properly in Facebook.
By installing your component, the Facebook share seems to operate properly, as far as the images are concerned, but i also noticed when an article begins with Greek quotation marks («), the title and the content of the article are written in an unknown format like the image you posted above (http://www.sourcecoast.com/components/c … mage.png).
Do you know how to solve such a problem?

dimtsa
Dimitris
useravatar
Offline
21 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

Dimitris,
Very sorry for the delay in getting back to this. We've done a lot of research, and have a minor code change we'd like you to try and implement to see if it fixes the problem you're having. Basically, we do a lot of manipulation to the text of the article to try and make sure only real text is used for the description, and it looks like one of our changes are changing 'good' characters to bad ones.

To fix, please edit the /libraries/sourcecoast/utilities.php file. Around line 391, you'll see the following block of code:

Code:

        // turn some HTML with non-breaking spaces into a "normal" string

        $converted = strtr($htmlText, array_flip(get_html_translation_table(HTML_ENTITIES, ENT_QUOTES)));
        $converted = trim($converted," \t\n\r\0\x0B".chr(0xC2).chr(0xA0)); // UTF encodes it as chr(0xC2).chr(0xA0)
Please edit that by removing those first 2 lines and replacing it as below:

Code:

        // turn some HTML with non-breaking spaces into a "normal" string

        $converted = htmlspecialchars(strip_tags($htmlText), ENT_QUOTES, 'UTF-8');
        return $converted;

Please let us know how that goes, but hopefully it will fix you right up. Just so you know, I deleted the other duplicate post you made about this. It's easier to just continue this discussion.

Thanks, and good luck,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23906 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

Hello Alex,
thank you for your reply, despite the fact that was a little bit late.
The new articles being published have no such problem.But, the old ones continue to be shared unnormally.Like this one http://www.agioritikovima.gr/pontiakos/ … gia-oumela
I think that maybe such articles need some days to be corrected.Don't you think?

dimtsa
Dimitris
useravatar
Offline
21 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

When you make that change, new articles will automatically be detected properly. Other pages will need to have their cache refreshed by Facebook. You can use the Facebook Debug Tool to scan your problem URLs and verify that it will see the data correctly. Scanning a page manually should also update Facebook's cached data for your page immediately so you don't have to wait.

Hope that helps explain,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23906 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

Dear Alex,
thank you for your interest.
You are right about the debugger.
I have noticed that in many articles, if a article picture is smaller in height than 170 px, then it does not appear in facebook share (http://www.agioritikovima.gr/mitropolei … utnis-ka). The strange thing is that if i post only the http://www.agioritikovima.gr/mitropoleis/17020 url,then the picture appears normally.Could you explain that?
Should pictures have a minimum height or width?

dimtsa
Dimitris
useravatar
Offline
21 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

I just ran the 2nd URL you posted into the Debug Tool. The following warnings were reported:

Small og:image:    All the images referenced by og:image should be at least 200px in both dimensions. Please check all the images with tag og:image in the given url and ensure that it meets the recommended specification.
og:image not big enough:    Provided og:image is not big enough. Image 'http://www.agioritikovima.gr/images/av1/eksomologoscompr.jpg' will be used instead.

So, I'd recommend start using larger images and then resizing them when inserting into an article. Otherwise, have a larger image available and use the {SCOpenGraph image=http://site.com/link-to-larger-image.jpg} so that a bigger image is used.

Hope that helps, but if you still need info, just let us know.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23906 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

Thank you for your  help Alex!

dimtsa
Dimitris
useravatar
Offline
21 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: wrong images when i share my article to fb

Glad to hear we could help. Should you need anything else, just let us know.

Finally, if you haven't already, please consider leaving a rating and review for JFBConnect, or our support, on the Joomla Extension Directory. It certainly isn't required, but is very appreciated:
http://extensions.joomla.org/extensions … ation/7215

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23906 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11549
Total Polls:
0
Total Posts:
48583
Posts today:
1
User Info
 
Total Users:
47563
Newest User:
dhotañ
Members Online:
1
Guests Online:
1105

Online: 
Clarenceljw
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program