Creating Facebook Comments on site with Phoca Facebook Comments module:
- Go to Extensions » Module Manager » New » Phoca Facebook Comments.
- Set following parameters:
If you want to add Facebook comment feature to your site, you need to create a Facebook Comment Application in your Facebook Account.
- Login to Facebook
- Go to "Create an Application" site - http://developers.facebook.com/setup/
- Add site name
- Add an URL of your site
- Select language which your site is using
- Create an application - App Name, App URL, App ID and App Secret values will be created.
- Copy App ID value.
You can edit your Facebook application in your Facebook Account. Go to Account - Application Settings - click on Developer (or go to this site: http://www.facebook.com/developers/). Now you should see your application(s) in the top right area of your site. Click on your selected application to edit it.
As administrator and developer of the Facebook Comment Application you are able to admin the comments on the site. You are able to delete the comments on your site if you are logged in on the site with your Facebook login.
Because Phoca Facebook Comments module cannot edit main html tag of your site, recommended attribute (by Facebook) should be added to your template index.php:
Example - setting rhuk_milkyway, modify:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<html xmlns="http://www.w3.org/1999/xhtml"xmlns:fb="http://www.facebook.com/2008/fbml"xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >