Facebook Gave Device Makers Deep Access to Data on Users and Friends - The New York Times

Including Apple:

Marilyn