How to integrate Facebook comments with your WordPress_blog | RealtyGo_blog

 

Getting all those great comments from your friends and fans on Facebook over to your WordPress blog for all internet readers.

For most weblogs is additionally performed a Facebook fan page or a Facebook profile page. The blog articles are published regularly. On Facebook, either manually or automatically link (for example, with RSS graffiti) on the postings in the blog.

 

 

The problem:

The real debate on the content of blog postings will then take place on Facebook and not on the blog.

The solution:

The plugin getFacebookComments compares the entries on Facebook with the postings on the blog. If an entry includes the full URL on Facebook (!) Of a blog posts automatically the comments of Facebook to WordPress to be copied.

Requirements:

PHP5 and cURL. The easiest way to check on the phpinfo. Just a new PHP file on the Web server to create, populate them with the following three lines:

<? Php

phpinfo ();

?>

The file then calls on the browser and look for the following block:

Installation:

Download and unzip the folder getFacebookComments from the ZIP file into wp-content/plugins. Then the plugin will be normally activated via the WordPress backend. Then a new point is found under Settings, the FB is called Comments. Here, however, only two things are set, the name of the Facebook fan page or Facebook profile page and a suffix for the name of the commentators. Since this range is directly suffix isthe name of the commentators, this field should be emptied. There are more beautiful and to identify other ways the comment.

Following the installation and activation of the plugin still needs a CronJob be established to trigger the copy of the comments regularly. With most hosting CronJobs are included, but there are also providers on the Web for free CronJobs. The call of the CronJobs aims to cron.php (http://www.website.de/wp-content/plugins/getFacebookComments/cron.php). For most CronJobs send e-mail address are defined as the target for the echo output of the script. This is very useful if you want to check whether the script works correctly. Once the script has access to data is an echo output. Even if no comments are imported!

Facebook privacy settings:

If the script return a blank on this issue and import comments, probably the Facebook privacy settings are wrong. Also it can be determined relatively easily. The script uses the GRAPH API of Facebook. What exactly is this API from your profile extradite. One can watch in plain text. Simply call in the browser’s address http://graph.facebook.com/profilname/posts. Before natural “profile name” and substitute the desired name or Facebook page Facebook profile page name. If the privacy settings is set correctly, you can get quite a lot of output of their own posts with all data, facts and comments. The requested page is blank, it looks like this:

{ “Data”: [ ] }

Here, the privacy settings are adjusted accordingly. Is important here: Amendment privacy settings seem to apply only to future posts! To a revised privacy setting to really test; You must have a new post published on the Facebook page or Facebook profile page. If you want to leave their privacy settings so it will probably be enough content, the comments by WordPress will be copied explicitly in each case for “all” release.

Thanks for Reading – RealtyGo_blog | Facebook integration with WordPress and more…

 

Advertisements

, , , , , , ,

  1. Qr Code Generator
  2. watch free movies free

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: