Facebook Graph API SDK for NodeJS
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Mateus M. Côrtes f593407b3c no relevant changes il y a 1 an
LICENSE Adicionar 'LICENSE' il y a 1 an
README.md Atualizar 'README.md' il y a 1 an
graph-api.js no relevant changes il y a 1 an
package.json Atualizar 'package.json' il y a 1 an



Facebook Graph API SDK for NodeJS.


A way to use the Facebook Graph API without being angry about unreadable code, lot of dependencies and hard to learn syntaxes.


Using npm:

npm install graph-api

Clonning the repo:

git clone https://gitea.melvillei.org/mmendescortes/graph-api.git

Self-mode usage example

Require the module:

const fb = require('graph-api');

Set the options:


Make a query:

fb.get(['id', 'name'], function(data){
    // your code here

Note: This query example is only valid for self mode! For more examples and usage, please refer to the Wiki.

Release History

  • 1.0.4
    • CHANGE: Renamed callback to callback_uri, fixed facebook’s callback bug and deleted some unecessary code.
  • 1.0.3
    • CHANGE: Token class is updated and callback class is merged onto options class.
  • 1.0.2
    • CHANGE: Overall Improvement.
    • ADD: Creation of the dialog and token classes.
  • 1.0.1
    • Work in progress


Mateus M. Côrtes – @mmendescortes[email protected]

Distributed under the Mozilla Public License 2.0. See LICENSE for more information.