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

facebook-node-sdk

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

facebook-node-sdk - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

lib/basefacebook.js

@@ -891,3 +891,3 @@ var https = require('https');

else {
var responseParams = querystring.parse(responseParams);
var responseParams = querystring.parse(accessTokenResponse);
if (!responseParams.hasOwnProperty('access_token')) {

@@ -894,0 +894,0 @@ callback(null, false);

{
"name": "facebook-node-sdk",
"version": "0.1.1",
"version": "0.1.2",
"description": "Node.js SDK for the Facebook API",

@@ -5,0 +5,0 @@ "tags": ["facebook"],

@@ -488,3 +488,11 @@ var path = require('path');

assert.equal(response, false);
done = true;
facebook.oauthRequest = function(host, path, params, callback) {
callback(null, 'access_token=dummy-access-token&expires=3600');
};
facebook.getAccessTokenFromCode('dummy', 'http://example.com/', function(err, response) {
assert.equal(err, null);
assert.equal(response, 'dummy-access-token');
done = true;
});
});

@@ -491,0 +499,0 @@ });

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