A post congratulating an Afghan family's purchase of a $1.5million home in Sydney has gone viral for all the wrong reasons.