API从Facebook获得用户周年纪念? [英] API to get user anniversary from Facebook?

查看:122
本文介绍了API从Facebook获得用户周年纪念?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到Graph API(例如GET https://graph.facebook.com/UID )返回 relationship_status significant_other ,但不会返回关系的周年纪念日,即使存在。 p>

可以通过Graph(甚至REST)API看到这个吗?



编辑:没有API相同的相反,您可以简单地屏蔽刮擦用户的个人资料页面,其中周年纪录被列在底部。很容易,但它违反了Facebook的使用条款。

解决方案

现在没有办法得到这个,希望更新API。



非官方的唯一方式是屏幕刮刮或解析用户墙上的所有帖子,但两种方式都不是全部有效,屏幕刮除甚至不允许Facebook的条款。


I noticed that the Graph API (e.g. GET https://graph.facebook.com/UID) returns relationship_status and significant_other, but does not return an anniversary date for the relationship even if one is present.

Is it possible to see this via the Graph (or even REST) API?

EDIT: There is no API for the same. Instead you could simply screen scrape the user's profile page where anniversary is listed on the bottom. Much easier but its a violation of Facebook's term.

解决方案

There is no way to get this right now, hope for an update of the API.

The unofficial only ways would be screen scraping or parsing all posts on the users wall but both ways are not every efficient and screen scraping is not even allowed by the terms of Facebook.

这篇关于API从Facebook获得用户周年纪念?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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