Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi i'm trying to use the tweet widget on a arabic website the prob is tweeted urls looks %d%fd%.... how can i prevent the url from being encoded when shared?
Posted
Comments
Ed Nutting 15-Sep-12 14:58pm    
Please see the Twitter Developers website and post in their forums.

Ed

1 solution

For specific issues related to 3rd party, one should use their forum for probably a quick and more accurate response.
Kindly inquire about it in Twitter forum/developers: https://dev.twitter.com/[^]

Check with them if the tweet widget supports something like that or not. Currently, looks like they do not - they encode the characters.
 
Share this answer
 
Comments
petra.elhashem 15-Sep-12 15:23pm    
but i've looked in their forums and many has asked the same question before but no solution was provided i always find my answers here when i fail to find to find them somewhere else anyway thank you
petra.elhashem 15-Sep-12 15:28pm    
and usually i create a java script function for this but i loose in this case the rewrited url and i have to use the request url i wanted to see if there's a way to keep my url as it is
Sandeep Mewara 15-Sep-12 15:58pm    
Put on your fiddler and see what request goes through. Is the application encoding it before sending it across? if so, I doubt there is much in your hand until some provision to allow other language to pass on as is.
petra.elhashem 15-Sep-12 16:21pm    
thank you it was a good tip i used my old share twitter script but i decoded the url first it seems the application was getting the location.href from the browser that returns it to it encoded. now i decode the url then send it it works :)
petra.elhashem 15-Sep-12 16:29pm    
but sadly twiter doesnt include anything arabic in the url :( it tweeted the link but when i went to twitter it considered the arabic part not in the link so i guess no way of tweeting arabic link

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900