用于使用 Twitter 登录 (OAuth) 的 SignPost 或 Twitter4j?
我阅读了很多有关路标的内容,然后回到 Twitter4J,当不需要 OAuth 时,我用 Twitter4J 创建了我的 Twitter 应用程序。
我现在很困惑是否应该使用路标或 Twitter4J 的 OAuth 身份验证方法。
我已经读到 Twitter4J 本身使用 OAuth 的路标,但仍然不确定我应该做出的选择。
请协助。
多谢!
I read a lot about signpost, and then went back to Twitter4J with which I have created my twitter applications when OAuth wasn't necessary.
I am now confused whether I should use signpost or Twitter4J's method of OAuth authentication.
I have read that Twitter4J itself uses signpost for OAuth, still am not sure about the choice that I should make.
Kindly assist.
Thanks a lot!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我正在寻找这个问题的答案,因为:
虽然我想仅使用 Twitter4J。
不管怎样,我在这两者之间设计了一种方法,使用 Twitter4J 来实现“用 Twitter 登录”。
(就像 Android 应用程序一样)
I was looking for an answer to this question because:
Although I wanted to use Twitter4J only.
Anyhow, I devised a way between these two and used Twitter4J to achieve "Sign-in with Twitter".
(As it was for an Android App)
Twitter4J 没有依赖性,并且有自己的 OAuth 支持实现。
您可以使用 Twitter4J 实现 Twitter 登录。
在这里您可以找到一个示例网络应用程序。
https://github.com/yusuke/sign-in-with-twitter
Twitter4J has no dependency and it's got its own OAuth support implementation.
You can achieve sign-in-with-twitter with Twitter4J.
Here you can find an example webapp.
https://github.com/yusuke/sign-in-with-twitter