The government has warned the users of social networking sites such as Facebook, Myspace and Twitter of a virus that is spreading through these sites targeting the members.