1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Facebook Share Link After Making An order On our Site?

Discussion in 'FaceBook' started by superaff1984, Feb 21, 2012.

  1. superaff1984

    superaff1984 Power Member

    Joined:
    Jun 16, 2010
    Messages:
    619
    Likes Received:
    20
    Location:
    West Los Angeles, CA
    Is there way upon someone making an order on our site. Where it will post a message on your their Facebook wall stating they just ordered it. Or recommending it somehow?
     
  2. Fuggz

    Fuggz Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 25, 2010
    Messages:
    583
    Likes Received:
    600
    Sure but it isn't exactly straightforward as you would hope for. I can give you the code but you will need a PHP guy to customize it.

    Send me a PM or add me on Skype
     
  3. phph5

    phph5 Regular Member

    Joined:
    Aug 7, 2010
    Messages:
    225
    Likes Received:
    42
    The simplest way:

    Just include a simple link, let's say "Click here to share on Facebook what you just ordered" with the following URL:

    Code:
    http://www.facebook.com/sharer/sharer.php?u=http://yourdomain.com/share.php?orderid=999
    In share.php, you will need to generate a simple html page with OG tags and fill it with the info about the order from the database (picture of the product, description, price,etc. ), so it displays correctly when shared on Facebook. You can also add a redirection to your online store, in case someone clicks on the shared link.

    Another way would be to use the JS SDK. It is a bit more complicated, but you are able to add action links to the wall post (say "Order", "View Similar Products", etc.).