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,
select title, url, owner from link where owner in (select uid2 from friend where uid1 = me() limit 100)
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.
For domain searching try adding something like WHERE strpos(url,'domain.com') > 0, asside to an indexable column in your where clause.