The UK is warning that sharing content on social media could result in arrest.