Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there some way, to get posts in feed by userId or login? #56

Open
OleksandrLysyi opened this issue Apr 12, 2019 · 2 comments
Open

Is there some way, to get posts in feed by userId or login? #56

OleksandrLysyi opened this issue Apr 12, 2019 · 2 comments

Comments

@OleksandrLysyi
Copy link

OleksandrLysyi commented Apr 12, 2019

I want to get all posts in feed by userId or login.
I have tried getUserMedia, but all time I get empty string (""),
Instagram.getUserMedia('9400211711', '0', 12).then((f) => ...

I've also tried getFeed but this method return my own posts, and I can't pass as parameter login of some another user to get his feed.

@gustavochavarria
Copy link
Contributor

gustavochavarria commented Sep 25, 2019

You can get the posts (first 12) of account:

const data = Instagram.getUserDataByUsername(username);

and get the post like a object:

data.graphql.user.edge_owner_to_timeline_media

@hamzadiaz
Copy link

Is there a way to get all posts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants