Supports Facebook Graph API v2.0
- Install dependencies
npm install
- Paste your
access_token
inconfig.js
, which can be generated from the Graph API explorer.
See sample.js
. The access token must have the right permissions. See FB Graph API Reference for all available endpoints. Note that the user access token lasts for 2 hours by default.