This package has been deprecated

Author message:

Not Maintained

facebook-graph-client

0.0.4 • Public • Published

Facebook Graph Client

This module is for interacting with the facebook graph API.

Methods

require('facebook-graph-client').createClient([access_token])

Creates a new client. Optionally sets the access_token property of the client to the value of access_token.

Client

client.post_object(obj, [args], [callback])

  • Obj: String
  • Args: Object (optional)
  • Callback: Function(err, res, json) (optional)

client.delete_object(obj, [args], [callback])

  • Obj: String
  • Args: Object (optional)
  • Callback: Function(err, res, json) (optional)

client.get_object(obj, [args], [callback])

  • Obj: String
  • Args: Object (optional)
  • Callback: Function(err, res, json) (optional)

client.get_objects(objs, [args], [callback])

  • Objs: String[]
  • Args: Object (optional)
  • Callback: Function(err, res, json) (optional)

client.get_connection(obj, connection, [args], [callback])

  • Obj: String
  • Connection: String
  • Args: Object (optional)
  • Callback: Function(err, res, json) (optional)

client.post_connection(obj, connection, [args], [callback])

  • Obj: String
  • Connection: String
  • Args: Object (optional)
  • Callback: Function(err, res, json) (optional)

License

See LICENSE.md

Issues

Bug patches and reports are welcome, please create an issue in the issue tracker on github for them.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i facebook-graph-client

    Weekly Downloads

    5

    Version

    0.0.4

    License

    none

    Last publish

    Collaborators

    • miksago
    • tim-smart