Twitter emailed developers to warn them about a bug that may have exposed their private keys and account tokens.