Twitter confirmed on Wednesday that hackers responsible for a high-profile beach last week had access to the direct messages of 36 users, including one elected official in the Netherlands, offering a concerning look into how much information was accessed in the hack.