Best practice for Facebook login flow with the JavaScript SDK and PHP SDK v4.1. Jan 09, 2015. I get a lot of people asking me about the best practice for .