Facebook的SDK为Android"先后出现了错误MyApp的。请稍后&QUOT再次尝试; [英] Facebook SDK for Android "An error has occurred with MyApp. Please try again later"
问题描述
我现在得到这个错误的所有时间,当一切工作正常和前几天张贴到我的墙上有些道理的。
我的到期令牌,我相信被设置为无限制,所以我的想法为什么它会只是随机停止工作。
别人也有/有这个?我能做些什么来解决这个问题?
110错误_ code =缺少用户Cookie(如杰米的评论)
对于我来说,这次来到了我的应用程序,当我登录了的Facebook
'的App是清除cookie的(提示确认后)。现在,回到我的应用程序,Facebook的对象仍然持有过时的access_token
和previous会话数据。
我得到了解决这个问题,通过捕获 110
后错误 POST_ID
'返回为空
。如果找到,做一个注销
(),然后要求重新登录以获得新的的access_token $ C $的举行C>之前发布新的消息。
I get this error all the time now for some reason when everything was working fine and posting to my wall just days before.
My expiration token I believe is set to unlimited so I am out of ideas why it would just randomly stop working.
Does anyone else have/had this ? What can I do to fix it ?
110 error_code = Missing User Cookie (as in Jamie's comment)
For me, this came up in my App when I logged out of the 'Facebook
' App that cleared the cookie (after prompting for confirmation). Now, coming back to my App, the facebook object still holds the stale 'access_token
' and the previous session data.
I got around this, by trapping '110
' error after 'post_id
' is returned as 'null
'. If found, do a 'logout
()' and then ask for a re-login to get hold of a new 'access_token
' before posting new messages.
这篇关于Facebook的SDK为Android"先后出现了错误MyApp的。请稍后&QUOT再次尝试;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!