Facebook is a project mainly written in ..., it's free.
Facebook XQuery Library
Please view the file facebook.html in the docs folder for setup and usage instructions.