Socket
Socket
Sign inDemoInstall

node-fb-graph

Package Overview
Dependencies
61
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.7 to 0.0.8

2

package.json
{
"name": "node-fb-graph",
"version": "0.0.7",
"version": "0.0.8",
"description": "Node.js module for interacting with the Facebook Graph API",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -11,3 +11,3 @@ 'use strict';

const options = {
url: `${fbURL}/${pageId}/posts?access_token=${pageAccessToken}`,
url: `${fbURL}/${pageId}/posts?fields=likes.summary(true),message,created_time&access_token=${pageAccessToken}`,
method: 'GET'

@@ -14,0 +14,0 @@ };

@@ -12,3 +12,5 @@ 'use strict';

const result = await npmms.getPosts(_PAGE_ACCESS_TOKEN, _PAGE_ID);
console.log(JSON.stringify(result.page.posts));
expect(result.page.posts.length).to.be.greaterThan(0);
expect(result.page.posts[0].likes.summary.total_count).to.be.greaterThan(-1);
});

@@ -15,0 +17,0 @@ it('return all ratings for a given business page', async function() {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc