Facebook: Scaper

From OnnoWiki
Revision as of 07:51, 30 July 2017 by Onnowpurbo (talk | contribs) (→‎facebook group scrapper)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Download dari

https://github.com/minimaxir/facebook-page-post-scraper
https://github.com/minimaxir/facebook-page-post-scraper.git
https://github.com/minimaxir/facebook-page-post-scraper/archive/master.zip

membuat Apps ID

  • Masuk ke
https://developers.facebook.com
  • Login > Dashboard
  • Apps ID & Password ada di Dashboard :) ..



facebook scrapper

Edit

vi get_fb_comments_from_fb.py 
app_id = "<ISI>"
app_secret = "<ISI>"  # DO NOT SHARE WITH ANYONE!
file_id = "onno.w.purbo"  # misalnya

facebook page scrapper

vi get_fb_posts_fb_page.py 
app_id = "ISI"
app_secret = "ISI"  # DO NOT SHARE WITH ANYONE!
file_id = "onnowpurbo"  # misalnya
since_date = "2017-06-01"
until_date = "2017-07-01"

facebook group scrapper

vi get_fb_posts_fb_group.py  
app_id = "ISI"
app_secret = "ISI"  # DO NOT SHARE WITH ANYONE!
file_id = "onno.w.purbo"  # misalnya
since_date = "2017-06-01"
until_date = "2017-07-01"

Referensi