简体   繁体   English

Facebook-创建事件给出“未捕获的OAuthException:发生未知错误”

[英]Facebook - Creating event gives “Uncaught OAuthException: An unknown error has occurred”

I am getting the error "Uncaught OAuthException: An unknown error has occurred. thrown in /home/www/domain.com/public_html/includes/facebook/base_facebook.php" when trying to create an event under a page. 尝试在页面下创建事件时,出现错误“未捕获的OAuthException:发生未知错误。在/home/www/domain.com/public_html/includes/facebook/base_facebook.php中引发”。 This was working, and just seemed to quit without any real reason why but is working with other access tokens. 这是可行的,并且似乎没有任何真正的原因就退出了,但是正在使用其他访问令牌。 I tried to reauthorize and get a new token, but its still getting this error. 我试图重新授权并获得一个新令牌,但是它仍然出现此错误。 Is there a way to tell more of the error instead of "An unknown error has occurred"? 有没有办法告诉更多错误而不是“发生未知错误”?

FYI, I can use https://graph.facebook.com/me/feed?access_token= {access_token_here} and it loads the feeds or https://graph.facebook.com/me/events?access_token= {access_token_here} and read the events. 仅供参考,我可以使用https://graph.facebook.com/me/feed?access_token= {access_token_here}并加载Feed或https://graph.facebook.com/me/events?access_token= {access_token_here}和阅读事件。

Array ( [access_token] => {access_token_here} [privacy_type] => OPEN [host] => Me [name] => test event [start_time] => 11/25/2011 00:00:00 [location] => {name_of_location} [street] => {address} [city] => {city} [state] => OK [description] => This is just a test event ) 数组([access_token] => {access_token_here} [privacy_type] => OPEN [主机] =>我[name] =>测试事件[start_time] => 2011年11月25日00:00:00 [location] => { name_of_location} [街道] => {地址} [城市] => {城市} [状态] =>确定[描述] =>这只是一个测试事件)

您可能想添加场所参数-请参阅http://developers.facebook.com/docs/reference/api/event/ ,当我遇到相同的问题时,这对我有所帮助

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

相关问题 未捕获OAuthException:Facebook PHP API出现未知错误 - Uncaught OAuthException: An unknown error has occurred with Facebook PHP API 上手OAuthException:将照片发布到目标相册后发生未知错误 - Getting Uncaught OAuthException: An unknown error has occurred on photo post to target album 致命错误:未捕获的OAuthException:发生意外错误。 请稍后重试您的请求 - Fatal error: Uncaught OAuthException: An unexpected error has occurred. Please retry your request later 未捕获的异常:1:在Facebook API中引发了未知错误,FQL错误 - Uncaught exception: 1: An unknown error occurred thrown in Facebook API, FQL error Facebook应用致命错误:未捕获的OAuthException: - Facebook App Fatal error: Uncaught OAuthException: Facebook PHP API出现未捕获的OAuthException错误 - Uncaught OAuthException Error with Facebook PHP api Facebook API错误致命错误:(未捕获的OAuthException:验证应用程序时出错) - Error with Facebook API Fatal error: (Uncaught OAuthException: Error validating application) OAuthException:发生意外错误-更改应用程序名称空间后 - OAuthException: An unexpected error has occurred - after changing app namespace 未捕获的OAuthException错误 - Uncaught OAuthException error Facebook API未捕获的OAuthException:(#200) - Facebook API Uncaught OAuthException: (#200)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM