Social media may play a major role in preventing senior isolation, according to a new study.