sromku / android-simple-facebook

[Deprecated] Simple Facebook SDK for Android
Other
879 stars 349 forks source link

cannot able to pusblish video giving error #417

Open RahulHawge opened 8 years ago

RahulHawge commented 8 years ago

04-01 00:47:43.429 13245-13245/com.sromku.simple.fb.example E/com.sromku.simple.fb.actions.GetAction: ERROR: Failed to publish {FacebookServiceException: httpResponseCode: 400, facebookErrorCode: 352, facebookErrorType: OAuthException, message: Sorry, the video file you selected is in a format that we don't support.} at com.facebook.FacebookRequestError.(FacebookRequestError.java:130) at com.facebook.FacebookRequestError.checkResponseAndCreateError(FacebookRequestError.java:381) at com.facebook.GraphResponse.createResponseFromObject(GraphResponse.java:416) at com.facebook.GraphResponse.createResponsesFromObject(GraphResponse.java:383) at com.facebook.GraphResponse.createResponsesFromString(GraphResponse.java:315) at com.facebook.GraphResponse.createResponsesFromStream(GraphResponse.java:304) at com.facebook.GraphResponse.fromHttpConnection(GraphResponse.java:259) at com.facebook.GraphRequest.executeConnectionAndWait(GraphRequest.java:1255) at com.facebook.GraphRequest.executeBatchAndWait(GraphRequest.java:1157) at com.facebook.GraphRequestBatch.executeAndWaitImpl(GraphRequestBatch.java:252) at com.facebook.GraphRequestBatch.executeAndWait(GraphRequestBatch.java:201) at com.facebook.GraphRequestAsyncTask.doInBackground(GraphRequestAsyncTask.java:169) at com.facebook.GraphRequestAsyncTask.doInBackground(GraphRequestAsyncTask.java:37) at android.os.AsyncTask$2.call(AsyncTask.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) 04-01 00:47:43.429 13245-13245/com.sromku.simple.fb.example E/com.sromku.simple.fb.actions.GetAction: java.lang.Throwable at com.sromku.simple.fb.utils.Logger.getStackTrace(Logger.java:70) at com.sromku.simple.fb.utils.Logger.logError(Logger.java:56) at com.sromku.simple.fb.actions.PublishAction$2.onCompleted(PublishAction.java:128) at com.facebook.GraphRequest$5.run(GraphRequest.java:1368) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5930) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200) 04-01 00:47:43.459 13245-13259/com.sromku.simple.fb.example I/art: Background sticky concurrent mark sweep GC freed 23682(1410KB) AllocSpace objects, 30(631KB) LOS objects, 25% free, 5MB/7MB, paused 5.269ms total 58.123ms 04-01 00:47:43.469 13245-13245/com.sromku.simple.fb.example E/ViewRootImpl: sendUserActionEvent() mView == null