This piece of code allows you search for pages, groups and events data on Facebook and export the results in PDF, XLS and CSV.
Facebook Scrapper is a stand-alone php app designed for developers that can be integrated in any type of website. It allows the user to search for Places, Pages, Events,Groups and users on Facebook right on your website without stress.
User: Simply enter a keyword linked to your search in the search bar, then choose the type of element you are searching for; from the list provided to you.
Aside from Pages and Places,every other choice for search requires you to be logged into Facebook.
The log in process is quite simple, click on the “log in” button ,then enter your Facebook user name and password.Then you are good to start your search.
Setting up this plugin is simple, create a facebook application by following the steps on https://developers.facebook.com and fill-up the config.php file.