2011-07-10 20 views
1

中のためFQL私は現在、この記事のためにそこにあるどのように多くのコメントを発見する Facebookのコメント欄:「総コメントと返信」コメント

select time from comment 
where object_id in 
(select comments_fbid from link_stat where url ='http://www.example.com/post/') 
ORDER BY time DESC 

を使用していますが(私は単にここに回答を数えます)。もちろん、回答の数は記載されていません。

コメント+返信を数える同等のFQLクエリはありますか?

+0

友人のポイントを-chatter/virgin-buy-absolute-radioは非常に便利ですが、残念ながらまだコメント+返信ではなく、コメント番号のみを提供しています。その他の助けは大歓迎です。 – jamescridland

答えて

3

このお試しください:http://api.facebook.com/method/links.getStats?urls=http://www.mediauk.com/radio/discussions/radioに

select time from comment where 
object_id in 
    (select comments_fbid from link_stat where url ='http://www.example.com/post/') 
or object_id in 
    (select post_fbid from comment where object_id in (select comments_fbid from link_stat where url ='http://www.example.com/post/')) 
+0

ありがとうございます。私はこのメカニズムを正確に発見しました。 – jamescridland