This package has been deprecated

Author message:

NO LONGER MAINTINED

@the-/facebook

15.4.0 • Public • Published

@the-/facebook

npm Version

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))

License

This software is released under the MIT License.

Links

Readme

Keywords

Package Sidebar

Install

npm i @the-/facebook

Weekly Downloads

1

Version

15.4.0

License

MIT

Unpacked Size

47 kB

Total Files

31

Last publish

Collaborators

  • okunishinishi