Forensic analysis of activities on social networks