Instagram-private-api: Is there a way to get user media or posts?

Created on 27 Mar 2019  路  2Comments  路  Source: dilame/instagram-private-api

I want to get user's media or posts or latest media/posts by user_id. Didn't find a way to do that so far. Please advise. Thanks

Most helpful comment

const id = await ig.user.getIdByUsername("xxx");
const feed = ig.feed.user(id);
const list = await feed.items();

All 2 comments

const id = await ig.user.getIdByUsername("xxx");
const feed = ig.feed.user(id);
const list = await feed.items();

Hi. How do I do this on v0.10.1 of the package?

I can't figure out how to use the newer versions oof.
Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ciolt picture ciolt  路  35Comments

sagardalal21 picture sagardalal21  路  39Comments

ambross picture ambross  路  10Comments

ozican picture ozican  路  143Comments

dhillon2325 picture dhillon2325  路  14Comments