Customize the social push template

You can customize the message to be shared on Facebook and Twitter as you want. We provide many variables that will be matched with your real data:

  • {{ reviewer_first_name }}, example: John
  • {{ reviewer_name }}, example: John Smith
  • {{ review_rating_emoji }}, the number of stars displayed as an emoji, example: ☆☆☆☆
  • {{ review_rating }}, the rating as a number, example: 4
  • {{ review_title }}, the review title
  • {{ review_body }}, the review body
  • {{ product_url }}, the URL of the respective product

Facebook Push Template

  • For review without photos, we will post the product URL with the review content as text.
  • For review with photos, you can choose between posting a review photo (uploaded by the reviewers) or a product image (from your store).

Twitter Push Template

When you share a review on Twitter, the character limit is 280. When your review is written in Japanese, Chinese, and Korean, the character limit is 140.

Open graph on Facebook

If you share a review without a photo but including a product URL, Facebook will utilize its 'Open Graph', and post the photo it detects as the main one on your product page.

To make sure it works properly, your product page needs to provide metadata by using the tags in your theme.liquid layout file as follows:

<meta property="og:image" content="{{ product.featured_image | product_img_url: 'original' }}" />

You can check your metadata with Facebook's Sharing Debugger Tool by inserting your product URL, and read more about the tags you need (og:image, og:image:width, og:image:height)

Further references: