Topic-icon Pushing ZOO articles to Facebook via comment box

Active Subscriptions:

None
Hopefully my newbie question will also help others .......

For my ZOO articles I have used short-code in a hidden ZOO article element. When people use the ‘post comment to Facebook’ checkbox, it only posts a link to the article on their Facebook wall.

Are there any parameters that I can include to push specific elements of a ZOO article to Facebook when using the ‘post to Facebook’ option? (e.g. image, article title, intro text)

Thank you!
The topic has been locked.
Support Specialist
9 years 8 months ago #46691 by alzander
JFBConnect doesn't currently have Zoo-specific support using one of our Open Graph plugins. It's something that's overdue, and we're hoping to have out later this year.

With that said, what you're looking for is Open Graph tags. The OG tags are what tell Facebook how your content should appear in a feed entry according to the title, description and image that are set. JFBConnect will automatically set many of these tags, like title and description on every page.

By default, the title and description will just use whatever the page's Title and meta description are. When an Open Graph plugin is enabled for the extension that's being viewed, a 'better' title or description may be selected based on the beginning of the articles contents or something like that. Additionally, an Open Graph plugin can set the image for the page by scanning through the article contents or primary for the image of the article or something like that.

In lieu of an Open Graph plugin, to set the image (or override the title/description), you'll need to add an Open Graph Easy Tag to the output of the page, like
{SCOpenGraph image=http://yoursite.com/link-to-image.jpg}
That will set the og:image for the page to whatever link you specify. You can override the title with:
{SCOpenGraph title=My Better Title for this Article}

Once you setup the tags, or want to see what Open Graph tags are set, you can use the Social Debug tool to preview a post from your page in multiple social networks. That tool will also refresh Facebook's cached data for your page so that updated tags will take effect immediately.

Whew! I hope that helps give you some idea of what's going on, but if you need more help, just let me know.

Thanks,
Alex
The topic has been locked.