Fix fb publish for ios without share dialog