Error posting video to Facebook using SDK for iOS

后端 未结 3 533
猫巷女王i
猫巷女王i 2021-02-15 10:27

I have an app that posts native (MOV files) video to Facebook using the Facebook SDK for iOS. It worked without problems till a few weeks ago where it started failing with the f

3条回答
  •  梦毁少年i
    2021-02-15 11:34

    Just before FBRequest Add a line to open FBRequestConnection Worked for me.

    [FBRequestConnection startWithGraphPath:@"me/videos" 
        completionHandler:^(FBRequestConnection *connection, 
        id result, NSError *error) 
    {
        FBRequest *uploadRequest = 
            [FBRequest requestWithGraphPath:@"me/videos" 
            parameters:params HTTPMethod:@"POST"];
    }];
    

提交回复
热议问题