Insta-Web-Sharer is designed to streamline the process of sharing website links, images, and captions directly to Instagram using navigator share in mobile devices of react app.
Install my-project with npm
npm i insta-web-sharer
import InstagramShareButton from 'insta-web-sharer'
function App() {
return <InstagramShareButton imageUrl={'image-url-here'} caption={'caption'} color={'#fff'} />
}
Option | Usage |
---|---|
imageUrl | URL of image to share on instagram |
caption | Caption to share on instagram |
color | Color of instagram icon |
If you have any feedback, please reach out at [email protected]