简体   繁体   English

Facebook随机错误“发生了错误。 请稍后再试”

[英]Facebook random error “An error occurred. Please try again later”

EDIT: It seems that I can only make 2 posts per day. 编辑:看来我每天只能发表2个帖子。 If I remove the Logout step I can post as much as I want. 如果删除“注销”步骤,则可以发布任意数量的帖子。

I've looked at many other “An error occurred. 我看过许多其他“发生错误。 Please try again later” threads on here and haven't seen exactly my issue so I feel it does warrant its own thread. 请稍后再试。”线程在这里,还没有完全看到我的问题,所以我认为它确实有自己的线程。

I have an app thats sole purpose is to schedule and post messages to Facebook. 我有一个应用程序,其唯一目的是安排并将消息发布到Facebook。 This app has been working great. 这个程序一直很好。 As flawless as a FB app can run. 就像FB应用程序一样可以运行。 I was asked to force the user to relog in every post for security reasons so the first step is to use the javascript SDK to log the user out, then proceed to logging them in and prompting them for their information. 出于安全原因,我被要求强迫用户重新登录,因此第一步是使用javascript SDK注销用户,然后继续登录并提示他们提供信息。

This also works, most of the time... For some unknown reason I randomly get the “An error occurred. 在大多数情况下,这也可行。由于某种未知原因,我随机得到“发生错误。 Please try again later” page after I enter my FB login credentials. 输入FB登录凭据后,请稍后重试。

So the flow is: 因此流程为:

User configures the post. 用户配置帖子。 User hits 'send now.' 用户点击“立即发送”。 We log the user out. 我们将用户注销。 We attempt to authenticate the user. 我们尝试验证用户。 The user is prompted by FB for their UN/PW. FB提示用户输入其UN / PW。 The user submits this information. 用户提交此信息。 “An error occurred. “发生了错误。 Please try again later” 请稍后再试”

Once this starts it continues until I give up. 一旦开始,它将继续直到我放弃。 Trying again later does indeed eventually work however whatever is broken needs to be fixed. 稍后重试确实确实可以工作,但是需要修复所有损坏的问题。

It's important to note that there have been no code changes in the project at all between when it works and when it starts throwing the “An error occurred. 重要的是要注意,在项目工作到开始抛出错误之间,项目根本没有代码更改。 Please try again later” error. 请稍后再试”错误。 The exact same code works for One, two or three posts and then FB decides it just wont let me do anything anymore. 完全相同的代码适用于一个,两个或三个帖子,然后FB决定它不再允许我执行任何操作。

I do notice that when it stops working it stops prepopulating my e-mail address when prompted to log in. However when it works it will prepopulate that field. 我确实注意到,当它停止工作时,会在提示登录时停止预填充我的电子邮件地址。但是,当它工作时,它将预填充该字段。

Has anyone seen what I've described? 有人看过我的描述吗?

Yes we have sandbox disabled. 是的,我们已禁用沙箱。 Yes the domain matches up. 是的,域名匹配。 Everything is configured correctly enough that it works when it wants to. 一切都已正确配置,可以在需要时正常工作。

看来问题出在我登录主浏览器页面,但从iFrame的页面调用FB.logout()导致。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “发生了错误。 请稍后再试”以尝试连接到Facebook(Windows Phone / C#SDK) - “An error occurred. Please try later” trying to connect to Facebook (Windows Phone/C# SDK) Facebook整合“发生错误,请稍后再试”? - Facebook integration “error occurred try again later”? 尝试恢复包时出错。 请再试一遍 - An error occurred while trying to restore packages. Please try again outlook 可操作 email - 远程端点返回错误 (http 401)。 请稍后再试 - outlook actionable email - the remote endpoint returned an error (http 401). please try again later Facebook视频上传异常“((OAuthException-#1)发生未知错误。” - Facebook video upload Exception “(OAuthException - #1) An unknown error has occurred.” 尝试并捕获错误“无法连接到数据库,请再试一次” - Try and catch Error “Unable to connect to DB please try again” 将Web服务与vbscript一起使用-“发生操作错误。” - Using a webservice with vbscript - “An operations error occurred.” Azure MobileServiceException:{“消息”:“发生错误。”} - Azure MobileServiceException: {“message”:“An error has occurred.”} 1001发生错误。 Silverlight应用 - 1001 An Error has occurred. Silverlight Application CRM C#关闭报价请求:“发生意外错误。” - CRM C# Close Quote Request : “An unexpected error occurred.”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM