Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Instagram api endpoint for saved collections

Does Instagram api have an endpoint that returns user's saved collections? If not, is there a different way i can get the data?

Instagram Platform api is deprecating. How good it is to use instagram graph api for non-business use?

like image 950
user8797814 Avatar asked Jun 07 '18 18:06

user8797814


1 Answers

If using javascript you can use: https://github.com/dilame/instagram-private-api

some example code (you'd need to be authenticated):

const IG_API = require('instagram-private-api');
const ig = new IG_API.IgApiClient();

// get saved posts
const savedFeed = ig.feed.saved();
const mySavedPosts = await Promise.all([await savedFeed.items(), await savedFeed.items()]);
like image 67
Matt Pengelly Avatar answered Sep 20 '22 15:09

Matt Pengelly