【发布时间】:2023-03-15 19:09:01
【问题描述】:
我想知道用户是否喜欢某个网址。我关注了https://developers.facebook.com/docs/reference/fql/url_like 中的 facebook 文档。使用下面的查询,我可以毫无问题地通过 user_id 获得所有喜欢:
select user_id, url from url_like where user_id=me()
此 FQL 的结果是用户喜欢的 URL 列表。当我在 WHERE 子句中添加这样的 URL 参数时会出现问题:
select user_id, url from url_like where user_id=me()and url='http://www.climatempo.com.br/previsao-do-tempo/cidade/321/riodejaneiro'
结果是一个空列表,但结果出现在第一个列表中。
有什么想法吗?
P.S 我使用 graph api explorer 测试过:https://developers.facebook.com/tools/explorer
谢谢!
【问题讨论】:
标签: facebook-graph-api facebook-fql