Facebook中的FBSDKAppInviteDialog iOS SDK 4.0.1版邀请成功发送,但没有收到通知 [英] FBSDKAppInviteDialog in Facebook iOS SDK version 4.0.1 invite successfully sent, but no notifications received

查看:151
本文介绍了Facebook中的FBSDKAppInviteDialog iOS SDK 4.0.1版邀请成功发送,但没有收到通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  FBSDKAppInviteContent在新的Facebook SDK 4.0.1中,我已经在我的Invite to App按钮中实现了* content = [[FBSDKAppInviteContent alloc] initWithAppLinkURL:[NSURL URLWithString:@https://fb.me/1111111111]]; 
content.previewImageURL = [NSURL URLWithString:@http://someImage.jpg];

[FBSDKAppInviteDialog showWithContent:content
delegate:self];

通过点击按钮,它成功引导我到我的Facebook应用程序,我可以选择我的朋友和类型邀请消息,邀请被发送(在进度条结束时成功打勾)。



当我查看 appInviteDialog:(FBSDKAppInviteDialog *)appInviteDialog didCompleteWithResults:(NSDictionary *)结果,结果是 didComplete = 1 。但是,我的朋友Facebook(尚未安装我的应用)或测试用户帐户Facebook上看不到任何通知。我很沮丧,所以任何帮助是非常感激。



还有一些问题,我已经把我的appID在Facebook生成的应用程序,虽然我的iOS应用程序还在发展中。我需要发布一个有效的应用程序应用程序,以测试Facebook上的应用程序邀请功能吗?我的Facebook应用程序需要经过审查和批准才能与我的朋友一起测试应用邀请函?谢谢。

解决方案

您可以访问以下链接。我有同样的问题,这必须帮助



Facebook App邀请iOS SDK v4.0配置和状态


  1. 你邀请已经使用您的应用程序的Facebook用户

  2. 必须是应用设置Facebook中的实时Apple App ID

  3. 如果用户已经安装了您的应用程序。您可以将其分配为测试人员,然后他们总是收到您的通知。

希望此帮助:)


With the new Facebook SDK 4.0.1, I have implemented below in my "Invite to App" button:

FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] initWithAppLinkURL:[NSURL URLWithString:@"https://fb.me/1111111111"]];
content.previewImageURL = [NSURL URLWithString:@"http://someImage.jpg"];

[FBSDKAppInviteDialog showWithContent:content
                             delegate:self];

By clicking the button, it successfully direct me to my Facebook app, I could pick my friends and type invite message, and the invites are sent (with a success tick at the end of the progress bar).

When I check appInviteDialog:(FBSDKAppInviteDialog *)appInviteDialog didCompleteWithResults:(NSDictionary *)results, the result is didComplete = 1. However, I could not see any notifications on my friends Facebook (which have not installed my app) or on Test User account Facebook. I am deeply frustrated with this, so any help is much appreciated.

A few more questions, I have put in my appID in the Facebook generated applink although my iOS app is still in development. Do I need a released valid appID for the applink to test the app invite function on Facebook? And does my Facebook app need to be reviewed and approved to test the app invite function with my friends? Thanks.

解决方案

You can visit the link below. i have the same problem and this must help

Facebook App Invites iOS SDK v4.0 configuration and states

  1. You invited Facebook user who already used your app
  2. Must be a live Apple App id in App Setting Facebook
  3. If user already installed your app. you can assign them as a tester then they always receive your notification.

Hope this help :)

这篇关于Facebook中的FBSDKAppInviteDialog iOS SDK 4.0.1版邀请成功发送,但没有收到通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆