Skip to content

Instantly share code, notes, and snippets.

View jayremnt's full-sized avatar
💤

Nguyễn Duy Bảo jayremnt

💤
View GitHub Profile
@jayremnt
jayremnt / Auto unlike pages
Last active June 21, 2021 16:32
Facebook auto unlike pages with no Access Token needed
/*
* Code by JayremntB, 2020
* Requirement: Old Facebook
* Before run this script, please change to OLD facebook and navigate to this link: https://www.facebook.com/pages/?category=liked, press Ctrl + Shift + J or right-click/Inspect, choose Console
* If you want to Like pages again, run again this script
*/
// You can change time delay of these variables below or not (in milliseconds, 1 s = 1000 ms)
let timePerAction = 1000; //time delay between 2 actions
let timeToLoadPage = 1000; // time to load more pages when scroll current page to the end, depends on your network speed
@jayremnt
jayremnt / Auto cancel friend requests sent
Last active December 2, 2020 13:05
Facebook auto cancel friend requests sent with no Access Token needed
/*
* Code by JayremntB, 2020
* Requirement: New Facebook
* Before run this script, please change to NEW facebook and navigate to this link: https://www.facebook.com/friends/
*/
// You can change time delay of these variables below or not (in milliseconds, 1 s = 1000 ms)
// Before you change, click "View sent requests" button at left hand side to understand the meaning of each variable
let timePerAction = 500; // time delay between 2 actions (action = click the "Cancel request" button)
@jayremnt
jayremnt / (New Facebook) Auto send friend requests to users in an account's list friends or in one group
Last active August 6, 2020 19:47
Facebook Auto send friend requests to users in an account's list friends or in one group - no Access Token needed
/*
* Code by JayremntB, 2020
* Requirement: New Facebook
* Please copy all the code to make sure that you will not get any errors
* Before run this script, please change to NEW facebook and navigate to an account's list friends/group members' list you want
* Example: https://www.facebook.com/marcel/friends (account) & https://www.facebook.com/groups/dongkhiit/members (group)
*/
// You can change time delay of these variables below or not (in milliseconds, 1 s = 1000 ms)
// REMEMBER: the longer the delay time you set, the bigger your chance of not getting Facebook Checkpoint
@jayremnt
jayremnt / (Old Facebook) Auto send friend requests to users in an account's list friends or in one group
Last active March 15, 2022 21:38
Facebook Auto send friend requests to users in an account's list friends or in one group - no Access Token needed
/*
* Code by JayremntB, 2020
* Requirement: Old Facebook
* Please copy all the code to make sure that you will not get any errors
* Before run this script, please change to OLD facebook and navigate to an account's list friends/group members'list you want
* Example: https://www.facebook.com/marcel/friends (account) & https://www.facebook.com/groups/dongkhiit/members (group)
*/
// You can change time delay of these variables below or not (in milliseconds, 1 s = 1000 ms)
// REMEMBER: the longer the delay time you set, the bigger your chance of not getting Facebook Checkpoint
@jayremnt
jayremnt / en.json
Last active September 5, 2020 10:52
{
"version": 39,
"code": "vi",
"data": {
"APP_DESCRIPTION": "More features, more fun!",
"MESSAGES": "Messages",
"STATISTICS": "Statistics",
"TOTAL_MESSAGES": "Total messages",
"PARTICIPANTS": "Participants",
"LOGIN": "Login",
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
@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;
@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;
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
/*
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;