add check around the facebook app id in application view