I am working on a web app in which some content is generated in the form of text (and will soon include images as well). I want to add a share button which will allow the user to add this content to their Instagram story.
So the flow of this is going to be:
- User does something on the website
- The website generates some content based on user input
- User clicks on "Share on Instagram" and posts it on his/her story
Is there a way to do this using Javascript or an API call like the Twitter share option directly from the HTML ?
I am using Python on the backend (Flask) and JS on the frontend
When uploading to your Instagram Story, click the icon at the top right that looks like a chain. Click "+ URL" to add a link to a web page. Type the URL into the text box. Click "Done" in the top right.
The Instagram bio is the only place where anyone, including private personal accounts, can share a clickable link. Think of this as your “home” link. While there are other ways to share clickable links (which we'll discuss in a moment), those routes are targeted for more specific audiences.
You can add links to your stories by using Instagram's new clickable link sticker. The new link sticker is much more visible, and can be added anywhere on a story. It also shows viewers the first part of the destination link (i.e. the domain), giving more transparency.
Yes, you can post to Instagram from a PC, but there are some minor limitations. On its desktop version, Instagram only allows you to post images and videos to your profile. You cannot post Instagram Stories, IGTV posts, or Reels from the web version.
Regular Instagram posts can be easily shared as a story. Simply press the paper plane icon on any post and select Add post to your story. You can also share these posts with other Instagram users. The steps for sharing an Instagram story are straightforward.
If you were tagged in a story, you can easily reshare it to your story by following the steps below: Tap the direct messages icon in the upper right-hand corner. 2. Locate and open the tagging notification. 3. Tap "Add to Your Story." From here, you can add your own text, filters, and stickers to the post — or continue to the next step.
Upload a photo or video to your story on Instagram. 2. In the Story editor, click on the chain icon in the top right of the Story page. 3. Click on the add URL button. 4.
Go to your profile and click on the menu located in the upper right-hand corner. When the drop-down menu is shown, click on 'Insights,' then 'Content' and finally 'Stories.' 2. Via Your Stories Click on "Story" and swipe up.
OK, lets make this simple.
The direct answer as found on the official Facebook developers page is no. You can't trigger an API to create an instagram story, as for now only the "read-mode" is supported through API.
But as most things in life you can hack your way around.
You can create a button that says, "share on your instagram stories" and here's what it is gonna do:
UPDATE
- Trigger the open story camera in Instagram app with this link: instagram://story-camera. (the last content they have will be the content u sent and will be the first thing they see for posting a story)
There is a better solution for the third point:
It goes without saying that this will work when the website is opened in a phone and not in a desktop browser as in desktop you can't post stories.
The New York Times has done this.
In iOS, it generates an Instagram Story, with the headline and lede of the respective news article.
To do this, you'll have press the "share" button on an iPhone and then "Instagram Stories."
Auto generated Instagram Story, via The New York Times iOS app
Twitter has also done this for quite a while.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With