我找到了一种使用 github twitter4j 实现 Twitter 登录的方法,但我想在不使用任何第三方库的情况下实现它。对于 Twitter 文档,我无法理解我应该做什么。从哪里可以获得 oauth_nonce、oauth_timestamp 和 oauth_signature 的值?请建议我一个在网络中实现 Twitter 登录的好方法。
最佳答案
Please suggest me a good way to implement twitter login in web.
Twitter developer documentation说的是:
"Most developers will not need to work with the details of OAuth, since Twitter Client Libraries already implement the protocol. It is strongly recommended to use one of these libraries. "
如果您选择忽略该建议,则同一页面会包含指向其他页面的链接,这些页面解释 OAuth、解释获取 token 的各种方法以及解释如何向您的请求添加身份验证详细信息。
关于java - 不使用任何第三方库在Web上登录twitter的指南,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37385286/