× Joomla Facebook Connect support forum

Topic-icon wrong picture added to fb wall posts

Active Subscriptions:

None
13 years 11 months ago #23650 by absoluteleigh
Hi
I am getting the wrong picture added to my fb wall. I have looked every where but I cant seem to find how to change it or even how it got there.
Thanks for your help
Leigh
File Attachment:
The topic has been locked.
Support Specialist
13 years 11 months ago #23651 by alzander
Leigh,
You'll want to make sure that Open Graph is enabled in JFBConnect (under "Social" -> Open Graph in the admin area). Then, if it's an article, you can use the "Use first image in article" setting. Otherwise, or on non-article type pages, you can force the image by placing the following tag anywhere in the output of the page:
{SCOpenGraph image=http://site.com/link-to-your-image.jpg}

You can also use Facebook's Debug Tool to check a page to understand why it's using a specific image (or check other details that Facebook 'sees' about the page):
developers.facebook.com/tools/debug

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 11 months ago #23652 by absoluteleigh
Hi Thanks for your reply. I have checked the open graph it is enabled and all other buttons are selected no. I have checked the debug tool but I am getting this error "Facebook URLs aren't scrapable by this Debugger. Try your own." I must be using the wrong url but I dont know which other I should be using. I have also checked the app settings but cant find anything there that would be using that image.
Thanks
The topic has been locked.
Support Specialist
13 years 11 months ago #23653 by alzander
You should use the debugger on the URL of the page of your site that you're trying to share, not your Facebook profile. So, if you're "Like'ing" site.com/your-article, and that's the one with the wrong image in Facebook, you should use that URL in the debugger tool.

If that doesn't work, or your still having issues, please let us know what URL you're clicking the Like button from (or whatever it is you're doing) and we can investigate from there.

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

None
13 years 11 months ago #23654 by absoluteleigh
Hi Alex
I used the debug and I had some errors as well as the wrong image is showing up. Can you tell me how to fix this.

File Attachment:

Thanks
Leigh
The topic has been locked.
Support Specialist
13 years 11 months ago #23655 by alzander
Leigh,
There's no image in the article on your home page. Additionally, even if there was, you have the "Use first image in article for default" set to no (as you said above). In that case, you'll need to put the following tag in your article text somewhere:
{SCOpenGraph image=http://site.com/link-to-your-image.jpg}
The link above should be to the image you want to show in the FB wall.

Alternatively, in the Open Graph area of JFBConnect, you can set a default image that will be used on every page of your site by adding the following to the "Defaults" box:
image=http://site.com/image-for-all-pages.jpg

Then, that image will be used on all pages of your site *if* you don't explicitly use the {SCOpenGraph image=...} tag somewhere on that page.

Hope that helps!
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 11 months ago #23656 by absoluteleigh
Hi Alex
Should I add my site url to the code example "image=http://shredguitarschool.com/image-for-all-pages.jpg" but what do I put in the "image- for all pages" would I then add example "images/stories/banner_NEW.gif"
Thanks
Leigh
The topic has been locked.
Support Specialist
13 years 11 months ago #23657 by alzander
Leigh,
Yes, you'd update that full link with a URL for an image you'd be ok with for all of your pages. Something like a logo is a great idea for a default image. Then, on specific pages where you'd want something less generic and more specific to that page, you can use the {SCOpenGraph ..} tag to specify a unique image just for that page.

Hope that makes sense!
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 11 months ago #23665 by absoluteleigh
Hi Alex
It is still using that image. This is the link I have added to the open Graph defaults: image=http://shredguitarschool.com/image-for-all-pages/images/stories/header_red.jpg}

I dont know if this code is correct.
Thanks
Leigh
The topic has been locked.
Support Specialist
13 years 11 months ago #23666 by alzander
Leigh,
When I go to the link you mentioned, it doesn't work. I get a 404 page for:
shredguitarschool.com/image-for-all-page...ories/header_red.jpg

Can you double check that that's a proper image link and update the Open Graph defaults area? If not, please use a link to a real image that Facebook can fetch. You should be able to go directly to the URL you add and see the image in the browser.

Additionally, there shouldn't be a } at the end of the line like you've added.

Hope that helps,
Alex
The topic has been locked.