Topic-icon Meta Tags for sharing articles

Active Subscriptions:

None
10 years 8 months ago #35341 by guamen1
I'm having problems with the images displayed when I share my articles on facebook.

Can I use JFBConnect to control what image appears when I share a link on facebook?

I know this image is being displayed by adding something like:
<meta property="og:image" content="http://mydomain.com/image.jpg"/>

But how can I add a different meta tag for every article, with the correct image url?

Thanks a lot
The topic has been locked.
Support Specialist
10 years 8 months ago #35351 by alzander
Installing and enabling the Open Graph - Content plugin that comes with JFBConnect is the first step. That plugin will try to automatically set the image for all of your content based on a few factors. You can then create 'objects' for a specific category of your site and have the image set specific to that article (as the category image or a specific image you define for the whole category).

Throughout your site, you can also use our Open Graph easy tags to define any tags specific to that page, like:
{SCOpenGraph image=http://site.com/image.jpg}

There's a lot of flexibility in our Open Graph implementation, but by just enabling the plugin for your component, that should setup some pretty good default values per-page.. and from there you can tweak things.

I hope that helps,
Alex
The topic has been locked.