In a number of cases, use of social media by opposition groups has made it easy for regimes to gather information about those involved.