Facebook integration along with conditional