Export Facebook Phonebook as CSV File
By on December 15th, 2009

If you are a user, many of your friends might have phone numbers which they share with you. If you have a large number of friends, copying and pasting them to your external contact list can be quite a pain.

Export Facebook Phonebook is a handy script which will allow you to export all the phone numbers and few other additional details like Name, City, etc from your Facebook account as a CSV file.

The script does not work out of the box as it is for two reasons. First is because Facebook does not use outright URL’s, and instead appends the navigation to the current URL. So in order for this to work, you will have to directly load the phonebook URL. Also the shortcut key assigned for this script Ctrl + Shift + Dis the browser’s bookmark shortcut, which does not get overridden.

Export your Facebook Phonebook as CSV

Step 1: Install the Greasemonkey add-on for Firefox if required, and then install the Export Facebook Phonebook Userscript.

Step 2: Login to Facebook and click on this URL to open the Facebook Phonebook page.

export_facebook_phonebook

Step 3: Go to the Greasemonkey menu and select Export Facebook Phonebookfrom the User Script Commands sub-menu. Clicking on this should update the current page in rapid succession, however, that is the script scraping the phonebook from Facebook.

Step 4: Once all the Phonebook entries have been imported, you will see an option to download the the contents as a CSV file. The full CSV file contains the following details:

Name,City,State,Phone #,Network / Other Info,Contact Result,Notes / Next Step,Who Calls,Month to call back,Year,Who’s List

Techie Buzz Verdict

We have tested and found that this script works without any problems, however, this might not be valid according to Facebook TOS. The export process is pretty fast and you might consider using this if you have a large number of contacts whose phone numbers you want to export and use externally.

There is a slight problem with the URL which is tracked by the script and the problem that the shortcut which does not work, because of which it will not work out of the box in . However, you can modify the line below to change the dto something else as the shortcut key.

GM_registerMenuCommand("Export Facebook Phonebook", doExport, "d", "control shift","f");

Ratings: 2.5/5 (Good)

Tags: , , ,
Author: Keith Dsouza Google Profile for Keith Dsouza
I am the editor-in-chief and owner of Techie Buzz. I love coding and have contributed to several open source projects in the past. You can know more about me and my projects by visiting my Personal Website. I am also a social networking enthusiast and can be found active on twitter, you can follow Keith on twitter @keithdsouza. You can click on my name to visit my Google+ profile.

Keith Dsouza has written and can be contacted at keith@techie-buzz.com.

Leave a Reply

Name (required)

Website (optional)

 
    Warning: call_user_func() expects parameter 1 to be a valid callback, function 'advanced_comment' not found or invalid function name in /home/keith/techie-buzz.com/htdocs/wp-includes/comment-template.php on line 1694
 
Copyright 2006-2012 Techie Buzz. All Rights Reserved. Our content may not be reproduced on other websites. Content Delivery by MaxCDN