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 6099189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:14:40+00:00 2026-05-23T13:14:40+00:00

I’m working on an eCommerce website, in which the Shopping Cart page needs to

  • 0

I’m working on an eCommerce website, in which the Shopping Cart page needs to have the Facebook Share button for all product items, with the following requirements:-

Let’s assume that there are 4 Product Items in the shopping cart page – "p1", "p2", "p3" & "p4".

  1. When the user clicks the "Share" button for "p4" item, he will be asked to login, if he is not logged into FB. This has been accomplished using the "fb:login-button" FBML tag.

  2. After login, the user will be able to provide a Custom Message in the pop-up in my website. That pop-up will also contain the name of the Product for the "p4" item, along with an image.

  3. When the user clicks the "Share" / "Submit" button, the message with the Product name & image for the "p4" item will get posted / published in the user’s Facebook wall. Both the points #2 & #3 have been done using the "FB.init" & "FB.ui" core methods of JavaScript SDK.

  4. Now in my website, the Shopping Cart page will show me that for the "p4" item, the Facebook Share is completed & so there will be no more "Facebook Share" button, even when the page is refreshed again or when more such products are added into the Shopping Cart. Here I’m not able to perform the disabling of the "Share" button.

  5. The user will be able to click the "Share" button for the other products "p1", "p2" & "p3". but the pop-up for the Share message will show the Product name & image for the corresponding products & not for the last item "p4". However, here the pop-up always provides the information for only the last item "p4". Instead what I actually want is the multiple instances of the Facebook Share functionality.

I’m particularly in need of assistance for points #4 & #5.

  • 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-23T13:14:40+00:00Added an answer on May 23, 2026 at 1:14 pm

    Facebook wont allow you to share custom text/images using share button, if you need to do so, in the share URL, give URL of product detail page instead of list page and set meta-data in that product detail page.

    Other option is to set meta-data generic to all products.

    Here is the link explaining what are the meta-data Facebook can understand

    http://grafikdesign.wordpress.com/2010/02/10/facebook-sharespecifying-meta-tags-fbml-audio-flash-video-action-bar/

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

Sidebar

Related Questions

I have a text area in my form which accepts all possible characters from
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I used javascript for loading a picture on my website depending on which small
I have an autohotkey script which looks up a word in a bilingual dictionary
I have an array which has BIG numbers and small numbers in it. I
Let's say I'm outputting a post title and in our database, it's Hello Y’all
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and

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.