You can also use this method: http://techcrunch.com/2010/11/12/how-to-mass-export-all-of-y...
but for me it only exported contacts that had their email address visible. "Facebook Friend Exporter" worked better.