Difference between revisions of "Facebook: Scaper"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 29: | Line 29: | ||
==facebook page scrapper== | ==facebook page scrapper== | ||
− | vi | + | vi get_fb_posts_fb_page.py |
app_id = "ISI" | app_id = "ISI" | ||
app_secret = "ISI" # DO NOT SHARE WITH ANYONE! | app_secret = "ISI" # DO NOT SHARE WITH ANYONE! | ||
file_id = "onnowpurbo" # misalnya | file_id = "onnowpurbo" # misalnya | ||
+ | |||
+ | since_date = "2017-06-01" | ||
+ | until_date = "2017-07-01" | ||
==facebook group scrapper== | ==facebook group scrapper== |
Revision as of 07:50, 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_comments_from_fb.py
app_id = "ISI" app_secret = "ISI" # DO NOT SHARE WITH ANYONE! file_id = "onno.w.purbo" # misalnya
Referensi
- https://github.com/minimaxir/facebook-page-post-scraper/blob/master/examples/how_to_build_facebook_scraper.ipynb
- https://github.com/minimaxir/facebook-page-post-scraper
- http://simplebeautifuldata.com/2014/09/09/harvesting-facebook-posts-and-comments-with-python-part-1/
- http://minimaxir.com/2015/07/facebook-scraper/