@ezsper/facebook

0.0.14 • Public • Published

Facebook Graph Client

This is a personal Facebook Graph Client with proper types for typescript. Try it out live!

Preview

Still under development, not intended for production! 😁

Usage

import * as fb from '@ezsper/facebook';

const client = new fb.GraphClient({
  accessToken: '',
  appSecret: '',
});

const user = client.currentUser().get('/').execute({
  fields: {
    name: null,
    gender: null,
    accounts: {
      modifiers: {
        limit: 10,
      },
      fields: {
        category: null,
      },
    },
  },
});

Dependencies (8)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @ezsper/facebook

    Weekly Downloads

    0

    Version

    0.0.14

    License

    MIT

    Unpacked Size

    1.2 MB

    Total Files

    117

    Last publish

    Collaborators

    • ezsper