Reputation: 457
I am passing this url
http://new.wadja.com/petty01#bad religion
to twitter button and I receive 'url' parameter does not contain a valid URL.
Below I have an example of my tweet button
-- hmm...stack-overflow is not displaying the frame below anyway
-- end of frame
Any ideas? I am using URL encode in js.
Thanks in advance.
Upvotes: 3
Views: 2740
Reputation: 457
OK found the solution using the code from this site http://www.albionresearch.com/misc/urlencode.php. I am replacing spaces with + instead of %20 and it works fine.
Upvotes: 2
Reputation: 262939
Try http://new.wadja.com/petty01#bad%20religion
. Plain spaces in URLs must be encoded.
Upvotes: 1