Facebook comments admin faq
Below are some questions and their answers. Most of them are real situations, based on mails we have recieved from customers.
If you have further questions contact us.
- How to create facebook application
- Reload problem - comments disapear
- Localisation
- Syntax error, unexpected T_NEW
- Facebook2 needs the CURL PHP extension
- An error occurred with . Please try again later.
- I can see comments in my posts from other webs
- I have configured everything, comments are not showing
- Uncaught CurlException: 60: SSL certificate problem
- Working with fan page
- How to integrate component with articles
- Please first configure Your app parameters
- Warning: Invalid argument ...
How to create facebook application
Go here http://developers.facebook.com/setup/ and follow instructions. It is straightforward procedure.
There you will get all necessary parameters.
Facebook AP ID
Facebook secret key
It is very important, when you create application, you must wait 24-72 hours for changes to take effect (to propagate on all facebook servers)
Reload problem - comments disapear
I have a question, when the page is reloaded the comments disappear. Is that because of facebook or your code?
Modify your main template file, near the beginning , add in head tag
xmlns:fb="http://www.facebook.com/2008/fbml"
So the my code looks like this,
<html xmlns="http://www.w3.org/1999/
Thanks Jan Munkhammar for contributtion
Localisation
Can I somehow enable comments box in my language (other than English) ?
It will be an option in version 2.0 and higher, in meantime you can edit plugins/content/fbca.php, and replace
connect.facebook.net/en_GB/
with
connect.facebook.net/de_DE/
for example for German language.
Syntax error, unexpected T_NEW
Hello, I installed FBca component and plug in in my site, but when I try to access the Component on the back end, i get this error:
Parse error: syntax error, unexpected T_NEW in /.../administrator/components/com_fbca/models/facebook.php on line 14
Did I did something wrong?
How can it be fixed?
You need php 5 to use this extension. If it is not the case, this error can ocur. It is not mandatory for our extension, but for thew facebook SDK.
Facebook2 needs the CURL PHP extension
I dowloaded your FBca Joomla extension, it was sucessfully installed. But when I try to load "FB comments admin" I get the error message, right after the click, I cant even configure the parameters etc.
Fatal error: Uncaught exception 'Exception' with message 'Facebook2 needs the CURL PHP extension.' in C:
wampwwwadministratorcomponents
com_fbcamodelsfacebook.php:14 Stack trace: #0 C:
wampwwwadministratorcomponents
com_fbcacontroller.php(32): require_once() #1 C:
wampwwwadministratorcomponents
com_fbcaadmin.fbca.php(37): require_once('C:wampwwwadm...'
) #2 C:
wampwwwlibrariesjoomlaapplicat
ioncomponenthelper.php(162): require_once('C:wampwwwadm...'
) #3 C:
wampwwwadministratorincludesap
plication.php(136): JComponentHelper->
renderComponent('com_fbca') #4 C:wampwwwadministratorindex.
php(67): JAdministrator->dispatch('com_
fbca') #5 {main} thrown in C:
wampwwwadministratorcomponents
com_fbcamodelsfacebook.php on line 14
Could you please help me with this?
We can't help you, You need to have curl extension installed on your server.
An error occurred with . Please try again later.
I'm triing to use your FBca joomla extension and after I entered my infos (App ID, etc.), when I click on the "Connect with Facebook" button I receive this error: 'An error occurred with <appname>. Please try again later.'. I receive the same error when clicking the button on your demo site. Any ideas?
I am not sure what is it about, but believe something is changing on facebook. Usually things get working after a while. :)
I can see comments in my posts from other webs
It "works", but I can see comments in my posts from other webs by people around the world. I think something strange happens.
If you wan to check, tell me something, but I think I better disable your plugin, thankyou anyway :)
It can be 2 things, first facebook is going crazy (it is not so rear case)
and the second is that you did not enter right application ID.
I have configured everything, comments are not showing
I have followed the instructions from Facebook on creating an application - only done the basics and used the example they have to get an appid and secret.
Application is not yet published though.
I have installed the fbca plugin on the site and published it.
However the comments do not show up on the site at all.
I have configured everything as described and chosen a section,
Am I missing something here?
Comments are showing only on article page. Look here for example http://domain.com/index.php?option=com_content&view=article&...
Uncaught CurlException: 60: SSL certificate problem
I've got eveything setup and when I login to authenticate, I get this error:
Fatal error: Uncaught CurlException: 60: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed thrown in ...
You can try to replace
public static $CURL_OPTS = array(
CURLOPT_CONNECTTIMEOUT => 10,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 60,
CURLOPT_USERAGENT => 'facebook-php-2.0',
);
with
public static $CURL_OPTS = array(
CURLOPT_CONNECTTIMEOUT => 10,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 60,
CURLOPT_USERAGENT => 'facebook-php-2.0',
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_SSL_VERIFYHOST => 2,
);
in administrator/components/com_fbca/models/facebook.php
Rest of this issue you can read here http://forum.developers.facebook.net/viewtopic.php?pid=225380
Working with fan page
I can not draw that would be linked to my Fanpage. constantly communicate with my profile. how to set it to run with my fanpage ?
Application does not work with fan pages, but with applications.
If you are interested, we can offer commercial support, ie the solution for the fan page
How to integrate component with articles
I have installed and activated the facebook component and plugin. However, I could not find a reference on how to integrate it into an article. I suppose I need to put in some coding in the article that will trigger the facebook plugin.
Question however is what the correct syntax is for this to work?
You do not need to put anything in article.
Justo go to plugins / content and enable fbca plugin.
After that on article page you will see the comment box
Please first configure Your app parameters
Please first configure Your app parameters
Please login to Facebook to use the component
There is something wrong with your application settings. Configure it accordiong to screenshots.
When facebook application is new, you must wait few days for changes to propagate on all facebook servers. (Usually 24-48 hours).
Bellow are screenshots how to setup application.
Warning: Invalid argument ...
Warning: Invalid argument supplied for foreach() in /home/persbur1/public_html/administrator/components/com_fbca/models/fbcas.php on line 95
It shows when first time the component is installed, and comment box is not shown, or plugin is not enabled.
This is error, for versions prior to version 2.0. Upgrade fbca, and it will disappear.















