🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

react-social

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-social - npm Package Compare versions

Comparing version
1.4.3
to
1.5.0
+1
-1
bower.json

@@ -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 ...",

{
"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",

@@ -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)

@@ -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 @@