使用旧版本的 Facebook,但我想要应用程序邀请 如何?
Facebook with older version but i want app invites How?
是否可以更新 Facebook SDK?我正在使用 2.0 版。问题是应用完成。
我的应用程序与旧版本的 Facebook 集成,但我想要 Facebook 应用程序共享,邀请选项。
我该如何实施它们?
Facebook 提供来自 SDK 4.0 的应用程序邀请。
所以使用下面的代码:
FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] init];
content.appLinkURL = [NSURL URLWithString:@"appurl"];
//optionally set previewImageURL
content.appInvitePreviewImageURL = [NSURL URLWithString:@"imgeurl"];
// present the dialog. Assumes self implements protocol `FBSDKAppInviteDialogDelegate`
[FBSDKAppInviteDialog showWithContent:content
delegate:self];
您可以邀请应用。如需完整指南,您可以查看 Facebook developer App Invites for iOS
是否可以更新 Facebook SDK?我正在使用 2.0 版。问题是应用完成。
我的应用程序与旧版本的 Facebook 集成,但我想要 Facebook 应用程序共享,邀请选项。
我该如何实施它们?
Facebook 提供来自 SDK 4.0 的应用程序邀请。
所以使用下面的代码:
FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] init];
content.appLinkURL = [NSURL URLWithString:@"appurl"];
//optionally set previewImageURL
content.appInvitePreviewImageURL = [NSURL URLWithString:@"imgeurl"];
// present the dialog. Assumes self implements protocol `FBSDKAppInviteDialogDelegate`
[FBSDKAppInviteDialog showWithContent:content
delegate:self];
您可以邀请应用。如需完整指南,您可以查看 Facebook developer App Invites for iOS