How luck and social media led to a lifesaving liver transplant