0
我將視頻上傳到了Facebook帳戶主時間軸上,但是當我試圖使用來自android本機應用程序的facebook圖形API(頁面訪問令牌) 將視頻上傳到Facebook頁面時。 (使用Facebook SDK 3.0.1版本) 但是視頻無法上傳和recevied錯誤:將視頻上傳到Facebook頁面給出FACEBOOK_NON_JSON_RESULT
**Graph URL** = https://graph-video.facebook.com/my_page_id/videos
params.putByteArray("source", byteArray);
params.putString("title", file.getName());
params.putString("description", getComment());
params.putString("access_token", getPageAccessToken());
**Request request = new Request(session, graphPath, params, HttpMethod.POST);**
{Request: session: {Session state:OPENED, token:{AccessToken token:ACCESS_TOKEN_REMOVED permissions:[publish_actions, video_upload, user_videos, publish_stream, manage_pages]}, appId: **my_app_id** }, graphPath: **https://graph-video.facebook.com/my_page_id/videos**, graphObject: null, restMethod: null, httpMethod: POST, parameters: Bundle[{source=[[email protected], description=desc_Details, **access_token=page_access_token**, migration_bundle=fbsdk:20121026}]}
Get and facebook response :
{Response: responseCode: 200, graphObject: GraphObject{graphObjectClass=GraphObject, state={"FACEBOOK_NON_JSON_RESULT":false}}, error: null, isFromCache:false}
我找不到什麼會是錯誤的...