fbapi

0.1.7 • Public • Published

fbapi

Facebook Graph API client for NodeJS

NPM version Build Status Dependency Status Coverage percentage experimental

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

Readme

Keywords

Package Sidebar

Install

npm i fbapi

Weekly Downloads

1

Version

0.1.7

License

MIT

Last publish

Collaborators

  • arvitaly