instagram-node-api
BETA - A node wrapper to Instagram API 😄
Status
- GET /users/search.
- GET /users/self.
- GET /users/self/media/recent.
- GET /tags/tag-name/media/recent.
- GET /tags/user-id/media/recent.
Another's coming soon.
Usage
npm install --save instagram-node-api
const InstagramNodeApi = ; const instagramNodeApi = YOUR_ACCESS_TOKEN; instagramNodeApi;instagramNodeApi;instagramNodeApi;
Users
Search users by quering username.
instagramNodeApi; instagramNodeApi; instagramNodeApi;
Get information about the owner of the access_token.
instagramNodeApi; instagramNodeApi; instagramNodeApi;
Get information about the user
instagramNodeApi; instagramNodeApi; instagramNodeApi;
Get the most recent media published by the id of the user
instagramNodeApi; instagramNodeApi; instagramNodeApi; instagramNodeApi;
Get the most recent media published by the owner of the access_token..
instagramNodeApi; instagramNodeApi; instagramNodeApi; instagramNodeApi;
Tags
Get the most recent media published by the owner of the access_token..
instagramNodeApi; instagramNodeApi; instagramNodeApi; instagramNodeApi;
- tagName: String
- dateLimit: Date
- limit*: Number
Usage
instagramNodeApi; // => Returns last 33 medias from taginstagramNodeApi; // => Stop the search when founded some media which is greater than the date informedinstagramNodeApi; // => Stop the search when founded some media which is greater than the date informed or the limitinstagramNodeApi; // => Stop the search when the number of founded medias is greater than the limit informed
Tests
Include a .env
file with:
TEST_INSTAGRAM_ACCESS_TOKEN=YOUR_ACCESS_TOKEN
And just run npm test
Contributing
Currently this is very basic for my needs, PRs are welcome 🙏