backwards compat for APP_ID and APP_SECRET