Topic-icon Facebook API error

Active Subscriptions:

None
10 years 4 months ago #56535 by elhalle
Facebook API error was created by elhalle
I have this following problem when using JFBconnect :

Facebook API Error: Connection timed out after 10000 milliseconds

Facebook Application configuration could not be loaded. Please check your App ID and Secret Key

All were working nice, but since days I got this message when using autotune. I entered the correct informations of facebook api.

For you informations at the same time I got problems with Jomsocial component (Error: String could not be parsed as XML) . Their support team told me : " your server seem prevent your site to read outside XML source". They told me to modifiy a php line in one of jomsocial file and It work's.

I except your reply, thank you.
The topic has been locked.
Support Specialist
10 years 4 months ago #56538 by alzander
Replied by alzander on topic Facebook API error

All were working nice, but since days I got this message when using autotune. I entered the correct informations of facebook api.

The error message you're seeing about a timeout means that your server is unable to make an outgoing connection to Facebook's servers. We need to be able to access many external URLs to configure your Application and to actually authenticate users. I'd contact your hosting provider to see if there's any firewall or other security restrictions that would block outgoing connections to servers like:
https://graph.facebook.com/
If your site can't access that, or other URLs, much of our functionality will not work.

For you informations at the same time I got problems with Jomsocial component (Error: String could not be parsed as XML) . Their support team told me : " your server seem prevent your site to read outside XML source". They told me to modifiy a php line in one of jomsocial file and It work's.

We've never heard of this issue. It sounds like your server is very locked down to the point that it's preventing proper functionality of extensions. JFBConnect relies on XML files for configuring much of our extension. If your server can't read those files, I'm not sure what the proper course would be.

If you provide the line of code that JomSocial told you to implement, that may work for us as well and help us understand the restrictions that they discovered. My overall recommendation would be to contact your host to reduce the restrictions on your account though.

Thanks,
Alex
The topic has been locked.