Fixed a bug for Facebook Share Dialog sample