facebook-notification

Send notifications to facebook

facebook-notification

Send notifications to facebook

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 (errresult) {
    console.log("send notification!")
})

npm install facebook-notification

  • Raynos