Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create instagram sharer link in php?

How can I share a post on Instagram with PHP?

My code here:

<a class="fb-share" href="https://www.instagram.com/sharer.php?u={{url()->current()}}"><i class="social_facebook"></i> Share</a>

I am using Laravel.

like image 868
Amrik Singh Avatar asked Dec 14 '22 10:12

Amrik Singh


1 Answers

Instagram currently doesn’t allow you to share a photo or video from another website – you can only upload photos/videos directly from your mobile device. Since there isn't any sharing mechanism, there isn't any way for us to include a button that will share your content to Instagram.

You can if you have a business account, but there are restrictions. See Content Publishing.

But, this also isn't a share button.

like image 58
jminkler Avatar answered Dec 17 '22 22:12

jminkler