Fetch instagram metadata with full details and simplified json metadata
☕ Buy Me a Coffee : Saweria
Installation:
npm i insta-fetcher
recommended to set the session id before make call to all function
const ig = require('insta-fetcher');
ig.setCookie('your session id');
Example
const ig = require('insta-fetcher');
// Public post
ig.fetchPost('https://www.instagram.com/p/CMBZUsMALA_/').then(res => {
console.log(res);
})
// User data
ig.fetchUser('mg.creativestudio').then(res => {
console.log(res);
})
// Fetch stories
ig.fetchStories('adiraas.p').then(res => {
console.log(res);
})
All kinds of contributions are welcome - code, tests, documentation, bug reports, new features, etc...
$ claude mcp add insta-fetcher \
-- python -m otcore.mcp_server <graph>