2

I need to share magento product link on Instagram like facebook and twitter. Can anyone provide some idea How to share the product link on Instagram?

1
3

you can use share this tool. This will give you icons and sharing links. For sample I have added code here. You can also generate new using this which is free and open source, [http://www.sharethis.com/]
Copy the span tags and place them where you want your buttons to appear in the code.

<span class='st_' displayText=''></span>
<span class='st_instagram' displayText='Instagram Badge'></span>

Copy the script tags and place them inside and at the end of your "head" tag.

<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "791bb30f-74a2-4e0f-bde5-5bc23d04c358", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
2
  • I have added above code in my .phtml file. I can see "Instagram Badge", but it is not sharing anything on instagram. It is just allowing me to login in insta. Will you please let me know how to share product or site url in insta? Thank for assist in advance. Jun 15 '18 at 10:01
  • it is not giving products sharing link just opening instagram Oct 3 '18 at 13:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.