Yes, these cookies fall under the EU directive (as do most cookies). The directive applies to both session and persistent cookies. You may need to write some code to prevent the button from being displayed until the user has consented to receive the cookies. For example, you could have a banner overlay at the top of your page asking people whether they accept.
Alternatively, you could just use ordinary links to Twitter.