Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Open Graph


Recommended Posts

I have added Open Graph meta tags to OSC and everything is great. I now discovered that you can add more Open Graph control and have your store post automatically to users facebook profiles (Ex: When a user clicks on a download link on my site, I want it to post to their facebook saying "Username just downloaded product_name at site_name").


I've already set up the "Download" action on Facebook Apps, and it gives me a "curl" code to add to my website, but I have no idea how or where to add that to my product_info.php file and incorporate it in to my download link on each product page.


Any help would be much appreciated.






See all your Download actions:

curl 'https://graph.facebook.com/me/blocktapes:download?access_token=1111111111111111111111111'


Create a new Download action:

curl -F 'access_token=1111111111111111111111111' \
 -F 'mixtape=http://samples.ogp.me/230063783715431' \


Delete a Download action:

curl -X DELETE \
 -F 'access_token=1111111111111111111111111' \

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...