ios - FBFriendPickerDelegate disappeared with Facebook v4 -
i updated ios app using facebook v3 facebook v4 (with parse & parse-ui ios).
problem fbfriendpicker seemed disappear. did find how such feature new sdk ios ?
you can replace facebook sdk latest facebook sdk 4.x , try following code.
fbsdkappinvitecontent *content =[[fbsdkappinvitecontent alloc] init]; content.applinkurl = [nsurl urlwithstring:@"https://fb.me/appid"]; //optionally set previewimageurl content.previewimageurl = [nsurl urlwithstring:@"http://exampleurl.jpg"]; // present dialog. assumes self implements protocol `fbsdkappinvitedialogdelegate` [fbsdkappinvitedialog showwithcontent:content delegate:nil];
for more detail please have app invite through facebook sdk
for generate app link please check how generate app link
Comments
Post a Comment