If you're going to enable sharing links on Twitter, you should use a URL shortening service via an API like bit.ly's:

http://code.google.com/p/bitly-api/