Modojo has made a Facebook app that makes sharing 3DS Friend Codes easier.
Just add the application, enter your Friend Code and you'll be presented with a list of your Facebook friends and their Friends Codes. Obviously your friends will need to be using the Modojo app as well.
That's it. Simple.
The 3DS Friend Code Finder by Modojo can be added on Facebook now.