It would be nice to have the tweet button as a ds field.
Patch attached with a simple integration.
Although it's not used at present it's better to pass in entity and entity_type to the theme function. New patch attached.
This issue has no child issues.
Drupal is a registered trademark of Dries Buytaert.