Codeigniter-facebook is a project mainly written in ..., it's free.
A Codeigniter Library for Facebook Authentication