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);
  })
});




    ```


Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.5
    16
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.5
    16
  • 1.0.3
    3
  • 1.0.2
    1
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i facebook-keyword-crawler

Weekly Downloads

12

Version

1.0.5

License

ISC

Last publish

Collaborators

  • stanleybz
  • kingdev