Hey folks -

I'm trying to programmatically create a share dialog to share a URL
that has a hash value in it. (In JavaScript)
For example, the URL could be: http://www.translation-telephone.com/#4249

I have tried various ways of passing this URL in, but each fail in
different ways.
If I encode the URL, I get an "invalid URL".
If I replace just the "#" with "%23", it shortens the URL, but with
the "%23" instead of the "#", so the URL is no longer correct.
If I don't replace or encode anything, then it shortens the URL before
the "#" sign, ignoring what's after.

Any idea as to what will actually work, and preserve the value after
the hash?

Thanks!

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to