Topic-icon Facebook API Error

Active Subscriptions:

None
12 years 9 months ago #11714 by kamuchuuu
Facebook API Error was created by kamuchuuu
I have just installed all modules and plugins.
On the overview page, I can see the error message.

I changed my misconfiguration on the facebook developer page, but the error message appear every time.
I tryed login, clear cache, but I can't solve the problem.
Any ideas?
The topic has been locked.
Support Specialist
12 years 9 months ago #11723 by alzander
Replied by alzander on topic Facebook API Error
I'm assuming this is the Configuration Error in red? If you're seeing that, make sure that Site URL and Base URL's are setup correctly in the Facebook Developer app and that you've properly set the API Key, Secret Key, and App ID in the JFBConnect configuration area.

If you're still seeing the error, try enabling the Authentication, User, and System plugins and enable the JFBCLogin module and try to login. Even though we post that possible misconfiguration error, there are times when authentication still works just fine.

Finally, if none of the above works, can you please post (or private message us) the URL to the front-end of your site? That may help us determine the cause.
The topic has been locked.
Active Subscriptions:

None
12 years 9 months ago #11771 by kamuchuuu
Replied by kamuchuuu on topic Facebook API Error
the Configuration Error in red? ---Yes,

WARNING: POSSIBLE MISCONFIGURATION
We suggest updating your Site URL to: www.squeaky-kids.co.uk/
You can do this by visiting: Facebook Developers
Select your application -> Edit Settings -> Web Site.
You should configure the Site URL and Domain.


I tried enabling the Authentication, User, and System plugins and enable the JFBCLogin module and try to login.
Then the like code on the top page starts show correctly. (when I was testing, it wasn't show like that)
However, the same error message is still appear on the overview page.

I checked my configuration on facebook, looks OK,,,,I feel.
the API ID and the key are the same, aren't they?
I haven't configure canvas properly, but I think it is not the problem.

My site : www.squeaky-kids.co.uk/ the shop has not open yet

Thank you for your help!
The topic has been locked.
Support Specialist
12 years 9 months ago #11781 by alzander
Replied by alzander on topic Facebook API Error
I'm not sure your application is setup properly. Normally, you should be able to visit your application's page at the link below (this is using your application ID):

www.facebook.com/apps/application.php?id=251428321550426


However, that link just redirects to Facebook's home page. That's a good indicator that something's not correct with the application setup. Did you follow the steps in our configuration guide for setting up your app? Either way, I'd check your settings, or possibly even create a new application and try not to change too many settings from what we recommend.

If you know why the application page isn't working, for any reason, that will definitely help us along. For reference, our application page for SourceCoast is below:

www.facebook.com/apps/application.php?id=116488908376294


Alex
The topic has been locked.
Active Subscriptions:

None
12 years 9 months ago #11815 by kamuchuuu
Replied by kamuchuuu on topic Facebook API Error
I am very sorry, I still can't connect it properly.
I tried to make a new app on the facebook developer page, and set up the ID, key and secret key on my joomla. but the same error message still appear even a day later.
this is the new app, and I copy and paste the ID from my joomla. I can brows it.
www.facebook.com/apps/application.php?id=206339189413603

what's the next thing to try ?

and also, I would like to put the code to login with facebook on my customer registration page, how can I do that?
www.squeaky-kids.co.uk/index.php/test-jshop/user/login

Many thanks,
The topic has been locked.
Support Specialist
12 years 9 months ago #11828 by alzander
Replied by alzander on topic Facebook API Error
Since your site isn't open, if you're ok with it, the easiest next step is for us to simply get into the site to debug the issue you're having. If you can, please send us a Private Message with a set of super admin credentials. You can PM me by clicking the arrow under my name (<----) and then the mail icon.

As for the code for the customer registration page, if you have easy access to modify that template, you'll simply want to add the text code below to the form, and JFBConnect will add the Login With Facebook button automatically:
{JFBCLogin}

Thanks, and we'll get you setup soon!
The topic has been locked.
Support Specialist
12 years 9 months ago #11839 by alzander
Replied by alzander on topic Facebook API Error
kamuchuuu,
Thanks for the Private Message. I got into your site, and found the cause. I guess I misread this thread a little because you mentioned the "Facebook API Error: Protocol https not supported or disabled in libcurl" in the topic description, but that didn't get sucked into the first post, so I missed it.

The problem your having is simply a server configuration issue. To communicate with Facebook, we use a method called "curl" which sends normal http requests to Facebook from your server. Facebook requires these connections to go over a secure connection (SSL) since we're sending and receiving private user information. Your server is setup to support SSL for things like mail and for your website, but SSL support for curl has been disabled. This is very uncommon, actually, but can hopefully be enabled pretty easily by your hosting company.

Can you contact them, and see how they respond? Basically, just say "An extension I'm using on my website requires SSL over CURL support. Can you please enable this functionality?"

To check this setting, you can go to Site -> System Information in the admin area, and then click the PHP tab. If you search for "curl", you'll find the following configuration information:
cURL support enabled
cURL Information libcurl/7.20.0 zlib/1.2.3

Once fixed, the 2nd line should look something like (the difference being the inclusion of OpenSSL):
cURL Information libcurl/7.20.0 OpenSSL/0.9.8b zlib/1.2.3

Hope this helps, and please let us know if how it goes,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 9 months ago #11861 by kamuchuuu
Replied by kamuchuuu on topic Facebook API Error
Thank you for your help.
However, I decided to not using this components, so would you let me know the way of the cancellation please?

Noriko
The topic has been locked.
Support Specialist
12 years 9 months ago #11865 by alzander
Replied by alzander on topic Facebook API Error
Noriko,
Sorry you couldn't get it going. To take advantage of the 30-day money back guarantee, please visit the Refund Request page below. You must be logged into your account to fill out the form:
www.sourcecoast.com/refund-request

Thanks,
Alex
The topic has been locked.