Facebook iOS Upload Video “Unable to retrieve session key from the access token.”

前端 未结 2 1643
忘掉有多难
忘掉有多难 2020-12-20 05:56

I want to upload video on facebook using ios-sdk

I check discussion in question iPhone Facebook Video Upload and try to implement it in my application

I try to

2条回答
  •  醉梦人生
    2020-12-20 06:36

    The privacy dictionary entry format changed:

      NSDictionary * params = [NSDictionary dictionaryWithObjectsAndKeys:
                              @"Sample video title", @"title",
                              @"Sample video description", @"description",
                              @"{\"value\": \"ALL_FRIENDS\"}", @"privacy",
                              nil];
    

    The Graph API docs for the Post object talk about the privacy object: http://developers.facebook.com/docs/reference/api/post/

    But that doesn't fix the video not showing up in "My Videos" or even allow my friends to see it if they have the direct link. The Share button on the video page is broken too, so I can't even get it posted to my wall that way.

提交回复
热议问题