Send notifications to facebook
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
.gitignore
LICENCE
README.md
index.js
notify.js
package.json

README.md

facebook-notification

Send notifications to facebook

Example

var sendNotification = require("facebook-notificatoon")({
    clientId: "FACEBOOK CLIENT ID"
    , clientSecret: "FACEBOOK CLIENT SECRET"
    , production: false
})

sendNotification({
    user: {
        id: "facebook id"
    }
    , uri: "/my uri"
    , campaign: "optional utm_campaign for google analytics"
    , text: "text of notification"
}, function (err, result) {
    console.log("send notification!")
})

Installation

npm install facebook-notification

Contributors

  • Raynos

MIT Licenced