So you’re cruising along, developing an app that uses Facebook OAuth. It works locally. You push it to the server and bang… it stops working.
More specifically, the Facebook dialog popup, pops up and then closes before the user gets a chance to authorize your app. This is not an easy problem to debug because it happens so fast.
Then a little voice says, “in the Facebook settings for your app, are you still in sandbox mode???”