What are the maximum lengths of the consumer key/secret and access token/secret?


I am developing an application which stores the consumer key, consumer secret, access token, and access token secret in memory. Limited memory is available so I need to know the approximate worst case lengths of these strings. I know that they can vary in size, but my current consumer key is 20 characters, consumer secret is 42 characters, access token is 50 characters, and access token secret is 43 characters.


any help?


I can give you some ballparks on these details but they would be subject to immediate unannounced change.

You’re probably safe for now to expect no more than 50 characters for a consumer key or secret or access token secret.

Access token length grows over time. I’d give yourself some breathing room on this, perhaps 70 characters? Definitely the fuzziest one of all.