instagram-nodejs icon indicating copy to clipboard operation
instagram-nodejs copied to clipboard

Simple library for auth, get followers, search by hashtags and locations, like posts, follow, get user feed of instagram with nodejs

Results 36 instagram-nodejs issues
Sort by recently updated
recently updated
newest added

Hi can i get the usernames liked one photo? I want to have all usernames that they liked one photo, can i do that with your script?

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) => ...`...

**hi how to get my following account?**

When i want use get follower and i want use the Previous csrf token and sessionId that i got last time without updating them I find and error "session id"...

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...

When I try `insta.getUserDataById()` I get this error: ``` (node:11743) UnhandledPromiseRejectionWarning: FetchError: invalid json response body at https://www.instagram.com/query/ reason: Unexpected end of JSON input at myproject/node_modules/node-fetch/lib/body.js:48:31 at process._tickCallback (internal/process/next_tick.js:68:7) ```...

Hey this repo is really good but I need to search users with usernames. Can you help about it ?

Line 120 always prints the response to the console when you use getUserDataByUsername. This should be removed, as the user can choose to log the response.

I had this issue when run the basic code: > ReferenceError: sessionID is not defined > at Instagram.auth.then (C:\Users\samuc\projetos\instabot\app.js:25:21) > at process._tickCallback (internal/process/next_tick.js:68:7) My complete code: ``` const express =...

There was a console.log call for the data returned by the getUserDataByUsername call that really fills up the console. I commented that out, as well as add an error message...