Added conditional if statement for Facebook test app