FBAuthDemo is a project mainly written in Objective-C, it's free.
Facebook Login Dialog Demo Application