使用 Struts 和 Java 的 Twitter 授权网站上的空白页面
我正在使用 Java 和 Struts 构建 Twitter 客户端。我正在使用 Twitter4j!库来建立连接。
直到 1 个月前一切都工作正常。当用户需要授权 Twitter 应用程序并使用 sendRedirect 指令时,浏览器会显示空白页面。如果我将链接复制到单独的选项卡/窗口上,它会显示“正常”(https://api.twitter.com/oauth/authorize?oauth_token=XXX)
为什么会发生这种情况?
提前致谢。
I'm building a Twitter client on Java and Struts. I'm using the Twitter4j! library to make the connection.
Everything was working OK until 1 month ago. When the user needed to authorize the Twitter app and using the sendRedirect instruction, the browser shows a blank page. If I copy the link on a separate tab/window, it shows OK (https://api.twitter.com/oauth/authorize?oauth_token=XXX)
Why could this be happening?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论