1

I build application which allows to share video through Facebook by share dialog:

FBSDKShareVideo *video = [[FBSDKShareVideo alloc] init];
video.videoURL = videoAssetUrl;
FBSDKShareVideoContent *content = [[FBSDKShareVideoContent alloc] init];
content.video = video;


[FBSDKShareDialog showFromViewController:nil
                             withContent:content
                                delegate:self];

The variable named videoAssetUrl stores link to a video from Photos. Access to photos from my application requested before this properly.

But if Facebook does not have access to Photos dialog is displayed without the video (and without any errors).

enter image description here

How to check the settings and prevent this undesirable behavior?

Denis Kreshikhin
  • 8,856
  • 9
  • 52
  • 84
  • Check this https://developers.facebook.com/docs/reference/ios/current/class/FBSDKLoginManagerLoginResult/ (@property (copy, nonatomic) NSSet *grantedPermissions; - Declared In: FBSDKLoginManagerLoginResult.h) – LoVo Mar 21 '16 at 13:03
  • 1
    The OP is referring to OS level permissions and not to Facebook Login permissions – Björn Kaiser Apr 04 '16 at 15:49

0 Answers0