Socket
Socket
Sign inDemoInstall

tools-for-instagram

Package Overview
Dependencies
204
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.1 to 1.3.2

experiments.js

2

package.json
{
"name": "tools-for-instagram",
"version": "1.3.1",
"version": "1.3.2",
"description": "Tools for instagram",

@@ -5,0 +5,0 @@ "main": "src/tools-for-instagram.js",

@@ -172,2 +172,21 @@ # Tools-for-Instagram

```
#### getRecentPostLikers(ig, post);
Get the last likers (max of 1000) of a post
```javascript
let posts = await getUserRecentPosts(ig, username);
let likers = await getRecentPostLikers(ig, posts[0]);
```
#### getRecentPostLikersByUsername(ig, username)
Get the last likers (max of 1000) of the last post of the desired username
```javascript
let likers = await getRecentPostLikersByUsername(ig,'instagram');
//Show the last liker of the array
console.log(likers[likers.length-1]);
```
#### getFollowers(ig, username)

@@ -277,1 +296,4 @@ It will save the followers inside the outputfolder with the format "acountName_followers.json"

#### getUserRecentPosts(ig, username)

@@ -40,4 +40,6 @@ function toolsForInstagram() {

global.viewStoriesFromFollowers = require('./viewStoriesFromFollowers.js');
global.getRecentPostLikers = require('./getRecentPostLikers.js');
global.getRecentPostLikersByUsername = require('./getRecentPostLikersByUsername.js');
}
module.exports = toolsForInstagram();
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc