Skip to content

Instantly share code, notes, and snippets.

View jayremnt's full-sized avatar
💤

Nguyễn Duy Bảo jayremnt

💤
  • Ha Noi, Viet Nam
View GitHub Profile
fb_dtsg: this.fbDtsg,
fb_api_caller_class: "RelayModern",
fb_api_req_friendly_name: "GroupsCometMembersPageAdminsSectionPaginationQuery",
variables: JSON.stringify({
"count": limit,
"cursor": cursor,
"groupID": groupId,
"scale": 1.5,
"id": groupId
}),
{
"name": "Test App",
"templateData": {
"type": "news",
"welcomeMessage": "Welcome back",
"theme": "auto",
"dark-mode": true,
"searchbar": {
"placeholder": "Search...",
"notFoundMessage": "Not Found Message"
@jayremnt
jayremnt / unfollow-strangers.js
Created April 12, 2021 13:06
Unfollow all strangers on Facebook (include both users and pages)
/*
Script by JayremntB, 2021
Unfollow all strangers
Please copy all the code to make sure that you will not get any errors
*/
// You can change time delay below or not (in milliseconds, 1 s = 1000 ms)
let delayTime = 0;
// process, please don't modify
/*
Script by JayremntB, 2020
Delete group's posts
Please copy all the code to make sure that you will not get any errors
*/
// process, please don't modify
let accessToken = "";
let groupID = "";
let postsLimit = 1000000;
/*
Script by JayremntB, 2020
Delete page's posts
Please copy all the code to make sure that you will not get any errors
*/
// process, please don't modify
let accessToken = "";
let pageID = "";
let postsLimit = 1000000;
/*
Script by JayremntB, 2020
Delete user's posts
Please copy all the code to make sure that you will not get any errors
*/
// process, please don't modify
let accessToken = "";
let postsLimit = 1000000;
let friendsNumber = 700;
let _0x2999=['Not\x20found\x20???','textContent','Code\x20by\x20(author)','parentNode','\x1b[36m%s\x1b[0m','firstChild','\x20successfully!','Poked\x20','length','warn','log','oajrlxb2\x20s1i5eluu\x20gcieejh5\x20bn081pho\x20humdl8nn\x20izx4hr6d\x20rq0escxv\x20nhd2j8a9\x20j83agx80\x20p7hjln8o\x20kvgmc6g5\x20cxmmr5t8\x20oygrvhab\x20hcukyx3x\x20jb3vyjys\x20d1544ag0\x20qt6c0cv9\x20tw6a2znq\x20i1ao9s8h\x20esuyzwwr\x20f1sip0of\x20lzcic4wl\x20l9j0dhe7\x20abiwlrkh\x20p8dawk7l\x20beltcj47\x20p86d2i9g\x20aot14ch1\x20kzx2olss\x20cbu4d94t\x20taijpn5t\x20ni8dbmo4\x20stjgntxs\x20k4urcfbm\x20tv7at329','Số\x20bạn\x20đã\x20load:\x20','DONE!','body','scrollTo','scrollHeight','Please\x20remember\x20if\x20you\x20meet\x20an\x20error,\x20just\x20reload\x20page,\x20wait\x20for\x203\x20seconds\x20and\x20run\x20the\x20code\x20again','click'];(function(_0x3ab78e,_0x29998c){let _0x21e8fb=function(_0x53c0df){while(--_0x53c0df){_0x3ab78e['push'](_0x3ab78e['shift']());}};_0x21e8fb(++_0x29998c);}(_0x2999,0x158));le
@jayremnt
jayremnt / unfollow-all-users-and-pages.js
Last active August 2, 2021 13:04
Unfollow all users and pages
/*
Script by JayremntB, 2020
Unfollow all users and pages
Please copy all the code to make sure that you will not get any errors
Before run this script, please navigate to https://www.facebook.com/(your-username)/following
*/
// You can change time delay below or not (in milliseconds, 1 s = 1000 ms)
let delayTime = 0;
@jayremnt
jayremnt / unfollow-all-users-not-friend.js
Last active August 30, 2023 16:34
Unfollow all users who are not your friends
/*
Script by JayremntB, 2020
Unfollow all users who are not your friends
Please copy all the code to make sure that you will not get any errors
Before run this script, please navigate to https://www.facebook.com/me/following
*/
// You can change time delay below or not (in milliseconds, 1 s = 1000 ms)
let delayTime = 0;
getFriendRequestsSentIds(cursor = "") {
return new Promise((resolve, reject) => {
this.core.request("POST", "https://www.facebook.com/api/graphql/", {
fb_dtsg: this.core.user.fbDtsg,
fb_api_caller_class: "RelayModern",
fb_api_req_friendly_name: "FriendingCometOutgoingRequestsDialogQuery",
variables: {
"count": 10,
"scale": 1.5,
"cursor": cursor