偶尔(OAuthException-#200)(#200)用户必须已接受TOS [英] Occassional (OAuthException - #200) (#200) User must have accepted TOS

查看:53
本文介绍了偶尔(OAuthException-#200)(#200)用户必须已接受TOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我相信我的应用程序已正确编码(至少大多数情况下),因为它大约98%的时间都能正常工作.但是,大约2%的时间,我得到的似乎是有效的身份验证令牌,但是当我发布照片时,出现以下错误((OAuthException-#200)(#200)用户必须具有接受的TOS".我有重试逻辑,但是它遇到了3次相同的错误(所以这不是异常的通信故障).

I am confident my application is coded correctly (at least mostly), as it works about 98% of the time. However, about 2% of the time, I get what appears to be a valid auth token, but when I go to post a photo, I'm getting the following error "(OAuthException - #200) (#200) User must have accepted TOS". I have retry logic, but it gets the same error three times (so it's not a freak communication glitch).

我使用URL facebook.com/dialog/oauth获取令牌,然后使用C#Facebook客户端(Post方法).

I use the URL facebook.com/dialog/oauth to get the token, and then I use the C# Facebook client (Post method).

我看到的其他与此错误相关的问题似乎都涉及到一致的故障,表明应用程序错误.

The other questions I've seen posted with this error appear to involve consistent failures, indicating an application error.

推荐答案

是否有可能向某人显示(在Facebook上)权限页面并拒绝该页面,因此该用户随后被重定向回您的网站,但使用Oauth错误-您需要处理.

Is it possible that a person is shown the permissions page (on Facebook) and rejects it, so the user is then redirected back to your website, but with the Oauth error - which you need to handle.

基本上,我想通过Facebook登录,但是我不接受他们的条件(例如,您可能要求太多东西).因此,我将拒绝登录,并且源网站(您)需要处理拒绝.

Basically, I want to log in via Facebook, but I don't accept their conditions (eg. you might be asking for too many things). Thus I'll reject the login, and the source website (you) needs to handle the refusal.

这篇关于偶尔(OAuthException-#200)(#200)用户必须已接受TOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆