@@ -66,6 +66,9 @@ var params = {
66
66
fFollowingAmount : "" ,
67
67
fFollowingDelay : "" ,
68
68
unfollowAmount : "" ,
69
+ unfollowMethod : "" ,
70
+ unfollowOrder : "" ,
71
+ unfollowDelay : "" ,
69
72
interactAmount : "" ,
70
73
interactPercent : ""
71
74
} ,
@@ -220,7 +223,7 @@ var app = {
220
223
if ( option . interactRandom ) {
221
224
random = "True" ;
222
225
}
223
- content = `\nsession.set_user_interact(amount=${ data . interactAmount } , random =${ random } , percentage=${ data . interactPercent } )\n` ;
226
+ content = `\nsession.set_user_interact(amount=${ data . interactAmount } , randomize =${ random } , percentage=${ data . interactPercent } )\n` ;
224
227
}
225
228
226
229
return content ;
@@ -284,7 +287,7 @@ var app = {
284
287
}
285
288
content = `\nsession.follow_user_followers([${ this . parser (
286
289
data . fFollowersUsers
287
- ) } ], amount=${ data . fFollowersAmount } , sleep_delay=${ data . fFollowersDelay } , random =${ random } , interact=${ interact } )`;
290
+ ) } ], amount=${ data . fFollowersAmount } , sleep_delay=${ data . fFollowersDelay } , randomize =${ random } , interact=${ interact } )`;
288
291
}
289
292
290
293
return content ;
@@ -303,7 +306,7 @@ var app = {
303
306
}
304
307
content = `\nsession.follow_user_following([${ this . parser (
305
308
data . fFollowingUsers
306
- ) } ], amount=${ data . fFollowingAmount } , sleep_delay=${ data . fFollowingDelay } , random =${ random } , interact=${ interact } )`;
309
+ ) } ], amount=${ data . fFollowingAmount } , sleep_delay=${ data . fFollowingDelay } , randomize =${ random } , interact=${ interact } )`;
307
310
}
308
311
309
312
return content ;
@@ -321,9 +324,19 @@ var app = {
321
324
} ,
322
325
unfollowUsers : function ( on ) {
323
326
var content = `` ;
324
-
325
327
if ( on ) {
326
- content = `\nsession.unfollow_users(amount=${ data . unfollowAmount } )` ;
328
+ if ( data . unfollowMethod == "InstaPy" ) {
329
+ var instaPyMode = `'${ data . unfollowMethod } '` ;
330
+ var onlyInstaPyMode = "True" ;
331
+ content = `\nsession.unfollow_users(amount=${ data . unfollowAmount } , onlyInstapyFollowed=${ onlyInstaPyMode } , onlyInstapyMethod:${ instaPyMode } , sleep_delay=${ data . unfollowDelay } )` ;
332
+ }
333
+ else if ( data . unfollowMethod == "NotFollowing" ) {
334
+ var onlyNotMode = "True" ;
335
+ content = `\nsession.unfollow_users(amount=${ data . unfollowAmount } , onlyNotFollowMe=${ onlyNotMode } , sleep_delay=${ data . unfollowDelay } )` ;
336
+ }
337
+ else {
338
+ content = `\nsession.unfollow_users(amount=${ data . unfollowAmount } , sleep_delay=${ data . unfollowDelay } )` ;
339
+ }
327
340
}
328
341
329
342
return content ;
0 commit comments