mhendred/face4j — Issue #10: FaceServerException: MISSING_ARGUMENTS
Author: ilham369
Created: 2011-12-23 19:39:14+00:00
State: open

Hi, I use the 1.5.3 version and I have the same exception as subash89 :

com.github.mhendred.face4j.exception.FaceServerException: MISSING_ARGUMENTS - facebook user and sessionId/oauth_token is required since action is made on facebook users
at com.github.mhendred.face4j.ResponderImpl.checkResponse(ResponderImpl.java:204)
at com.github.mhendred.face4j.ResponderImpl.doPost(ResponderImpl.java:111)
at com.github.mhendred.face4j.DefaultFaceClient.executePost(DefaultFaceClient.java:550)
at com.github.mhendred.face4j.DefaultFaceClient.executePost(DefaultFaceClient.java:529)
at com.github.mhendred.face4j.DefaultFaceClient.status(DefaultFaceClient.java:344)

at com.vinci.FacebookConnectActivity.loginSuccess(FacebookConnectActivity.java:118)
at com.easy.facebook.android.facebook.LoggedInThread$1.handleMessage(LoggedInThread.java:33)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4363)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
at dalvik.system.NativeStart.main(Native Method)

I use the easyfacebookandroidsdk_2.3 to retrieve UserID and Access Token

FaceClient faceClient = new DefaultFaceClient(API_KEY, API_SEC);
faceClient.setFacebookOauth2(graphApi.getMyAccountInfo().getId(),facebook.getAccessToken());

Any thoughts?