Hey Yama, - screen_name: I would go for 20 Chars, as it has been the limit for some time, before we switched to 15 Chars. Some accounts might still have a screen_name > 15 Chars. - User ID: I would take the safest option and treat them as Status ID (20 Chars or 64 bits INT). So if we decided in the future to generate User IDs with SnowFlake, you'd be prepared.
Hope that helps! Arnaud / @rno <http://twitter.com/rno> On Tue, May 10, 2011 at 11:19 PM, 山田 <eternalsun...@gmail.com> wrote: > Hi guys, > I'm trying to store UserID, UserName, StatusID, TextComment, etc to > DB. > I found the max length that UserName was 15 chars, and StatusID was 20 > figures, and TextComment was 140 char of course. > But not sure about UserID. > Does anyone have idea? > > Thank you. > Yama > > -- > Twitter developer documentation and resources: https://dev.twitter.com/doc > API updates via Twitter: https://twitter.com/twitterapi > Issues/Enhancements Tracker: > https://code.google.com/p/twitter-api/issues/list > Change your membership to this group: > https://groups.google.com/forum/#!forum/twitter-development-talk > -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk