Use esc_url_raw instead of esc_url for sanitizing the url posted on twitter.
This has the effect, that one can now use entities such as ampersand in the url.