Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

AnduAanei/nodejs-realtime-fb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

nodejs-realtime-fb

Facebook Real-time Updates integration for NodeJS. You can read more about Facebook Real-time Updates API on https://developers.facebook.com/docs/reference/api/realtime/

The module is built on top of ExpressJS module and also uses 'querystring'.

It exposes 5 basic functions:

  • startListening(ip, port, endpointUrl, facebook_app_id, facebook_app_secret, silent, updatesCallback); It will start the local server that handles the notifications. updatesCallback(data) - will get called everytime facebook will send a notification to your app.
  • subscribe(object, fields, errorCallback);
  • listSubscriptions(object, callback);
  • unsubscribe(object, errorCallback);
  • stopListening();

About

Facebook Real-time Updates integration for NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published