ntwitter
ntwitter copied to clipboard
Added skip_status parameter to verifyCredentials
Explained here: https://dev.twitter.com/docs/api/1/GET/account/verify_credentials
The callback should be the last argument in the function. This is standard node async function design.
I wanted to keep backwards compatibility, but you are right. Should I change it?
You could make skip_status argument optional.
if (typeof skip_status === 'function') {
callback = skip_status;
skip_status = false;
}
Of course :-) thanks.