使用来自Facebook graph API的实时更新与客户端应用程序 [英] Using real time updates from facebook graph api with a client application

查看:68
本文介绍了使用来自Facebook graph API的实时更新与客户端应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的应用程序中使用Facebook的实时更新功能. /p>

我的应用程序是客户端应用程序,但是据我所知,我需要向包含callback_url参数的/APP_ID/subscriptions端点发出HTTP POST请求.

此回调URL是否必要?

由于我正在使用Windows 8 Metro风格应用程序,因此无法为该应用程序定义回调URL,因为这是客户端代码.

解决方案

没有回调URL,Facebook将如何与您联系以告知您有新的更新?

简短的回答,不,没有回调URL,就无法接收实时更新

I want to use Facebook's Realtime updates feature with my app.

My app is a client app, but as far as I can tell from the documentation I need to make a HTTP POST request to the /APP_ID/subscriptions endpoint which includes a callback_url parameter.

Is this callback url necessary?.

As I am working with windows 8 metro style application I cannot define a callback url for the app because this is client-side code.

解决方案

Without a callback URL how would Facebook contact you to tell you there are new updates?

Short answer, no, there's no way to receive real-time updates without a callback URL

这篇关于使用来自Facebook graph API的实时更新与客户端应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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