是否有可能从开放图谱检索用户的关系状态历史? [英] Is it possible to retrieve a user's relationship status history from Open Graph?

查看:269
本文介绍了是否有可能从开放图谱检索用户的关系状态历史?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找出一种方式来获得用户的关系状态历史。我知道我可以拉一个用户当前的关系状态。

I am trying to figure a way to get a user's relationship status history. I know that I can pull a user's current relationship status.

不过,我想拉他们的历史在时间线节省了用户的工作经历和教育背景类似的方式。

But I want to pull their history in a similar way that Timeline saves a user's work and education history.

我已经看到了(这取决于有多少信息用户已给出)人的关系被保存实际日期比如一个人得到了有关系结婚于2012年7月22日或2011年10月1日。

I've seen that (depending on how much info the user has given) people's relationships are saved with actual dates such as a person got married on July 22, 2012 or 'in a relationship' October 1, 2011.

所以我的问题是:如果用户是一个关系自2012年10月23日我可以得到从API的信息?如果这个人改变他们的关系状态,我将能够得到从API这些信息呢?先谢谢了。

So my question is: If a user is in a relationship since October 23, 2012 can I get that info from the API? If this person changes their relationship status would I be able to get that info from the API as well? Thanks in advance.

推荐答案

据我所知的的关系状态历史的不可用的Open Graph。

As far as i know relationship status history isn't available from Open Graph.

relationship_status - 用户输入的婚姻状况简介
  领域。为空或以下字符串之一:单,在
  的关系,在一个开放的关系,订婚,结婚,这是
  复杂,丧偶。

relationship_status - User-entered "Relationship Status" profile field. Is either blank or one of the following strings: Single, In a Relationship, In an Open Relationship, Engaged, Married, It's Complicated, Widowed.

significant_other_id - 用户在一个人的id
  有关系。仅表示如果两个人的关系是
  发出请求的应用程序的用户。

significant_other_id - the id of the person the user is in a relationship with. Only shown if both people in the relationship are users of the application making the request.

看一看在这里表结构: HTTP://developers.facebook。 COM /文档/参考/ FQL /用户/

Have a look here at the table structure: http://developers.facebook.com/docs/reference/fql/user/

更新:

您可以尝试使用实时更新的API 存储的关系状态,如果它是来自你已经有一个不同的。

You can try and use the Real-time Updates API to store the relationship status if it's different from the one you already have.

这篇关于是否有可能从开放图谱检索用户的关系状态历史?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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