Facebook Offline_access 但访问令牌仍然过期
我编写了一个应用程序来管理用户的 Facebook 通知。该应用程序请求离线访问以及管理通知权限。我的日志里充满了 Facebook 错误。我知道当用户更改密码时,令牌将过期,但我不明白为什么我会收到这些错误:
Facebook Error: Error validating access token: Session has expired at unix time 1320012000. The current unix time is 1320191317.
Facebook Error: (#200) The "manage_notifications" permission is required in order to query the user's notifications.
它们发生的频率太高,以至于用户只是拒绝权限和访问令牌即将过期的过期时间为 0。
I have written an application to manage a user's Facebook notifications. The app requests offline_access as well as manage notifications permissions. My logs have been filling up with Facebook errors. I understand that when a users changes their password the token is going to expire, but what I don't understand is why I am getting these errors:
Facebook Error: Error validating access token: Session has expired at unix time 1320012000. The current unix time is 1320191317.
Facebook Error: (#200) The "manage_notifications" permission is required in order to query the user's notifications.
They are occurring way too often to be users just rejecting the permissions and the access tokens that are expiring have expirations of 0.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论