Difference between revisions of "Facebook: Scaper"

From OnnoWiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
  https://github.com/minimaxir/facebook-page-post-scraper/archive/master.zip
 
  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==
 
==Referensi==

Latest revision as of 07:51, 30 July 2017

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