Social media users may have to be more cautious about making “unlawful” public remarks and sharing contentious items as it would soon be only a matter of hours for police to trace their origins with the help of special software.