Let's not be naive here.
These measures won't work. Any moderately intelligent person will just buy a new phone before they come here, and claim not to have a social media profile. Terrorists are evil; they aren't stupid.
Only a very naive person would think this is an effective way of keeping extremists out.