fbapi
v0.1.7
Published
Facebook Graph API client for NodeJS
Downloads
36
Readme
fbapi
Facebook Graph API client for NodeJS
Install
npm install fbapi --save
Usage
import createClient from "fbapi";
const fbapi = createClient({accessToken: "..."});
(async ()=>{
const group = await fbapi.group("123").get();
const posts = [];
for await (const post of fbapi.group("123").feed().read({fields:["message"]}, "1568" )){
posts.push(post);
}
console.log(posts);
})()
API
Test
npm install
npm test