
Please file an issue if you run into any problems.In the recent past, Facebook has brought more power to the users and now they can control all the information they’ve shared on their Facebook accounts. It's built to pick up where it left off at all stages.

If something breaks, just run the script again. -json Export sqlite database to JSON files (db/json/).-map Geocode addresses & make the map!.-parse Extract profiles HTML to database.

-download Download profile for each friend in index.-index Extract friend list HTML to database.-list Sign in, download friends list HTML.You can optionally use any of these flags to perform only certain actions: The tool will then index your friend list, download friend's profiles, geocode coordinates, and create the map.env file for use in subsequent runs (eg if you add more friends). On the first run, it'll ask for your Facebook username/password and Mapbox API Key. This is optional if you already have the required packages installed in your environment. Run pipenv shell to activate the virtual environment.Run pipenv install to install dependencies.You'll need this so the tool can geocode city names into coordinates to use on the map. Make sure that python 3 and pipenv are installed.Creates friends-map.html, a self-contained, moveable, searchable map of your friends all over the world!Īll data is saved locally in db/data.db as a sqlite database.Find the lat/long for each location (using Mapbox API) and save to db/points.geojson.Parse profiles for 'Current City' or 'Address' and add to location list.Download your friend's profiles (on ) to db/profiles/.


When using this tool, Facebook can see that you're using an automated tool, which violates their terms. Create a map of your facebook friends! Useful for when you're passing through a city and can't remember all the people you want to grab coffee with.
