This will make it harder for Facebook to collect data from third-party apps and target users with ads.