Socket
Socket
Sign inDemoInstall

fbm-send

Package Overview
Dependencies
11
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.4 to 2.0.5

8

package.json
{
"name": "fbm-send",
"version": "2.0.4",
"version": "2.0.5",
"description": "Send message through Facebook Messenger Send API.",

@@ -40,5 +40,5 @@ "keywords": [

"devDependencies": {
"eslint": "^5.9.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^3.3.0",
"eslint": "^6.0.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^5.0.0",
"eslint-plugin-import": "^2.14.0",

@@ -45,0 +45,0 @@ "eslint-plugin-prettier": "^3.0.0",

@@ -32,3 +32,3 @@ # Facebook Messenger Send API Client

accessToken: "Your Page Access Token",
version: "3.2"
version: "4.0"
});

@@ -54,3 +54,3 @@

* `accessToken`: Your Facebook page access token, default to `process.env.FB_PAGE_ACCESS_TOKEN`.
* `version`: The Facebook Graph API version, default to `3.2`.
* `version`: The Facebook Graph API version, default to `4.0`.

@@ -95,3 +95,3 @@ You can use the `try...catch` block to catch the API error response:

accessToken = process.env.FB_PAGE_ACCESS_TOKEN,
version = "3.2"
version = "4.0"
}]);

@@ -103,3 +103,3 @@ ```

* **`accessToken`** (optional *`String`*): The Facebook page access token, default to `process.env.FB_PAGE_ACCESS_TOKEN`.
* **`version`** (optional *`String`*): The Facebook Graph API version, default to `3.2`.
* **`version`** (optional *`String`*): The Facebook Graph API version, default to `4.0`.

@@ -510,3 +510,3 @@ ### Send Request

[MIT](https://github.com/risan/fbm-send/blob/master/LICENSE) © [Risan Bagja Pradana](https://bagja.net)
[MIT](https://github.com/risan/fbm-send/blob/master/LICENSE) © [Risan Bagja Pradana](https://risanb.com)

@@ -513,0 +513,0 @@ ## Legal

@@ -17,3 +17,3 @@ const fs = require("fs");

accessToken = process.env.FB_PAGE_ACCESS_TOKEN,
version = "3.2"
version = "4.0"
} = {}) {

@@ -20,0 +20,0 @@ this.accessToken = accessToken;

Sorry, the diff of this file is not supported yet

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