Facebook Realtime API v2.3 改进仅适用于页面还是用户?
Are Facebook Realtime API v2.3 improvements only for Pages or also Users?
Real-time Updates - As of March 25, 2015 We now send content in Page real-time updates (RTUs). Previously, only the object's ID was in the RTU payload. Now we include content in addition to the ID including: statuses, posts, shares, photos, videos, milestones, likes and comments. In order for the app to receive these types of updates, you must have enabled the "Realtime Updates v2.0 Behavior" migration in your app's dashboard.
(quote link)
我正在尝试使用这些 API,但针对的是用户,而不是页面,我在 POST 回调中得到的仍然只是很少的信息,告诉我发生了什么变化,但不包括这些变化.
例如:
{"object":"user","entry":[{"uid":"1287361892736","id":"12983761897236","time":1827368128,"changed_fields":["feed"]}]}
我是否应该假设用户的实时 API 没有更新,所以我仍然需要调用 REST API 来获取新内容?
好的,在POST更新的组成描述中自己找到了:
changes: An array of the actual changes which triggered this update.
This is only returned for page subscriptions, in place of
changed_fields.
Real-time Updates - As of March 25, 2015 We now send content in Page real-time updates (RTUs). Previously, only the object's ID was in the RTU payload. Now we include content in addition to the ID including: statuses, posts, shares, photos, videos, milestones, likes and comments. In order for the app to receive these types of updates, you must have enabled the "Realtime Updates v2.0 Behavior" migration in your app's dashboard. (quote link)
我正在尝试使用这些 API,但针对的是用户,而不是页面,我在 POST 回调中得到的仍然只是很少的信息,告诉我发生了什么变化,但不包括这些变化.
例如:
{"object":"user","entry":[{"uid":"1287361892736","id":"12983761897236","time":1827368128,"changed_fields":["feed"]}]}
我是否应该假设用户的实时 API 没有更新,所以我仍然需要调用 REST API 来获取新内容?
好的,在POST更新的组成描述中自己找到了:
changes: An array of the actual changes which triggered this update. This is only returned for page subscriptions, in place of changed_fields.