Facebook 邀请好友无法在 swit 4.0 上运行?

Facebook Invite Friends not working on swit 4.0?

我遵循了互联网告诉我使用 Facebook 模拟器邀请朋友的所有方法,但可惜它不起作用。

let content = FBSDKAppInviteContent()
content.appLinkURL = URL(string: "testString")!
FBSDKAppInviteDialog.show(from: self.parent, with: content, delegate: self)

它从来不适合我。邀请好友对话框不会出现。我也在 XCOde 中使用模拟器。所以我的两个问题是我应该以不同的方式显示邀请朋友对话框吗?还有我需要遵循一组特定的说明才能让邀请对话框在模拟器上工作吗?

我认为无法再使用 Facebook 邀请朋友了。

https://blog.markgrowth.com/deprecation-of-facebook-invitable-friends-graph-api-and-its-impact-on-organic-growth-f35677734b65

Facebook App invites was deprecated back in Feb. If you have a gaming app you can still use the GameRequest dialog. However, our data has shown that organic installs through Facebook are only 1% when compared to other channels like WhatsApp (see a study by Sega and GetSocial).

免责声明:我是 GetSocial

的创始人