iOS应用程序请求不会显示在iOS设备上? [英] Facebook App Requests aren't shown on iOS devices?

查看:134
本文介绍了iOS应用程序请求不会显示在iOS设备上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过Facebook的API将iPad应用程序的应用邀请发送到测试Facebook帐户。当我在PC上登录测试帐户时,应用程序请求就在那里。



当我登录到我的iPad上的测试帐户(通过Safari或通过Facebook应用程序)时,我可以看到中心选项卡旁的数字1 ,但是当我点击它并转到App Center时,没有请求。事实上,我看不到任何适用于iOS的iOS应用中心区域 - 只有社交精选和热门应用。任何解释这个?

解决方案

这是由于Facebook应用设置页面上的错误配置造成的。当您设置应用程序时,您需要确保以下设置正确。



转到 developers.facebook.com 然后选择应用程序。编辑您的应用程序并填写以下内容。




  • iOS App Bundle(不要认为这是必不可少的,捆绑ID来自Xcode(com.companyname.appname))


  • iPhone / iPad App Store ID - 这是ESSENTIAL,其中一个必须填写有效的应用商店ID。当您使用iTunes Connect创建应用程序时,您将得到此结果。如果您创建一个应用程序,并填写详细信息,直到它要求您提交二进制文件,它将生成Apple将其称为Apple ID(或iTunes Id?)。它只是一个长整数值。它不一定是相应的应用程序,如果您已经在应用程序商店中只有登录iTunes连接并使用现有的应用程序进行测试。


  • 配置为iOS SSO - 已启用


  • 配置为深度链接 - 已启用




当用户在iOS上单击应用程序通知时,从Facebook获得的唯一功能是将用户重定向到应用程序(如果已安装)或App Store(如果没有)。另外,如果您希望将应用通知显示在桌面上,则需要在App On Facebook部分下的Canvas URL。



在我的测试中,我必须有一个画布网址才能使iOS通知正常工作,但我不知道这是否是Facebook或预期行为的错误,所以如果它不起作用只有iOS启用,启用在Facebook上的应用程序,并坚持一个随机的URL,如果你没有一个。


I've sent an app invitation from an iPad app to a test Facebook account via Facebook's API. When I login to the test account on my PC, the app request is there.

When I login to the test account on my iPad (either via Safari or via the Facebook App), I can see the number "1" next to the App Centre tab, but when I click it and go to the App Centre, there's no request. In fact, I can't see any App Centre areas dedicated to requests on Facebook for iOS - there's only Social Picks and Top Apps. Any explanation for this?

解决方案

This is caused by an incorrect configuration on the Facebook app setting page. When you are setting up the app, you need to make sure the following is set correctly.

Go to developers.facebook.com then select "Apps". Edit your app and fill in the following..

  • iOS App Bundle (dont think it's essential but fill it in, this the bundle id from Xcode (com.companyname.appname))

  • iPhone/iPad App Store ID - This is ESSENTIAL, one of these must be filled in with a valid app store ID. You get this when you create an app with iTunes Connect. If you create an app, and fill in the details right up to the point where it asks you to submit the binary, it will generate what Apple refers to as an Apple ID (or iTunes Id?). It's just a long integer value. It doesn't have to be for the corresponding app, if you already have apps in the app store just log in to iTunes connect and use an existing one for testing.

  • Configured for iOS SSO - Enabled

  • Configured for Deep Linking - Enabled

The only functionality you get from Facebook when a user clicks an app notification on iOS is the user being redirected to the app, if installed, or to the App Store if not. Also if you want your app notifications to show up on desktop, you'll need a Canvas URL under the "App On Facebook" section.

In my tests I had to have a canvas URL to get iOS notifications working, but I'm not sure if this is a bug with Facebook or intended behaviour, so if it doesn't work with just iOS enabled, enable app on Facebook too and stick in a random url if you don't have one.

这篇关于iOS应用程序请求不会显示在iOS设备上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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