-
Notifications
You must be signed in to change notification settings - Fork 122
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
user_followers or user_follows return empty array in result #113
Comments
I believe this is not down to the library, but due to Instagram stopping this endpoint altogether: https://www.instagram.com/developer/endpoints/ |
Hello Sam Doidge,
many thanks indeed. You tried it, too?
Kind Regards.
2017-04-28 7:15 GMT-03:00 Sam Doidge <[email protected]>:
… I believe this is not down to the library, but due to Instagram stopping
this endpoint altogether: https://www.instagram.com/developer/endpoints/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#113 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACD0TjxieCtnp-dfZYrZgYanaoQAE8mKks5r0bxMgaJpZM4M8yK4>
.
|
Yes, I couldn't see a way to get these lists from the API. |
@felipe-muner |
Use my fork.. https://github.com/statefull/instagramapi I have all the problems solved. |
Hello,
BR?
Many thanks indeed.
Att
2017-05-10 13:18 GMT-03:00 Fernando Bernal <[email protected]>:
… Use my fork.. https://github.com/statefull/instagramapi I have all the
problems solved.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#113 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACD0Tku0gsOYtwSM7TZLTWjO-HkPlSgEks5r4eNTgaJpZM4M8yK4>
.
|
hi @statefull, i tried your fork but i'm still getting an empty result and i had to check the code to figure out that i needed to add the token like parameter. |
I did:
step1
https://api.instagram.com/oauth/authorize/?client_id=ID&redirect_uri=http://localhost&scope=basic+public_content+follower_list+comments+relationships+likes&response_type=code
step2
curl -F 'client_id=id'
-F 'client_secret=secret'
-F 'grant_type=authorization_code'
-F 'redirect_uri=http://localhost'
-F 'code=97ca5f5d754d45d19ed8cf7f764bb1b9' \ // generate in step1
https://api.instagram.com/oauth/access_token
my index.js:
var ig = require('instagram-node').instagram();
ig.use({ access_token: 'access_token' }); // generate in step2
ig.user('145625639', function(err, result, remaining, limit) {
debugger;
console.log(result);
});
But when i try, the code below don't work =(
//this return always a empty array
var hdl = function(err, users, pagination, remaining, limit) {
console.log(users);
debugger;
if(pagination.next) {
pagination.next(hdl); // Will get second page results
}
};
ig.user_followers('145625639', hdl);
Anyone can help me?
Many thanks
The text was updated successfully, but these errors were encountered: