Actually usable Facebook contact export. No thanks to you, Mark.
pip install requests
pip install beautifulsoup4
- Go to
https://facebook.com/<your profile>/friends
- Scroll to the bottom of your friends to make sure all of them were dynamically loaded
- Copy the
<div>
that holds the individual<li>
elements with your friends' info, like this: - Save to
friends_example.html
, run the script
If you have loads of friends, you might get temporarily blocked by Zuck. Increase the sleep duration to make the process slower and less risky.