Bogus posts had circulated on social media promoting the claim that Spain would open its border on Aug. 15, a national holiday.