Facebook API:所有朋友共享的所有链接? [英] Facebook API: All links shared by all friends?

查看:135
本文介绍了Facebook API:所有朋友共享的所有链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

访问整个用户的Facebook朋友共享的链接最实用的方法是什么?

What is the most practical way to access the links shared by the whole of a users' facebook friends?

我正在寻找所有通过认证用户的朋友共享的几个域名的链接。

I'm looking to scrape all the links to a handful of domains, shared by the friends of the authenticated user.

有没有办法要求域X的所有链接,所有链接(我将筛选域X),或者我需要获取每个朋友分析每个单独的饲料?我假设有一个主要的入站饲料,将是所有朋友的所有链接。真正?不正确?

Is there a way to ask for "All links of domain X", "All links" (and I'll filter for domain X) or do I need to fetch each friend and parse each individual feed? I'm assuming there's a main "Inbound" feed that will be all the links from all the friends. True? Not true?

推荐答案

select title, url, owner from link where owner in (select uid2 from friend where uid1 = me() limit 100)

将返回由身份验证的朋友共享的链接用户。然后,您需要过滤您感兴趣的域的URL。由于链接表中的URL字段未编入索引,因此您无法在FQL中执行WHERE。

will return links shared by friends of the authenticated user. You would then need to filter the urls for the domains you are interested in. Since the URL field in the Link table is not indexed, you cannot perform a WHERE on it in the FQL.

这篇关于Facebook API:所有朋友共享的所有链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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