I look to integrate Facebook comments left on our website in a way in which content can be crawled by search engines, as well as for people (although I very much doubt that there will be many) that do not have Javascript enabled in the browser.
Currently, our Facebook comments are displayed using the Facebook comment social plugin (using the <fb:comments href="MY_URL" num_posts="50" width="665"></fb:comments>
). This leads to an iFrame rendering (which is mostly ignored by search engines), so the plan is to display this information and format it using basic HTML. To do this, comments are pulled using the Graph API - this is displayed only for scanners and people with Javascript disabled.
This all works great using the Graph invocation API (https://graph.facebook.com/comments/?ids=MY_URL), analyzing the JSON result and displaying it on the page. The problem is that the <fb:comments>
approach filters our results based on the blacklist that we installed in one of our Facebook apps. An AppId with an appropriate blacklist is stored on the page metadata using ( <meta property="fb:app_id" content="APP_ID"/>
), which <fb:comments>
control, obviously needs to be used somehow to filter out the comments.
The problem is that the Graph API method does not filter any results, since I assume that the blacklist (or the application identifier containing the blacklist) is not specified. Does anyone know how to specify a Facebook app ID for an API API URL or not otherwise retrieve comments that violate the blacklist?
On the side of the note, I know that the debate about filtering content in the comments is raging on, but this is the decision of the leadership to implement a blacklist, and one that I have no influence on the changes - they just pack who felt the need to explain why filtering is or not is a good idea!
Any thoughts on a solution are greatly appreciated.
source share