facebook-share-link
Generate Facebook sharing links
Install
$ npm install --save facebook-share-link
Usage
var FacebookShare = var share = //=> app id//=> https://www.facebook.com/dialog/share?app_id=...
API
Facebook(app)
-> function
Creates a sharing function bound to a specified app ID.
app
Required
Type: number
/ string
A number or numeric string representing your app ID.
share(options)
-> string
Generates a Facebook sharing dialog link.
options
Required
Type: object
See the Sharing on the Web documentation from Facebook for available options.
License
MIT © Ben Drucker