When someone dies unexpectedly, can their family legally gain access to their social media?

I noticed that oftentimes when someone passes away their family leaves messages on their twitter, instagram or facebook. That seems like a violation of privacy IMHO.
6 answers 6