[twitter-dev] Re: Problem with status encoding... I guess
I found the solution, my encoding function was not encoding according to RFC3986 as twitter expects. I had to create a function myself and I bloged about it... everything is working now! :) http://sgomez.blogspot.com/2010/05/encoding-strings-for-twitter-api.html Hope it helps someone else On May 17, 9:57 am, "@sebagomez" wrote: > I'm migrating my own twitter client (http://sgomez.blogspot.com/ > 2010/01/yatc-yet-another-tweeter-client.html) to xAuth and building my > own lib :S thus the issues... > > On May 16, 12:11 pm, Konpaku Kogasa wrote: > > > > > Hello, > > > > Hello Konpaku, thanks for you answer. > > > I am encoding my text with UTF8, I don´t know what you mean by "your > > > files" > > > Sorry I meant all the source files. Also what language and oAuth > > library are you using for this? > > > - Konpaku Kogasa
[twitter-dev] Re: Problem with status encoding... I guess
I'm migrating my own twitter client (http://sgomez.blogspot.com/ 2010/01/yatc-yet-another-tweeter-client.html) to xAuth and building my own lib :S thus the issues... On May 16, 12:11 pm, Konpaku Kogasa wrote: > Hello, > > > Hello Konpaku, thanks for you answer. > > I am encoding my text with UTF8, I don´t know what you mean by "your > > files" > > Sorry I meant all the source files. Also what language and oAuth > library are you using for this? > > - Konpaku Kogasa
[twitter-dev] Re: Problem with status encoding... I guess
Hello, > Hello Konpaku, thanks for you answer. > I am encoding my text with UTF8, I don´t know what you mean by "your > files" Sorry I meant all the source files. Also what language and oAuth library are you using for this? - Konpaku Kogasa
[twitter-dev] Re: Problem with status encoding... I guess
Hello Konpaku, thanks for you answer. I am encoding my text with UTF8, I don´t know what you mean by "your files" Also, I don´t know if BOM is necesarry cause as I mentioned before, it works with other international characters, but I will give that a try though thanks On May 15, 8:48 pm, Konpaku Kogasa wrote: > Hello, > > > I had a few bugs with encoding, I was not using UTF8 and now I do, so > > I am able to tweet stauff like "Peñarol á é í ó ú" (spanish lang > > characters). I was making some tests and I noticed that if I want to > > set '!' as my status (just the exclamation mark) it dos not work... I > > get an "Incorrect signature" error message. > > I had this issue before. Check the encoding of your files. It needs > to be set to UTF-8 (can't remember if it's with or without BOM > though..) > > - Konpaku Kogasa
[twitter-dev] Re: Problem with status encoding... I guess
Hello, > I had a few bugs with encoding, I was not using UTF8 and now I do, so > I am able to tweet stauff like "Peñarol á é í ó ú" (spanish lang > characters). I was making some tests and I noticed that if I want to > set '!' as my status (just the exclamation mark) it dos not work... I > get an "Incorrect signature" error message. I had this issue before. Check the encoding of your files. It needs to be set to UTF-8 (can't remember if it's with or without BOM though..) - Konpaku Kogasa
[twitter-dev] Re: Problem with status encoding... I guess
Great, thanks Adam! As I said before, many OAuth libs do not support international characters :( On May 15, 1:05 am, Adam Ransom wrote: > I'm working on a Japanese twitter app and have had similar challenges with > encoding (i.e. the OAuth lib I used didnt support Japanese). I'll have a bit > of a look and see if I have the same ! problem as you and let you know. > > Adam > > On Sat, May 15, 2010 at 7:22 AM, @sebagomez > wrote: > > > > > I have an app using OAuth (actaully xAuth) and it is working well... > > or almost well. > > > I had a few bugs with encoding, I was not using UTF8 and now I do, so > > I am able to tweet stauff like "Peñarol á é í ó ú" (spanish lang > > characters). I was making some tests and I noticed that if I want to > > set '!' as my status (just the exclamation mark) it dos not work... I > > get an "Incorrect signature" error message. > > > I tried moving stuff around but my actual config works in most cases. > > I can even twit 'é' as my status and it works! > > :S > > > Can anybody point me in the right direction... most samples I've seen > > online don't care about UTF8 encoding, probably because most of them > > are built in the US :( > > > Thanks. > > Regards, > > Seba