Extension talk:FacebookComments

1.1.2 Can't moderate comments through app
Hi, thanks for the extension. I've added my app ID in localsettings.php, and I can see the app ID in the html, like this: 

But any comments made don't appear under the FB comment moderation tab https://developers.facebook.com/tools/comments?id=123456789012345, so I can't view or delete any offensive comments.

Am I doing something wrong? Any help or suggestions appreciated.

Ralpharama 12:30, 22 September 2014 (GMT)

SOLUTION Install the open graph extension at this location https://www.mediawiki.org/wiki/Extension:OpenGraphMeta. and give the appid in the opengraph parameters and it should work.

=> Can't understand the meaning of giving the appid in the opengraph parameters at this soluion. Could you give me more additional exexplanation? Thanks.

1.19.1 my wiki does not work any longer
When I implement this on mediawiki 1.19.1 my wiki does not work any longer, all it shows is a blank page then. The reason is that this extension never gets past the lines if( $mediaWiki->getAction != 'view' ) return true; if( $skin->getTitle->getNamespace != 0) return true; Can you please help? --ThorstenStaerk (talk) 06:54, 26 August 2012 (UTC)
 * Did you set your LocalSettings.php file? Compare this and this. I guess you should set your LocalSettings.php to use the Extensions. (Installation section) --Jmkim dot com (talk) 08:43, 26 August 2012 (UTC)
 * works. I did not extract it to extensions/FaceBookComments but to ./FaceBookComments. Thanks, see www.staerk.de/thorsten --95.113.223.109 18:56, 5 September 2012 (UTC)

disabling display on main_page
Add the following rule to MediaWiki:Common.css: --Recipewiki (talk) 13:36, 2 May 2013 (UTC)

Or just add the following line to FacebookComments.class.php: --Delusive

Apply to specific articles
Would you mind providing a option that would allow administrators apply Extension:FacebookComments only to specific articles?

Perhaps only pages tagged with... &lt;fbcomments /&gt; ...or something similar?

Davydog (talk) 23:27, 5 March 2013 (UTC)

Integration with Mobilefrontend
The extension does not appear on the mobile version, using Mobilefrontend ... Is there a way to get it working?

Fix for scripts
Scripts like rebuildFileCache.php may not work with this extension currently. To fix that apply the following patch

+if( isset($mediaWiki) ) { if( $mediaWiki->getAction != 'view' ) return true; +}

Where the '+' indicates the lines to be added. --Nischayn22 (talk) 18:58, 19 July 2014 (UTC)

FB comment extension
Hello all,

plz help me, the FB comment extension its no longer work properly so now its publish the comment on Wiki but not published in FB. So what is the problem? plz help. --81.111.57.124 20:58, 2 November 2014 (UTC)

SOLUTION

Install the open graph extension at this location https://www.mediawiki.org/wiki/Extension:OpenGraphMeta. and give the appid in the opengraph parameters and it should work.

For app-id to work
Install the open graph extension at this location https://www.mediawiki.org/wiki/Extension:OpenGraphMeta. and give the appid in the opengraph parameters and it should work.

Is this still supposed to be working? Not showing up on pages. (FIXED!)
Showing up in Version, I also installed OpenGraphMeta which is also showing up in Version.

I messed with the source code to note if its getting to the end of the routine, and it seems to be getting to the very end and creating the full html code, but for whatever reason on addHTML it's just not getting to where it needs to. Please help!

Mediawiki version 1.30.

--

Problem is multiple things, first off it's pointing to a http script but its gotta be https or chrome will block it.

Secondly the logic seems to not work with the newer versions of mediawiki I don't think you're supposed to use addHTML, so I switched the hook from AfterScripts (which is run after the footer), and switched it to aftercontent. which requires from $skin, &$text to &$data, $skin, and it sets the data. Seems to work now. Thank you for the extension!