Error posting video to Facebook using SDK for iOS

后端 未结 3 539
猫巷女王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条回答
  •  灰色年华
    2021-02-15 11:12

    Answers above work. But make sure you created the Facebook session, with openActiveSessionWithPublishPermissions not openActiveSessionWithReadPermissions.

    I spent a day on this, because if you use the wrong one, you get the (in)famous "(#352) Sorry, the video file you selected is in a format that we don't support."

    In any case the only permission you really need is publish_actions

提交回复
热议问题