如何获取点击“喜欢”的朋友的列表在外部页面上? [英] How do I get a list of friends who clicked "Like" on an external page?
问题描述
PART A -
这样有许多很多问题,但都没有提供一个可行的解决方案。我想得到一个在外部网站上点击Facebook喜欢按钮的朋友列表。
PART A -
There are many many questions like this, but none of them seem to provide a working solution. I want to get a list of friends who clicked the Facebook "Like" button on an external site.
注意:这不适用于Facebook页面。在这种情况下,我知道我可以查询 page_fan
表。
NOTE: This is NOT for a Facebook page. In this case, I know I can query the page_fan
table.
要获取Facebook页面喜欢的列表例如,我可以使用 url_like
表。我想我只想要一个方法来反转这个表。我知道由于隐私问题,我无法获得所有喜欢链接的人的列表,但是我想要一个单独的朋友列表 - 这应该是正常的。
To get the list of Facebook page-likes for example, I can use the url_like
table. I guess I just want a way to invert this table. I know I cannot get a list of ALL people that liked a link due to privacy concerns, but I want a list of my friends alone - which should be fine.
我知道Facebook在内部每次看到Facebook Like按钮时都会这样做,下面有关于我的朋友也有同样的链接的统计数据。如何使用FQL获得这个?
I know facebook does this internally every time I see a Facebook Like button... right below that there is statistics about my friends that also like the same link. How do I get this using FQL?
B部分
同样地,如何获得一个朋友列表将 共享 一个特定的URL作为链接?我不能通过url搜索链接
表,因为没有索引。另外, link_id
与URL的Open Graph ID不一样。
PART B
Equivalently, how do I get a list of friends that shared a specific URL as a link? I cannot search the link
table by url because that is not indexed. Also, the link_id
is not the same as the Open Graph ID of the URL.
我尝试过从链接中选择link_id,其中url =http://urladdress.com/a/b.html和所有者(选择uid2来自朋友,其中uid1 = me())
抛出一个错误,不返回任何东西...只是摊位。
I tried select link_id from link where url="http://urladdress.com/a/b.html" and owner in (select uid2 from friend where uid1=me())
but that neither throws an error not returns anything... just stalls.
推荐答案
你可以查看 read_insights 权限。您可能无法获取有关喜欢(...)的确切信息...但您将可以获得其他可能有用的信息。
You could possibly look into the read_insights permission. You might not be able to get the exact information about "likes" (yet)... but you will be able to get other possibly useful information.
这篇关于如何获取点击“喜欢”的朋友的列表在外部页面上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!