Please sure that you've enabled "Facebook Login" for your Facebook app and entered redirect URL (see attachment)