As a follow up to
http://groups.google.com/group/anonytext/t/76011ccab21f0f71
API works great but this is the only question/issue I've come across,
that's not documented for the API. Guess not many people deploy the
API in various environments.
I worked on implementing API based clients across multiple platforms,
mostly browser extensions (Opera, Chrome, Safari) and desktop/web
gadgets, etc.
In my work, I've noticed that with the API, can't send message for
certain platform implementations. Everything works up until you send
the message, where API returns: "Error: Please enter the code as
shown". I know it's not a problem with typing wrong code or wrong
number/carrier because they work in other platform implementations. So
my best guess is some missing session state support on the platform.
Or some hidden HTTP header info that isn't processed correctly by some
platforms. So was wondering if the API actually uses session state
checking in addition to the CAPTCHA code verification that isn't quite
documented.
FYI, the only platform implementations I run into this problem so far
are: iGoogle gadgets (which uses iFrames or something like that), and
desktop based Microsoft HTA applications on Windows where browser is
Internet Explorer 5.x or 6.x. The HTA app works fine when browser is
IE 7+. Probably has to do with the XmlHttpRequest support in versions
of IE.
If session state is required, then implementing API clients using
languages/platforms like .NET or Java, etc. may require enabling
(session state) cookie support. Something worth documenting for API.
If it is session state requirement or if we can track down cause of
problem, it would be nice to enhance error message returned to help
API developers debug. Because the current message does not correspond
to actual problem, and is misleading.