Add logic for Facebook SDK