//instagram-get-media-commentsbyBarbapapazes

instagram-get-media-comments

Script used to get comments from Instagram posts.

4
0
4
TypeScript

Instagram Get Media Comments

Script used to get comments from Instagram posts.

Install dependencies

pnpm install --frozen-lockfile

Setup environment variables

cp .env.example .env

You can get the access token using the Graph Explorer tool.

Find the media id

  1. Get your Instagram ID through the Meta Business Suite.
  2. Get your media ID using /<instagram_id>/media endpoint.
  3. Add it to the .env file.

And voilà!

You can convert the JSON to CSV using this tool.

Usage

pnpm start

License

MIT © Barbapapazes

[beta]v0.14.0