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

getUserFollowers and getUserMedia return empty #50

Open
irTopCoders opened this issue Jan 8, 2019 · 7 comments
Open

getUserFollowers and getUserMedia return empty #50

irTopCoders opened this issue Jan 8, 2019 · 7 comments

Comments

@irTopCoders
Copy link

I try this code:

let userData = await Instagram.getUserDataByUsername('cristiano');

let followers = await Instagram.getUserFollowers(userData.graphql.user.id);

console.log('followers:\n' + followers);

let userMedia =await Instagram.getUserMedia(userData.graphql.user.id);

console.log('userMedia:\n' + userMedia);

i get correct result of userData but followers and userMedia is empty.
other functions like searchBy and getFeed work correctly.

@vichesheiko
Copy link

same this issue :(

@yatsenkolesh
Copy link
Owner

@tageio Hi. Do you correctly authenticate?

@irTopCoders
Copy link
Author

@tageio Hi. Do you correctly authenticate?

Yes, Authentuication is correct. other methods works fine. but getUserFollowers and getUserMedia return empty.

@havenchyk
Copy link

@yatsenkolesh yeah, everything is correct, query returns an empty array

@Bestfastfire
Copy link

Same here

@volkorros
Copy link

@Bestfastfire @havenchyk You can try to change t.headers._headers['set-cookie'] on t.headers.raw()['set-cookie']

@SaraSlm
Copy link

SaraSlm commented Dec 11, 2019

I have same problem with getUserMedia method. getUserFollowers works fine for me

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

7 participants