A federal judge has ruled a Louisiana law that requires age verification for social media users is unconstitutional.