是否可以从 Open Graph 检索用户的关系状态历史记录? [英] Is it possible to retrieve a user's relationship status history from Open Graph?

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

问题描述

我正在想办法获取用户的关系状态历史记录.我知道我可以拉取用户当前的关系状态.

但我想以类似于 Timeline 保存用户工作和教育历史的方式提取他们的历史记录.

我已经看到(取决于用户提供了多少信息)人们的关系保存在实际日期中,例如一个人在 2012 年 7 月 22 日结婚或在 2011 年 10 月 1 日恋爱".

所以我的问题是:如果用户自 2012 年 10 月 23 日起建立关系,我可以从 API 获取该信息吗?如果此人更改了他们的关系状态,我是否也能从 API 中获取该信息?提前致谢.

解决方案

据我所知,关系状态历史无法从 Open Graph 获得.

<块引用>

relationship_status - 用户输入的关系状态"配置文件场地.为空白或以下字符串之一:Single、In a关系,在开放的关系中,订婚,结婚,这是复杂,丧偶.

important_other_id - 用户所在的人的 id有关系.仅当关系中的两个人都发出请求的应用程序用户.

看看这里的表结构:http://developers.facebook.com/docs/reference/fql/user/

更新:

您可以尝试使用 实时更新 API 用于存储关系状态(如果它与您已有的状态不同).

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.

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.

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.

解决方案

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

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 - 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.

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

UPDATE:

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.

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

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