Get all the comments posted on the Facebook social comment page using FQL

Is there a way to use FQL to get the XID of all comments posted on any page associated with a specific Facebook application identifier?

The documents listed for FQL in the comments_info table at this address seem to suggest that this is possible:

http://developers.facebook.com/docs/reference/fql/comments_info/

If I try to execute the following query, it does not return any results.

SELECT xid FROM comments_info WHERE app_id = {MY_APP_ID}

I want to use this to find the most popular pages without individually checking each URL to determine which one has the most posts.

+4
source share
1 answer

If you are trying to get comments from the comments plugin, try using the comment FQL table instead. Legacy fb: comments were automatically transferred to the latest version some time ago, actually rendering * comments_info * is deprecated.

On the * comments_info * docs page: "Note: This table contains the app_id to XID mapping used by the old fb: comments. It does not contain a map for the current comment plugin that does not use XID."

+1
source

Source: https://habr.com/ru/post/1346336/


All Articles