Facebook exposed user data to thousands of app developers