-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.js
33 lines (26 loc) · 1.01 KB
/
sample.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// let insta = new require("./insta").instance({ httpsProxyUrl: 'http://185.61.92.207:34364' });
let insta = new require("./insta").instance({ proxy: 'http://67.209.116.227:24001/', timeout: 150000, retry: 5 });
// insta.getUsername({identifier: "26669533"})
// .then(data => {
// console.log(data); //Threat the data
// })
insta.getUserProfile({identifier: 'pelle.faust'})
.then(data => {
console.log(data); //Threat the data
})
// insta.getUserFollowers({identifier: "26669533", limit: 10})
// .then(data => {
// console.log(data); //Threat the data
// })
// insta.getUserPosts({identifier: "26669533", limit: 300})
// .then(data => {
// console.log(JSON.stringify(data)); //Threat the data
// })
// insta.getPostDetails({identifier: "B2gxtu-o3Oc"})
// .then(data => {
// console.log(data); //Threat the data
// })
// insta.getPostLikes({identifier: "SQotORh6Gz", limit: 80})
// .then(data => {
// console.log(data); //Threat the data
// })