Tag Archives: Recent Facebook Comments

How to Recover Facebook Comments Lost After Moving to Https/SSL?

If you had recently moved your WordPress website to Https/SSL, all your Facebook Comments would have been lost. Don’t worry, you can recover Facebook Comments by installing Fancy Facebook Comments plugin.

Note: If you are using Fancy Facebook Comments plugin to enable Facebook Comments at your website, you can add following code snippet in the functions.php file of your active WordPress theme to recover lost comments instantly:

/**
 * Load comments for the non-SSL version of SSL urls
 */
function heateor_ffc_custom_target_url( $post_url, $post ) {
    return str_replace( 'https://', 'http://', $post_url );
}
add_filter( 'heateor_ffc_facebook_comments_target_url', 'heateor_ffc_custom_target_url', 10, 2 );

After installing and activating the add-on, navigate to FB Comments Moderation page from left sidebar in admin area.Recover Facebook Comments - Add-On Options

Facebook App ID and Facebook App Secret are mandatory for Recent Facebook Comments functionality to work. You can save these in the corresponding options in Settings section. For more details on how to get these, click on the (?) icon before each option.

Recent Facebook Comments will only be saved for a particular webpage only after someone post Facebook Comment on that webpage with their consent to save the Facebook Comment data. This is when the add-on fetches the relevant comment for that webpage and you would be able to see the saved comments in Recent Facebook Comments section at add-on options page.

You can set the default status of Recent Facebook Comments using Default status of the comments to be displayed in Recent Facebook Comments widget option. You can change the status of comments manually from Recent Facebook Comments section. Only the approved comments will appear in Recent Facebook Comments widget that you can enable from Appearance > Widgets page in admin area (See screenshot below)Recover Facebook Comments - Recent Facebook Comments Widget

You can choose how many comments to display from the total fetched comments in database in Recent Facebook Comments section using Number of comments to display in ‘Recent Facebook Comments’ section option.