how to put instagram post in react app


// Run the following command to install
// $ npm i react-instagram-embed
‚Äč
import InstagramEmbed from 'react-instagram-embed';

<InstagramEmbed
url='https://instagr.am/p/Zw9o4/'
maxWidth={320}
hideCaption={false}
containerTagName='div'
protocol=''
injectScript
onLoading={() => {}}
onSuccess={() => {}}
onAfterRender={() => {}}
onFailure={() => {}}
/>

www.codegrepper.com
www.stackoverflow.com