Thanks :) Also, please consider to fix issue #157. If you do, I can use show method only to get friends existence then I can reduce 1 API call.
http://code.google.com/p/twitter-api/issues/detail?id=157 Thanks, Kazuho On Tue, Dec 16, 2008 at 5:09 PM, Alex Payne <a...@twitter.com> wrote: > > Example response: > > true > > That's it :) Just a bare boolean literal. > > On Tue, Dec 16, 2008 at 17:06, Kazuho Okui <kaz...@gmail.com> wrote: >> >> This will break my app. 1 week to 10 days to get an approval from Apple. >> >> Also, please give us a example of new response. >> >> On Tue, Dec 16, 2008 at 4:53 PM, Cameron Kaiser <spec...@floodgap.com> wrote: >>> >>>> As per http://code.google.com/p/twitter-api/issues/detail?id=202, I'd >>>> like to return a proper boolean in the JSON response for >>>> /friendships/exists. Will this break your app? If so, how much time >>>> to do you need to ship a fix? >>> >>> TTYtter uses its own internal JSON parser and in fact special cases trivial >>> Booleans and stringified Booleans: >>> >>> if ($data =~ /^['"]?(true|false)['"]?$/); >>> >>> So it will accept any of "true", true, "false", false, etc. If you decided >>> to wrap it in something, though, I'd need to account for that. As described >>> in the issue, it should be okay. >>> >>> -- >>> ------------------------------------ personal: >>> http://www.cameronkaiser.com/ -- >>> Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com >>> -- He whose face gives no light, shall never become a star. -- William >>> Blake -- >>> >> > > > > -- > Alex Payne - API Lead, Twitter, Inc. > http://twitter.com/al3x >