react-social
Advanced tools
+1
-1
@@ -6,3 +6,3 @@ { | ||
| ], | ||
| "version": "1.4.3", | ||
| "version": "1.5.0", | ||
| "homepage": "https://github.com/olahol/react-social", | ||
@@ -9,0 +9,0 @@ "description": "React social buttons and counts for Facebook, Pinterest, Google etc ...", |
+1
-1
| { | ||
| "name": "react-social", | ||
| "version": "1.4.3", | ||
| "version": "1.5.0", | ||
| "description": "React social buttons and counts for Facebook, Pinterest, Google etc ...", | ||
@@ -5,0 +5,0 @@ "main": "react-social.js", |
+4
-0
@@ -398,2 +398,6 @@ ;(function (root, factory) { | ||
| , constructUrl: function () { | ||
| if (this.props.sharer) { | ||
| return "https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(this.props.url) | ||
| } | ||
| return "https://www.facebook.com/dialog/feed?" | ||
@@ -400,0 +404,0 @@ + "app_id=" + encodeURIComponent(this.props.appId) |
+7
-0
@@ -124,2 +124,8 @@ # react-social | ||
| ##### sharer | ||
| - FacebookButton | ||
| Facebook has 2 different share dialogs. By default we're showing Feed Dialog which has more options, but supports only sharing to user's feed. You can set `sharer` option to `true` and we'll show Share Dialog where user can choose between their feed and also pages they have access to. | ||
| ## Styles | ||
@@ -150,2 +156,3 @@ | ||
| * River Kanies (@riverKanies) | ||
| * Pavel Linkesch (@orthes) | ||
@@ -152,0 +159,0 @@ |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
23702
2.09%544
0.55%170
4.29%