如何在我的 iPhone 应用程序上接收来自 Facebook 服务的推送通知?
我将构建我自己的 iPhone 应用程序。 我需要的是当某些操作发生时(当然是 Facebook 上的操作)从 Facebook 服务接收我的应用程序的推送通知。
我从互联网上找到了“实时更新”(http://developers.facebook.com/docs/reference/api/realtime/),但它需要第三方网络服务。 我没有,所以有什么解决办法吗?
有没有办法直接接收Facebook服务的通知?
I'm going to build my own iPhone application.
What I need is to receive the push notification on my application from Facebook service when some actions occur - of course, the actions on Facebook.
I have found the "Real-time Updates"(http://developers.facebook.com/docs/reference/api/realtime/) from the internet, but it needs the third party web service.
I have not it, so what's the solution?
Is there no solution to receive the notifications from Facebook service directly?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您提出的解决方案的问题在于,Facebook 必须跟踪您的应用程序的捆绑包标识符,并保留您的推送通知令牌,然后它将负责将推送发送到 APN 服务器。他们可能不想为自己做这件事。
为应用程序提供专用的网络服务意味着您要对所有这些负责。
The problem with the solution you are proposing is that Facebook would have to track your app's bundle identifier, and keep your push notification token, and then it would be responsible for sending the push to the APN servers. It's something that they probably don't want to do for themselves.
Having a dedicated web service for the app means you're responsible for all of that.