Facebook took advice from a far-right figure who blamed gay marriage for hurricanes