Topic-icon JFBCLike module adds ?sbid=32 to site URL , og:image is missing

Active Subscriptions:

None
11 years 5 days ago - 11 years 5 days ago #32708 by Krx
Hello

1
Im using JFBCLike module to get likes for our homepage.
In module settings, URL to like = www.itgirl.hr/
When I open page source I can see this:
<meta property="og:url" content="www.itgirl.hr/?sbid=32"/>
sbid is id for shoutbox module category, which is located below JFBCLike module
Why does JFBCLike module add "?sbid=32" to og:url tag?
How to avoid interference with Shoutbox module?
I don't have aby SEF component installed.

2
How to add og:image tag to home page?
Facebook debug tool says that og:image tag is missing.

3
In our articles og:image tag is also missing.
When using faceBook debug tool, for example for this URL:
www.itgirl.hr/skin-and-glow/1857-mezoter...ca-pobjeduje-celulit
It says:
Like Button Tag Missing: og:image is missing. The og:image meta tag is necessary for Facebook to render a News Feed story that generates a high click-through rate.
But when clicking FB PoĊĦalji (Send) button, I can see that first image from that article is shown.
To enable FB likes, I'm using Content plugin - like
For adding images, we're using JCE Editor
Any suggestions?

We are using jreviews to display our Joomla articles and

Joomla 2.5.9
JFBConnect Version: 5.0.0, all its modules and plugins updated

Regards
Last edit: 11 years 5 days ago by Krx.
The topic has been locked.
Support Specialist
1) The sbid=32 isn't appearing in the Like button, it's actually in the Open Graph URL tag (og:url). I'm not sure why that's being set that way. JFBConnect basically asks Joomla what the URL is for the current page, and we use that. I don't know why Joomla is returning the URL with that setting. To fix it though, I'd recommend adding the following tag somewhere to the contents of your home page (an article displayed or a module output):
{SCOpenGraph url=http://www.itgirl.hr/}
That will override JFBConnect's detection of the URL.

2) Likewise, for an image, you can add:
{SCOpenGraph image=http://www.itgirl.hr/link-to-image.jpg}
Also, in the Open Graph configuration area, you can add the following to the "Defaults" box:
image=http://www.itgirl.hr/default-image.jpg
That will add a 'backup' image that can be used on any page that an Open Graph image wasn't automatically or intentionally set (with the SCOpenGraph tag).

3) If you haven't already, install and publish the Open Graph - Content plugin. That should automatically try to find the first image in an article and set it as the og:image tag.

Hope that helps, but if not, let us know.

Thanks,
Alex
The topic has been locked.