Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fb-graph-api

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fb-graph-api - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

2

package.json
{
"name": "fb-graph-api",
"version": "1.0.10",
"version": "1.0.11",
"description": "NodeJS Library for Facebook Graph API",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/CoericK/fb-graph-api",

@@ -23,6 +23,6 @@ # NodeJS Library for Facebook Graph API

// Using require() in ES5
var FBGraphAPI = require('fb-graph-api').FBGraphAPI;
var FBGraphAPI = require('fb-graph-api');
// Using ES2015 import through Babel
import {FBGraphAPI} from 'fb-graph-api';
import FBGraphAPI from 'fb-graph-api';
```

@@ -91,2 +91,15 @@

.catch(e => console.log('e', e));
```
### isValid
[Debugs a given token](https://developers.facebook.com/docs/facebook-login/access-tokens/debugging-and-error-handling) using the App Access Token and checks if the given token was crated for the App Access Token that was given.
```js
FB.isValid('EAAJ3bm5M....')
.then(valid => {
console.log('valid', valid); // true or false
})
.catch(e => console.log('e', e));
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc