I'm using OAuth 2 and PHP to let users authorize an app with Facebook. How to check if their Platform Mode is enabled? (It can be turned OFF to block all 3rd party apps.)