Create your own Facebook PopUp Authentication Window using php and javascript | Thinkdiff.net

You've to login using FB Login Button to see api calling result.