facebook-keyword-crawler

1.0.5 • Public • Published

Facebook Keyword Crawler

A Simple node module for crawling facebook post within the page you are interested.

Disclaimer Please use this module with appropriate interval. You have my warn.

Installation

Easy enough

npm i facebook-keyword-crawler

Basic Usage

//Import the package
const FacebookKeywordCrawler = require('facebook-keyword-crawler');

//Initialize
let fbCrawler = new FacebookKeywordCrawler(FACEBOOK_API_TOKEN);

//Set Page Array 
let pageArray = ['FacebookHK','thebeatles','124298817619313'];

fbCrawler.setPage(pageArray);

//Crawl
fbCrawler.crawl().then(()=>{
  fbCrawler.search(QUERY_TEXT).then((result)=>{
    console.log(result);
  })
});




    ```


Package Sidebar

Install

npm i facebook-keyword-crawler

Weekly Downloads

6

Version

1.0.5

License

ISC

Last publish

Collaborators

  • stanleybz
  • kingdev