The Hope Mills mayor and board of commissioners unanimously voted to adopt a social media policy for town officials.