Topic-icon "Liking" a page auto uses first image available?

Active Subscriptions:

None
14 years 5 months ago #17045 by aarcer
If you "like" an article on a page, when it posts to facebook, it automatically chooses an image for you? Is there a way to stop this behavior or to choose no picture by default? I don't want my Twitter icon image to be chosen for a page link post because it was simply "the first image" that the Like button could pick.
The topic has been locked.
Support Specialist
14 years 5 months ago #17048 by alzander
Yup. There's a few ways. The image can be set using the Open Graph Tags. In the Social Configuration area, you can set a site-wide default image by adding the following line to the big defaults box:
image=http://site.com/link-to-image.jpg

Then, on each page, you can set a specific image to override the default by putting the following tag anywhere on the page:
{JFBCGraph image=http://site.com/link-to-better-image.jpg}

Finally, for Joomla Content or K2 Items, there's a setting in the Open Graph area for JFBConnect to automatically use the first image in the article.

Hope that all helps. Once you do update the image, you'll need to wait a day for Facebook to refresh it's cache. Alternatively, you can use their URL debug tool to update it immediately, and see what Facebook thinks is configured:
developers.facebook.com/tools/debug

Good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17214 by cas
Hi Alex,

I think I have everything setup correctly in the JFBCLike module to have a common Like button in the header for all pages, and I also have the {JFBCLike} & {JFBCGraph} tags in the VirtueMart flypage (now called product details view) so each product will have its own unique Like button. It works as far as the Like button showing up in the correct way and integrating with Facebook, but the image that get sent to Facebook when the Like button is pressed doesn't always send the correct image. Can you take a look my site to see if everything is setup correctly: www.hairextensionsfair.com. In the Social Open Graph tab I set a Default image=https://www.hairextensionsfair.com/images/logo/Logo.gif to be used for all the pages from the Like button module in the header, and then for the product image I setup {JFBCGraph image=www.hairextensionsfair.com/' . $this->product->images[0]->file_url; ?>} and {JFBCLike layout=button_count show_faces=false}. Can you see anything wrong?

Thanks,
Chuck
The topic has been locked.
Support Specialist
14 years 5 months ago #17216 by alzander
Chuck,
Yes, everything looks right to me from a quick inspection. I used the following VM page to test with (www.hairextensionsfair.com/shop/full-hea...traight-20-in-detail). Looking at the Open Graph tags, everything looks right on the page.

Then, I ran it through Facebook's Debug tool:
developers.facebook.com/tools/debug

If you do the same, you'll see that the proper image shows up first from VM, and all the other details are correct.

If you're having problems with a specific page, run it through the debug tool. That will help you see what Facebook sees, and also clears Facebook's cache to update it with any Open Graph tag changes you may have made. If you don't clear their cache, they will automatically do it after a few days.

All in all, everything looks perfect. If there is a problem page, post the exact URL and we can look into it further.

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

None
14 years 5 months ago #17250 by cas
Thanks Alex. Yes, it looked good to me too, but when I 'Like' this product:
www.hairextensionsfair.com/shop/full-hea...traight-16-in-detail
It sends a picture of one of the hair colors to Facebook and not the main picture of the girl. What happens if you 'Like' this product?

Thanks,
Chuck
The topic has been locked.
Support Specialist
14 years 5 months ago #17270 by alzander
Chuck,
When I click the Like button on that page, a small image of one of the hair thumbnails comes up in the popup. However, on my FB wall, your logo (the default OG image) is appearing.

I tried with 2 other product pages on your site and on each either no image showed or the default/logo showed. My guess is that this is because Facebook hasn't fully scanned your site and isn't sure how to treat each image. Facebook "likes" images that it sees a lot, so your default/logo may be being used simply because it's seen it enough and has done some checks to make sure it's not spam/porn/etc. Unique per-page images haven't been automatically vetted yet.

The other alternative is that for some reason, Facebook doesn't like your images. They do meet the criteria of larger than 50x50 and no greater than a 3:1 ratio. They're small size (less than 100k) and everything else seems good.

My best suggestion, though not fun, is to wait a few days. Let Facebook scan more of your pages and hopefully everything will start working. You can, optionally, try removing the default/logo image just so Facebook has no fall-back options and see what happens.. though it may not help the situation.

Let us know if the behavior changes, and just keep an eye on it. Facebook can take days to register changes or have it's automated systems begin to trust your site more.

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

None
14 years 5 months ago #17272 by cas
Thanks Alex.

I appreciate you looking into this strange situation. I spent hours struggling and thinking I didn't have something setup correctly. At least now it's good to know it's setup correctly, and now it's on Facebook plate to get their act together. Thanks again for all your help and the great product! I need to try a few of the other JFBConnect features now that I'm getting the handle on it. Also, any plans to integrate the Like button with VirtueMart version 2 products as I did manually? Now that I shared the working code with you in my prior post, any chance to add it into your product? By the way, does JFBConnect have the Google +1 button capability, or do I need to do that manually?

Thanks,
Chuck
The topic has been locked.
Support Specialist
14 years 5 months ago #17275 by alzander
Chuck,
Sorry for the time spent. It does look like everything's right on your end from looking at the HTML, which is what Facebook sees as well.

Regarding Virtuemart v2.0, we're planning to update our profile plugins to support VM 2.0 in the first half of January so you can import user information from Facebook into VM 2.0 (similar to our support for VM 1.x). We'll also update our integration guide for how to add OpenGraph tags and Like buttons to products. However, we won't have automated ways for adding those features with that release.. JFBConnect will always automatically use meta title and description tags for Open Graph tags if none are explicitly set though.

For the Google+1 capabilities, in JFBConnect 4.0, we can add the G+1 to content automatically. In the 4.1 release, we'll have a {JFBCxxx} tag so you can add it easily on your own (don't remember the new tag offhand though). 4.1 is in testing now and should be out later this week.

Hope that helps. Finally, if you haven't already, please consider leaving a rating and review on the Joomla Extension Directory for JFBConnect and/or our support. It's certainly not required, but very appreciated:
extensions.joomla.org/extensions/social-...ook-integration/7215

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

None
14 years 5 months ago #17277 by cas
Hi Alex,

I just left you a well-deserved excellent review. Thanks for your help.

For the Google+1, i didn't understand... is it in the 4.0 release that I have, or is it coming in 4.1 ?

Thanks,
Chuck
The topic has been locked.
Support Specialist
14 years 5 months ago #17285 by alzander
Chuck,
Thanks for the review. It's really appreciated!

In the 4.0 release, the only way to see the Google+1 button is when using the Content plugin to add the social buttons automatically to Joomla articles (or K2 content). There is no {JFBCGPlusOne} tag or anything.

In the 4.1 release, due out 'any day now', there will be a tag for the Google +1 button. I don't remember what the tag is offhand, but it will be documented in the configuration guide once the release is available.. or just ask here :)

Hope that helps,
Alex
The topic has been locked.