Socket
Socket
Sign inDemoInstall

cordova-plugin-facebook-connect

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.2.0

scripts/ios/before_plugin_install.js

15

CHANGELOG.md

@@ -0,1 +1,16 @@

<a name="2.2.0"></a>
# [2.2.0](https://github.com/cordova-plugin-facebook-connect/cordova-plugin-facebook-connect/releases/tag/v2.2.0) (2021-04-06)
## Features
* Updated the Facebook SDK to 9.1.0 for Android and iOS
## Bug Fixes
* Added a hook to allow variables to be replaced in Podfile when using cordova-ios 5 (closes [#52](https://github.com/cordova-plugin-facebook-connect/cordova-plugin-facebook-connect/issues/52))
## Documentation
* Updated README to make it clear that an access token must be included when using the `api` method (closes [#50](https://github.com/cordova-plugin-facebook-connect/cordova-plugin-facebook-connect/issues/50))
<a name="2.1.0"></a>

@@ -2,0 +17,0 @@ # [2.1.0](https://github.com/cordova-plugin-facebook-connect/cordova-plugin-facebook-connect/releases/tag/v2.1.0) (2021-03-06)

2

package.json
{
"name": "cordova-plugin-facebook-connect",
"version": "2.1.0",
"version": "2.2.0",
"description": "Cordova Facebook SDK Plugin",

@@ -5,0 +5,0 @@ "cordova": {

@@ -196,3 +196,3 @@ # cordova-plugin-facebook-connect

Success function returns an Object with `postId` as String or `from` and `to` information when doing `apprequest`.
Success function returns an Object or `from` and `to` information when doing `apprequest`.
Failure function returns an error String.

@@ -216,3 +216,3 @@

**Note: "In order to make calls to the Graph API on behalf of a user, the user has to be logged into your app using Facebook login."**
**Note: "In order to make calls to the Graph API on behalf of a user, the user has to be logged into your app using Facebook login, and you must include the access_token parameter in your requestPath. "**

@@ -300,4 +300,4 @@ For more information see:

method: "share"
}, function onShareSuccess (result) {
console.log("Posted. ", result);
}, function onShareSuccess () {
console.log("Posted.");
});

@@ -313,3 +313,3 @@ });

```js
facebookConnectPlugin.api("<user-id>/?fields=id,email", ["user_birthday"],
facebookConnectPlugin.api("me/?fields=id,birthday&access_token=" + myAccessToken, ["user_birthday"],
function onSuccess (result) {

@@ -320,3 +320,3 @@ console.log("Result: ", result);

"id": "000000123456789",
"email": "myemail@example.com"
"birthday": "01/01/1985"
}

@@ -330,19 +330,2 @@ */

### Publish a Photo
Send a photo to a user's feed
```js
facebookConnectPlugin.showDialog({
method: "share",
name:'Test Post',
message:'First photo post'
}, function (response) {
console.log(response)
}, function (response) {
console.log(response)
}
);
```
## Hybrid Mobile App Events

@@ -349,0 +332,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc