Difference between revisions of "Facebook: Scaper"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 23: | Line 23: | ||
vi get_fb_comments_from_fb.py | vi get_fb_comments_from_fb.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 = "onno.w.purbo" # misalnya | file_id = "onno.w.purbo" # misalnya | ||
==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== | ||
− | vi | + | vi get_fb_posts_fb_group.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 = "onno.w.purbo" # misalnya | 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
- 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/