Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barbapapazes/instagram-get-media-comments
Script used to get comments from Instagram posts.
https://github.com/barbapapazes/instagram-get-media-comments
Last synced: 2 months ago
JSON representation
Script used to get comments from Instagram posts.
- Host: GitHub
- URL: https://github.com/barbapapazes/instagram-get-media-comments
- Owner: Barbapapazes
- License: mit
- Created: 2023-06-03T12:19:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-23T23:59:22.000Z (3 months ago)
- Last Synced: 2024-10-24T13:35:00.957Z (3 months ago)
- Topics: instagram
- Language: TypeScript
- Homepage:
- Size: 89.8 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Instagram Get Media Comments
> Script used to get comments from Instagram posts.
## Install dependencies
```bash
pnpm install --frozen-lockfile
```## Setup environment variables
```bash
cp .env.example .env
```You can get the access token using the [Graph Explorer tool](https://developers.facebook.com/tools/explorer/).
### Find the media id
1. Get your Instagram ID through the Meta Business Suite.
2. Get your media ID using `//media` endpoint.
3. Add it to the `.env` file.And _voilà_!
You can convert the JSON to CSV using [this tool](https://www.convertcsv.com/json-to-csv.htm).
## Usage
```bash
pnpm start
```## License
[MIT](LICENSE) © [Barbapapazes](https://github.com/Barbapapazes)