我在 win 7 上运行 S60 SDK 5th 和 Eclipse pulsar。
我有 oauth_token 与此 URL 一起使用 https://www.linkedin.com/uas/oauth/authorize?oauth_token= 。通过 LinkedIn 获取授权访问屏幕。
我使用 htmlComponent 加载上面的 Url,并添加 HtmlComponent 来形成并显示它。 有时,当我单击“确定我允许”按钮时(即按下按钮后),我会收到以下错误消息。
We’re sorry, there was a problem with your request. Please make sure you have cookies enabled and try again.
但我收到了包含 oauth_token、oauth_token_secret、oauth_callback_confirmed = true、xoauth_request_auth_url、oauth_expires_in 的响应。
请帮忙。
最佳答案
我的猜测是回调发生了错误。单击 LinkedIn 身份验证页面中的“确定,我允许”按钮后,用户应该会重定向回您的应用程序。您能否通过笔记本电脑系统运行手机网络,以便监听流量以了解发生了什么情况?我不熟悉 Windows 7 系统中的 HTTP 监听功能,但您可能可以执行一些日志记录来确定发生了什么。
关于java-me - 向 LinkedIn 发布应用程序请求时出现请求错误 "enable cookies",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10814785/