Facebook plans to use artificial intelligence to identify posts that might promote or glorify terrorism, a move that follows growing concern about terrorists’ efforts to recruit on social networks. In a 5,700-word missive posted Thursday, Facebook CEO Mark Zuckerberg wrote that the technology “will take many years to fully develop” because it requires software sophisticated enough to distinguish between a news story about a terrorist attack and efforts to recruit on behalf of a terrorist organization.