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

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

问题描述

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

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.

当我在 iPad 上登录测试帐户时(通过 Safari 或通过 Facebook 应用程序),我可以看到应用中心选项卡旁边的数字1",但是当我点击它并转到应用中心时,没有要求.事实上,我看不到任何专门用于 iOS 版 Facebook 请求的应用中心区域——只有社交精选和热门应用.对此有什么解释吗?

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?

推荐答案

这是由 Facebook 应用设置页面上的错误配置引起的.设置应用程序时,您需要确保正确设置以下内容.

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.

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

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

  • iOS App Bundle(认为它不是必需的,但填写它,这是来自 Xcode (com.companyname.appname) 的 bundle id)

  • 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 - 这是必不可少的,其中之一必须填写有效的 App Store ID.当您使用 iTunes Connect 创建应用程序时,您会得到这个.如果您创建一个应用程序,并在要求您提交二进制文件的地方填写详细信息,它将生成 Apple 称为 Apple ID(或 iTunes Id?)的内容.它只是一个长整数值.不必针对相应的应用程序,如果您在应用程序商店中已有应用程序,只需登录 iTunes Connect 并使用现有应用程序进行测试即可.

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.

为 iOS SSO 配置 - 已启用

Configured for iOS SSO - Enabled

配置为深度链接 - 已启用

Configured for Deep Linking - Enabled

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

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.

在我的测试中,我必须有一个画布 URL 才能使 iOS 通知正常工作,但我不确定这是否是 Facebook 的错误或预期行为,因此如果它仅在启用 iOS 的情况下不起作用,请启用应用程序也可以在 Facebook 上使用,如果没有,请使用随机网址.

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.

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

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