doutangliang7769 2016-11-26 14:27
浏览 36
已采纳

Facebook Activity Streams和Tin Can API之间有什么关系?

A long time ago I did a project using the Facebook SDK in which you could pull data from Facebook about your users using a noun, verb, object format; for example, John Miller made a smoothie; or Jane Rosin likes the Beatles. I believe it used the graph api and FQL to pull these results; also the user had to give you access to their information.

I believe I implemented it using Facebook Connect in PHP, and the user would have to allow access to the site or Facebook application before we could access the FQL queries.

This sounds to be similar to the xapi (Experience API / Tin Can API) since the xapi also utilizes an noun, verb, object format; so is there any connection between the two formats? Or if I wanted to store the results of an FQL query somewhere, for instance in a Learning Record Store; would I need to convert the formats? There's a mention of Facebook and activity streams here on the Tincan API website.

  • 写回答

1条回答 默认 最新

  • duanbei3747 2016-11-27 16:51
    关注

    As that article points out the xAPI (or Tin Can API at the time) was advised by what existed in the Activity Streams specification, but was extended to allow it to capture a wider range of data and specifically data relevant for e-learning. Additional items were added to the Statement structure (the format of stream data storage in xAPI) to provide for interoperable communication between systems, such as the stored, id, and timestamp properties. Presumably anything captured in the FB format could be translated into xAPI statements and therefore stored in an LRS because they share the same triple components and xAPI provides for extensions which essentially allows you to capture any arbitrary data. There could be some fidelity loss, and going the other direction would not work (in other words you can't take an arbitrary xAPI statement and turn it into an Activity Streams record, though the simplest of statements would likely work).

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 下图接收小电路,谁知道原理
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测