A Yorkshire man who lost his brother to suicide says social media allowed him to create a "false sense of reality" when he was struggling to cope.