The best (and recommended) way to implement user authorization with the Facebook API is to use the JavaScript SDK. It is by far the most easy one, and the .