Facebook-Video-Downloader is a project mainly written in JAVASCRIPT and PHP, it's free.
a simple website example for downloading facebook video from a given video link