Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 793 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 793 Bytes

facebook-node-sdk

A wrapper arround facebook-node-sdk. This allows you to do all things Facebook API server-side.

This only brings the methods needed to access the API. For login flow use accounts-facebook.

##Features

  • Allows you to set client keys in settings.json

    { "facebook-node-sdk": { "app_id": "XXXXXXXXXXXX", "app_secret": "XXXXXXXXXXXXXXX" } }

If you don't put this in settings.json, you'll have to init this yourself:

var facebook = new Facebook({
    appId: 'XXXXXXXXX',
    secret: 'XXXXXXXXXXXXX'
}).setAccessToken('access token');

##Installation sh mrt add facebook-node-sdk

##Examples

See here.