Data on who was targeted during the US election, and the webpages the ads linked to, will be released by Facebook.