Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7031603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:49:30+00:00 2026-05-28T00:49:30+00:00

I’m trying to figure out how to add a Facebook like button on a

  • 0

I’m trying to figure out how to add a Facebook “like” button on a product page that when clicked displays a post on the user’s Wall saying something like “John Smith liked a product” instead of “John Smith liked a link”?

I thought this would be a feature of the Facebook og:type tag. For a product page on my website http://www.luhsetea.com, I have the following tags:

<html lang="en" class="no-js" xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#">
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# luhsetea: http://ogp.me/ns/fb/luhsetea#">

<meta property="og:title" content="Spice of Your Life" />
<meta property="og:type" content="luhsetea:product" />
<meta property="og:url" content="http://www.luhsetea.com/products/spice-of-your-life" />
<meta property="og:site_name" content="Luhse Tea" />
<meta property="fb:app_id" content=" APP_ID " />
<meta property="og:description" content="Honey, milk, and tea blend with our spices perfectly!&nbsp; See what you can make, with these spi..." />
<meta property="og:image" content="http://cdn.shopify.com/s/files/1/0077/8972/products/spice-of-your-life_medium.jpg?101788" />

I’ve included the JS SDK and code required for the like button:

<fb:like href="http://www.luhsetea.com/products/spice-of-your-life" send="false" layout="button_count" width="180" show_faces="false"></fb:like>

I’ve added an App in my Facebook Developer account, plus an Action called “Like” to an Object called “Product” in the Open Graph settings on the App configuration page. After doing this facebook gave me the code for the <meta property="og:type" content="luhsetea:product" /> tag.

Am I doing something wrong?

Thanks for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T00:49:31+00:00Added an answer on May 28, 2026 at 12:49 am

    You’re getting confused about the difference between the Like button and Open Graph verbs and actions – they’re two separate things, and any verbs you add to your applications Open Graph settings won’t affect a Like button.

    If you really want to use an Open Graph ‘like’ verb (and I’d recommend against it as it’s confusing with a normal FB ‘like’, and probably won’t be approved by FB) then you’ll have to integrate with the Open Graph directly, as per https://developers.facebook.com/docs/beta/opengraph/tutorial/#publish

    Note: If you do use an Open Graph ‘like’ verb, you wont get the benefit of a user liking your product with a Like button – that is, the ability to connect with those users when you publish content to your products Page.

    If you just want a Like button and to remove the ‘a link’ part from the News Feed, set your og:type to simply product

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm trying to create an if statement in PHP that prevents a single post
Basically, what I'm trying to create is a page of div tags, each has
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I am trying to understand how to use SyndicationItem to display feed which is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.