且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

通过 Android 的 AccountManager 类进行 Twitter 身份验证

更新时间:2023-12-03 09:54:52

如果你想要 OAuth 你应该使用那些:

If you want OAuth you should use those ones :

  • com.twitter.android.oauth.token
  • com.twitter.android.oauth.token.secret

如果您想要用户的密码,那么您可以编写自己的身份验证器.官方 Twitter 应用程序不存储密码.密码仅用于获取这两个令牌.

If you want the user's password then you can write your own authenticator. The official Twitter application does not store the password. The password is used only once to get those two tokens.