Socket
Socket
Sign inDemoInstall

tools-for-instagram

Package Overview
Dependencies
464
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.8.7 to 1.8.8

src/getTelegramGroup.js

25

experiments2.js

@@ -5,22 +5,9 @@ require('./src/tools-for-instagram');

//let info = await spider.userHasStories("TheLinkfy");
//let info = await getUserInfo(ig, "its.crystinx");
//polls.boredd: 18839378120
//its.crystinx: 35125190
//let stories = await getStoriesFromId(ig, 18839378120);
//let polls = await getPollsFromStories(ig, stories);
getTelegramGroup();
//let ig = await login();
//let pictureUrl = "https://i.ytimg.com/vi/w6-1O0WCdGM/maxresdefault.jpg";
//let caption = "This is a test image that I'll delete in a few seconds";
//let image = await uploadPictureByUrl(ig, caption, pictureUrl);
/* for(p in polls) {
await voteStoryPoll(ig, polls[p]);
} */
let ig = await login();
console.log(await getLikeActivityByHours(ig, 24));
//console.log(await getMediaIdInfo(ig, '2111579218110733346'));
//console.log(a);
//console.log(polls);
})();
})();
{
"name": "tools-for-instagram",
"version": "1.8.7",
"version": "1.8.8",
"description": "Tools for instagram",

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

@@ -5,3 +5,3 @@ # Tools-for-Instagram

[![Telegram Chat](https://img.shields.io/badge/telegram-join%20chat-informational.svg)](https://t.me/toolsforinstagram)
[![Telegram Chat](https://img.shields.io/badge/telegram-join%20chat-informational.svg)](https://github.com/linkfy/Tools-for-Instagram/wiki/Access-telegram-group)
[![paypal](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/LinkStudios/10)

@@ -380,2 +380,10 @@ ![Snyk Vulnerabilities for npm package](https://img.shields.io/snyk/vulnerabilities/npm/tools-for-instagram)

#### uploadPictureByUrl(ig, caption, pictureUrl)
```javascript
let pictureUrl = "https://i.ytimg.com/vi/w6-1O0WCdGM/maxresdefault.jpg";
let caption = "This is a test image that I'll delete in a few seconds";
let image = await uploadPictureByUrl(ig, caption, pictureUrl);
```
#### commentMediaId(ig, mediaId, commentContent)

@@ -382,0 +390,0 @@ Post a comment on the desired post giving the media Id

@@ -11,2 +11,3 @@ function toolsForInstagram() {

global.spider = require('./spider.js');
global.getTelegramGroup = require('./getTelegramGroup.js');
global.removeCookie = require('./removeCookie.js');

@@ -60,2 +61,3 @@ global.regenerateSession = require('./regenerateSession.js');

global.uploadPicture = require('./uploadPicture.js');
global.uploadPictureByUrl = require('./uploadPictureByUrl.js');
global.getMediaType = require('./getMediaType.js');

@@ -62,0 +64,0 @@ global.getPhotoUrl = require('./getPhotoUrl.js');

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