3.0.0 • Published 6 years ago

the-facebook v3.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

the-facebook

Build Status npm Version JS Standard

Facebook utility for the-framework

Installation

$ npm install the-facebook --save

Usage

'use strict'

const theFacebook = require('the-facebook')

async function tryExample () {
  const fb = theFacebook({apiVersion: 'v2.11'})

  const token = 'xxxxxxxxx' // user token
  const appToken = await fb.appTokenFor('__my_app_id__', '__my_app_secret__')
  const data = await fb.userDataFor(token, appToken, {
    fields: 'name,email,picture,timezone,gender,locale'
  })
}

tryExample().catch((err) => console.error(err))

API Guide

License

This software is released under the MIT License.

Links

3.0.0

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago