Socket
Book a DemoInstallSign in
Socket

facebook-graph-client

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

facebook-graph-client

A Node.js client to the Facebook Graph API

0.0.4
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source

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.

FAQs

Package last updated on 24 Feb 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.