Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Twitter button 'url' parameter does not contain a valid URL

Tags:

button

twitter

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.

like image 609
RRG Avatar asked Dec 17 '25 22:12

RRG


1 Answers

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.

like image 74
RRG Avatar answered Dec 19 '25 19:12

RRG