Skip to content

evandroeisinger/facebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

It's a simple Facebook page dump exporter. Which returns the entire page content, so you can manipulate as you like.

Usage

// setup
$.Facebook({ 
	token    : '390648241005588|Dfb2X2n-4MuwRPXLNz8TTkEU2Ug',
	page     : 'wikicidade',
	onStart  : function(){ /* ... */ }, // optional
  	onLoop   : function(){ /* ... */ }, // optional
	onFinish : function(){ /* ... */ }, // optional
	onError  : function(){ /* ... */ }, // optional
	log      : true // optional
});

// start dump
$.Facebook().start();

Configuration

Option Type Description
token String Access Token is required to perform API calls requests. You can get it through Facebook API, (https://developers.facebook.com/docs/reference/apis), or via the Graph API Explorer (https://developers.facebook.com/tools/explorer).
page String The name of the page you want to retrieve
log Boolean If you want to release the application log. (Browser console)
onStart Function Callback function fired when dump start. Return the response with the dump request.
onLoop Function Callback function fired for each object received. Return the object data.
onFinish Function Callback function fired when the process ends
onError Function Callback function fired when some error happens. Return the error log.

About

Simple Facebook page dump exporter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published