Social media platforms will require users to provide photo identification.