Re: favorited value is null in JSON

2008-12-08 Thread Alex Payne

Very sorry to hear that this issue is causing so many problems.  It's
not an intentional change, and not one that I believe was introduced
inadvertently along with another API-related change.  I'll check with
my colleagues first thing tomorrow to see where this unexpected
behavior could be coming from.

On Sun, Dec 7, 2008 at 19:50, Kazuho Okui [EMAIL PROTECTED] wrote:

 I have received the null value of favorited statuses more frequently today.

 Thousands of my app users have been struggling for these days. (I
 guess several other iPhone clients also crash when they receive the
 null values.)

 I submitted the new version of my app to AppStore 4 days ago but I
 guess it will take for another few days to get an approval. If you
 could address the things on the server side, it would help my users
 very much.

 Regards,
 Kazuho

 On Thu, Dec 4, 2008 at 10:32 PM, Alex Payne [EMAIL PROTECTED] wrote:

 Thanks much!

 On Thu, Dec 4, 2008 at 22:12, Kazuho Okui [EMAIL PROTECTED] wrote:
 I attached another example which is a result of curl. it contains a
 request/response headers and a JSON content.

 I hope this will help to find the issue.

 Thanks,
 Kazuho

 On Thu, Dec 4, 2008 at 1:21 PM, Kazuho Okui [EMAIL PROTECTED] wrote:
 Hello Alex,

 I attached JSON objects which my app users gave me. Thus, I don't have
 any request header, but the request is
 http://twitter.com/statuses/friends_timeline.json; with auth header.

 The JSON objects contains favorited:null instead of favorited:true
 or false randomly.

 Thanks,
 Kazuho


 -- Forwarded message --
 From: Alex Payne [EMAIL PROTECTED]
 Date: Thu, Dec 4, 2008 at 12:11 PM
 Subject: Re: favorited value is null in JSON
 To: twitter-development-talk@googlegroups.com



 If you could please provide example request/response output that would
 help us track this down.  Apologies for the inconsistency.

 On Wed, Dec 3, 2008 at 17:28, Kazuho Okui [EMAIL PROTECTED] wrote:

 Today, I suddenly received a JSON value which favorited value is null
 instead of bool.

 http://code.google.com/p/twitter-api/issues/detail?id=179

 This crushes my Twitter client because it assumed that the value is
 boolean. The application is written in Objective-C, so the value type
 is very important for my client.

 The favorited value was null or true until October, then true or false
 until today. Could you please define exactly the type of favorite
 value?? Also, could you use boolean to all favorited status?

 Thanks,
 Kazuho




 --
 Alex Payne - API Lead, Twitter, Inc.
 http://twitter.com/al3x





 --
 Alex Payne - API Lead, Twitter, Inc.
 http://twitter.com/al3x





-- 
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x


Re: favorited value is null in JSON

2008-12-07 Thread Kazuho Okui

I have received the null value of favorited statuses more frequently today.

Thousands of my app users have been struggling for these days. (I
guess several other iPhone clients also crash when they receive the
null values.)

I submitted the new version of my app to AppStore 4 days ago but I
guess it will take for another few days to get an approval. If you
could address the things on the server side, it would help my users
very much.

Regards,
Kazuho

On Thu, Dec 4, 2008 at 10:32 PM, Alex Payne [EMAIL PROTECTED] wrote:

 Thanks much!

 On Thu, Dec 4, 2008 at 22:12, Kazuho Okui [EMAIL PROTECTED] wrote:
 I attached another example which is a result of curl. it contains a
 request/response headers and a JSON content.

 I hope this will help to find the issue.

 Thanks,
 Kazuho

 On Thu, Dec 4, 2008 at 1:21 PM, Kazuho Okui [EMAIL PROTECTED] wrote:
 Hello Alex,

 I attached JSON objects which my app users gave me. Thus, I don't have
 any request header, but the request is
 http://twitter.com/statuses/friends_timeline.json; with auth header.

 The JSON objects contains favorited:null instead of favorited:true
 or false randomly.

 Thanks,
 Kazuho


 -- Forwarded message --
 From: Alex Payne [EMAIL PROTECTED]
 Date: Thu, Dec 4, 2008 at 12:11 PM
 Subject: Re: favorited value is null in JSON
 To: twitter-development-talk@googlegroups.com



 If you could please provide example request/response output that would
 help us track this down.  Apologies for the inconsistency.

 On Wed, Dec 3, 2008 at 17:28, Kazuho Okui [EMAIL PROTECTED] wrote:

 Today, I suddenly received a JSON value which favorited value is null
 instead of bool.

 http://code.google.com/p/twitter-api/issues/detail?id=179

 This crushes my Twitter client because it assumed that the value is
 boolean. The application is written in Objective-C, so the value type
 is very important for my client.

 The favorited value was null or true until October, then true or false
 until today. Could you please define exactly the type of favorite
 value?? Also, could you use boolean to all favorited status?

 Thanks,
 Kazuho




 --
 Alex Payne - API Lead, Twitter, Inc.
 http://twitter.com/al3x





 --
 Alex Payne - API Lead, Twitter, Inc.
 http://twitter.com/al3x



Re: favorited value is null in JSON

2008-12-07 Thread Ed Finkler

Indeed, I basically can't use TwitterFon until this gets sorted out.
(I'm aware of the workaround script online, but don't want to de-fav
items in my timeline).

--
Ed Finkler
http://funkatron.com
AIM: funka7ron
ICQ: 3922133
Skype: funka7ron


On Sun, Dec 7, 2008 at 10:50 PM, Kazuho Okui [EMAIL PROTECTED] wrote:

 I have received the null value of favorited statuses more frequently today.

 Thousands of my app users have been struggling for these days. (I
 guess several other iPhone clients also crash when they receive the
 null values.)

 I submitted the new version of my app to AppStore 4 days ago but I
 guess it will take for another few days to get an approval. If you
 could address the things on the server side, it would help my users
 very much.

 Regards,
 Kazuho

 On Thu, Dec 4, 2008 at 10:32 PM, Alex Payne [EMAIL PROTECTED] wrote:

 Thanks much!

 On Thu, Dec 4, 2008 at 22:12, Kazuho Okui [EMAIL PROTECTED] wrote:
 I attached another example which is a result of curl. it contains a
 request/response headers and a JSON content.

 I hope this will help to find the issue.

 Thanks,
 Kazuho

 On Thu, Dec 4, 2008 at 1:21 PM, Kazuho Okui [EMAIL PROTECTED] wrote:
 Hello Alex,

 I attached JSON objects which my app users gave me. Thus, I don't have
 any request header, but the request is
 http://twitter.com/statuses/friends_timeline.json; with auth header.

 The JSON objects contains favorited:null instead of favorited:true
 or false randomly.

 Thanks,
 Kazuho


 -- Forwarded message --
 From: Alex Payne [EMAIL PROTECTED]
 Date: Thu, Dec 4, 2008 at 12:11 PM
 Subject: Re: favorited value is null in JSON
 To: twitter-development-talk@googlegroups.com



 If you could please provide example request/response output that would
 help us track this down.  Apologies for the inconsistency.

 On Wed, Dec 3, 2008 at 17:28, Kazuho Okui [EMAIL PROTECTED] wrote:

 Today, I suddenly received a JSON value which favorited value is null
 instead of bool.

 http://code.google.com/p/twitter-api/issues/detail?id=179

 This crushes my Twitter client because it assumed that the value is
 boolean. The application is written in Objective-C, so the value type
 is very important for my client.

 The favorited value was null or true until October, then true or false
 until today. Could you please define exactly the type of favorite
 value?? Also, could you use boolean to all favorited status?

 Thanks,
 Kazuho




 --
 Alex Payne - API Lead, Twitter, Inc.
 http://twitter.com/al3x





 --
 Alex Payne - API Lead, Twitter, Inc.
 http://twitter.com/al3x




favorited value is null in JSON

2008-12-03 Thread Kazuho Okui

Today, I suddenly received a JSON value which favorited value is null
instead of bool.

http://code.google.com/p/twitter-api/issues/detail?id=179

This crushes my Twitter client because it assumed that the value is
boolean. The application is written in Objective-C, so the value type
is very important for my client.

The favorited value was null or true until October, then true or false
until today. Could you please define exactly the type of favorite
value?? Also, could you use boolean to all favorited status?

Thanks,
Kazuho