
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
facebook-comment-api
Advanced tools
The simple library to reply comment real-time
If you just want to use facebook-comment-api, you should use this command:
npm install facebook-comment-api
It will download facebook-comment-api from NPM repositories
or
npm install Notekunn/facebook-comment-api
const login = require("facebook-comment-api");
login({ access_token: "EAA" }, (err, api) => {
if (err) return console.error(err);
api.listen((err, event) => {
api.sendComment({ body: event.body }, event.idReplyTo)
});
});
This function is returned by require(...)
and is the main entry point to the API.
It allows the user to log into facebook given the right credentials.
If it succeeds, callback
will be called with a null
object (for potential errors) and with an object containing all the available functions.
If it fails, callback
will be called with an error object.
Arguments
credentials
: An object containing the field access_token
used to login, or an object containing the field appState
.options
: An object representing options to use when logging in.callback(err, api)
: A callback called when login is done (successful or not). err
is an object containing a field error
.It send a friend request to a user
Arguments
userID
: userIDcallback(error, data)
: A callback when add friends doneIt get all info of and user
Arguments
userID
: userIDcallback(error, data)
: A callback when add getinfo doneArguments
commentID
: commentIDcallback(error, data)
: A callback when add getinfo doneIt will call the callback
every have new notification
Arguments
callback(error, data)
: callbackFAQs
The simple library to reply comment real-time
The npm package facebook-comment-api receives a total of 4 weekly downloads. As such, facebook-comment-api popularity was classified as not popular.
We found that facebook-comment-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.