use-instagram-feed
To install:
npm i use-instagram-feed
or
yarn add use-instagram-feed
To use, pass the:
- instagram user id: string (I have used this online tool to find user ids)
- thumbnailWidth: number
- photoCount: number
const App = { let photos = return <div> photos && photos </div> }
The hook returns each photo's id, caption text, photo source, photo width & height, and the post's URL