Skip to content

Dienert/facebook-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Friends Crawler

Configuration Steps

  1. First thing to do is set email and password of the user in the file "capture/access", each one in a line.
  2. Install the python depencies.
  3. Install mongodb and create a database called "facebook"

Execution

  1. Run the spider "facebook_spyder.py" in the "capture" folder with the following command line:

scrapy runspider facebook_spyder.py -L INFO

After the execution you can see the data in mongodb using RoboMongo, for example.

  1. You can generate the proper json file used by grafico.html visualization running the following command in the "capture" folder:

python export_json.py

  1. You can persist the friends pictures running:

python get_images.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published