Facebook environment detection