evandroeisinger / facebook

Simple Facebook page dump exporter.

Home Page:http://evandroeisinger.github.com/facebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

http://evandroeisinger.github.com/facebook


Languages

Language:JavaScript 46.9%Language:CSS 33.6%Language:HTML 19.5%