
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
your key to manipulate your information on facebook in easy way
created by LeiamNash
installation:
npm i fbkey
calling:
const fb = require("fbkey");
error handling:
error documentation can be found on ErrorDocs
usages:
• comment
post a comment using your account
• createPage
create a facebook page using your account
• download
download facebook video including reels
• follow
auto follow using your facebook pages
• getKey
get your EAAG, EAAAAU, EAAD6V7 and EAAAAAY
• getPage
get your EAAD6V7 page
• post
create a public post using your account
• getAppstate
get your appstate by logging in your email and password
• share
auto share your facebook post
• stalk
get the information of a facebook user
• getToken
get your EAAG token using appstate
• gpt
your promotable ai
before we processed make sure that you have a facebook page existing in your account
const fb = require("fbkey");
// paste your EAAD6V7 token here
const access = await getPage("");
// we're getting your facebook pages
for (var page of access) {
const facebook = await fb.comment({
text: "", // your comment
length: 1, // number of comments
url "", // facebook post url
page
})
console.log(facebook);
}
if you don't have a facebook token then
const fb = require("fbkey");
// first we need to get your facebook token by logging in your account
const email = "615594487example";
const password = "example";
const token = await fb.getKey(email, password);
// we're going to use the EAAD6V7
const access = await fb.getPage(token.EAAD6V7);
// we're getting your facebook pages
for (var page of access) {
const facebook = await fb.comment({
text: "", // your comment
length: 1, // number of comments
url "", // facebook post url
page
})
console.log(facebook);
}
this is just an experimental feature and still have so many bugs on it
const fb = require("fbkey");
// use your appstate
const facebook = await createPage(appstate);
console.log(facebook);
if you don't have an appstate then we will get it by logging in
const fb = require("fbkey");
// first we need to login to get your appstate
const email = "615594487example";
const password = "example";
const appstate = await getAppstate(email, password);
// we're going to use the appstate as login
const facebook = await createPage(appstate);
console.log(facebook);
get facebook thumbnail, title, sd and hd URL
const fb = require("fbkey");
// paste the facebook video/reels url
const facebook = await fb.download("");
console.log(facebook);
before we processed make sure that you have a facebook page existing in your account
const fb = require("fbkey");
// paste your EAAD6V7 token here
const access = await getPage("");
// we're getting your facebook pages
for (var page of access) {
const facebook = await fb.follow({
uid: "", // paste your facebook uid here
page
})
console.log(facebook);
}
if you don't have a facebook token then
const fb = require("fbkey");
// first we need to get your facebook token by logging in your account
const email = "615594487example";
const password = "example";
const token = await fb.getKey(email, password);
// we're going to use the EAAD6V7
const access = await fb.getPage(token.EAAD6V7);
// we're getting your facebook pages
for (var page of access) {
const facebook = await fb.follow({
uid: "", // paste your facebook uid here
page
})
console.log(facebook);
}
it will get all of your facebook tokens
const fb = require("fbkey");
// first we need to login your account
const email = "615594487example";
const password = "example";
const token = await fb.getKey(email, password);
console.log(token)
make sure you have an existing facebook page to your account
const fb = require("fbkey");
// paste your EAAD6V7 token here
const facebook = await getPage("");
console.log(facebook);
if you don't have a facebook token then
const fb = require("fbkey");
// first we need to get your facebook token by logging in your account
const email = "615594487example";
const password = "example";
const token = await fb.getKey(email, password);
// we're going to get your pages information
const facebook = await fb.getPage(token.EAAD6V7);
console.log(facebook);
gain access to your account by posting a text
const fb = require("fbkey");
// we will only use your token
const facebook = await post({
text: "", // your post
token: "" // paste your EAAD6V7 token
});
console.log(facebook);
if you don't have a facebook token then
const fb = require("fbkey");
// first we need to get your facebook token by logging in your account
const email = "615594487example";
const password = "example";
const token = await fb.getKey(email, password);
// we will make a post now
const facebook = await post({
text: "", // your post
token: token.EAAD6V7
});
console.log(facebook);
it can be used for your messager bot
const fb = require("fbkey");
// we're loggin your account
const email = "615594487example";
const password = "example";
const facebook = await getAppstate(email, password);
console.log(facebook);
spam share using your account
const fb = require("fbkey");
await fb.share({
length: 1, // how many shares you want
url: "", // link of your post
token: "" // paste your EAAD6V7 token
});
if you don't have a facebook token then
const fb = require("fbkey");
// first we need to get your facebook token by logging in your account
const email = "615594487example";
const password = "example";
const token = await fb.getKey(email, password);
await fb.share({
length: 1, // how many shares you want
url: "", // link of your post
token: token.EAAD6V7
});
const fb = require("fbkey");
const uid = ""; // paste some facebook user iD
const token = ""; // paste your EAAD6V7 token
const facebook = await fb.stalk(uid, token);
console.log(facebook);
if you don't have a facebook token then
const fb = require("fbkey");
// first we need to get your facebook token by logging in your account
const email = "615594487example";
const password = "example";
const token = await fb.getKey(email, password);
const uid = ""; // paste some facebook user iD
const facebook = await fb.stalk(uid, token.EAAD6V7);
console.log(facebook);
appstate method for messenger bot
const fb = require("fbkey");
// assuming that you have this
const appstate = require("./appstate.json");
const facebook = await fb.getToken(appstate);
console.log(facebook);
unlimitedly and detailed result
const fb = require("fbkey");
// prompt something
const facebook = await fb.gpt("");
console.log(facebook);
list of errors type
explanation:
this error occurs when it fails to get an response from facebook
solution:
please contact the developer, only the developer can fix this issue and update the package
explanation:
this error occurs when there's no available data for your account
solution:
check your facebook account, maybe it's locked or if there're two factor authentication please turn it off, if this doesn't work please try to check your internet client this one gonna solve your problem
explanation:
this error occurs when you have two factor authentication enabled in your account
solution:
just turn it off the two factor authentication, if this doesn't work please change your password and relogin it again
explanation:
this error occurs when you put the wrong access token interested of EAAD6V7
solution:
to fix this just paste your EAAD6V7 token
explanation:
this error occurs when you put the wrong reaction that only supported
solution:
to fix this issue you just only put one reaction from these types
( HAHA, SAD, WOW, LOVE, ANGRY )
explanation:
this error occurs when your account doesn't have any pages
solution:
to fix this issue you need to create a new page from your account, because this is a page method or else update your token
explanation:
this error occurs because facebook updates their url as a unique randomize string
solution:
to fix this issue you need to get the url on facebook lite or in free.facebook.com the support url should be like this
https://m.facebook.com/story.php?id=100050635086635&story_fbid=982011393496688,
https://www.facebook.com/100050635086635/posts/982011393496688/?substory_index=7544103572345201&app=fbl
explanation:
this error occurs when you use an invalid facebook user id
solution:
to fix you need to extract your actual uid, you can use an third party app like facebook bot to extract your uid
FAQs
your key to access on facebook
The npm package fbkey receives a total of 9 weekly downloads. As such, fbkey popularity was classified as not popular.
We found that fbkey demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.