My Tweet button has the following href value: “https://twitter.com/intent/tweet?text=Yields in Tanzania” . How do I include 20%? My output should be: “https://twitter.com/intent/tweet?text=Yields in Tanzania is 20%” – This is giving me 324 Error Code.
My Tweet button has the following href value: https://twitter.com/intent/tweet?text=Yields in Tanzania . How do
Share
%is used in urls to encode unsafe characters. In order to physically pass a%, you have to encode it. The percent sign has a hexidecimal value of 25 in ISO-8859-1 (the encoding used).So, you actually should use: