Facebook has reached a preliminary agreement in a long-running lawsuit seeking damages from the social network for allow