[twitter-dev] Re: User id range

2009-07-01 Thread Philip Plante

You should use an unsigned 64 bit int for status and user ids to be
safe.  IDs will never be negative, so a signed value is wasted space.

On Jul 1, 6:28 am, DWRoelands  wrote:
> If you're asking what data type should you use to store these value,
> I'm using the .NET Int64 type in my library.  The Int64 value type
> represents integers with values ranging from negative
> 9,223,372,036,854,775,808 through positive 9,223,372,036,854,775,807.
> I was seeing occasional overflows using Int32.
>
> On Jul 1, 1:14 am, Arunachalam  wrote:
>
>
>
> > Im little bit confused in identifying the numeric digit say '14198354'
> > either as statuses id/ user id.
> > As of now im accessinghttp://twitter.com/users/show/14198354.xmlto
> > identify it as a user.
>
> > Is there any range in the user id values
> > and wht will be the range for the statues id values?
>
> > Cheers,
> > Arunachalam


[twitter-dev] Re: User id range

2009-07-01 Thread DWRoelands

If you're asking what data type should you use to store these value,
I'm using the .NET Int64 type in my library.  The Int64 value type
represents integers with values ranging from negative
9,223,372,036,854,775,808 through positive 9,223,372,036,854,775,807.
I was seeing occasional overflows using Int32.

On Jul 1, 1:14 am, Arunachalam  wrote:
> Im little bit confused in identifying the numeric digit say '14198354'
> either as statuses id/ user id.
> As of now im accessinghttp://twitter.com/users/show/14198354.xmlto
> identify it as a user.
>
> Is there any range in the user id values
> and wht will be the range for the statues id values?
>
> Cheers,
> Arunachalam