0
Q:

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={() => {}}
/>
1

New to Communities?

Join the community