问题
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 ?
回答1:
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.
回答2:
have at look at the following links:
http://www.droidnova.com/debugging-in-android-using-eclipse,541.html
http://developer.android.com/guide/developing/debugging/ddms.html
the above should help you to debug any errors. My error was more to do with the build path of some of the classes that where in my project, mainly the "main" XML file that android reads from.
来源:https://stackoverflow.com/questions/5141419/facebook-sdk-for-android-an-error-has-occurred-with-myapp-please-try-again-lat