I've installed the module and configured as per the instructions. The result is that every page load goes up from 300-400 ms to 1.5 to 10 seconds depending on what the network connection to facebook is at any time. I ran xhprof to discover that it was the curl connection to facebook.
Is this normal or am I doing something wrong?
Comments
Comment #1
Dave Cohen commentedI believe the fb_devel.module block is probably the cause. Try disabling fb_devel.module.
With that disabled, there should be one curl request made to facebook per session. In other words, just one when you first connect. Apps might call into facebook more often, but the core modules should do it only once per session.
Comment #2
davidarthur commentedYou're spot on, thanks for that. It does say it has a performance hit.
Closing this issue.
Comment #3
kuldeep_kumar commentedi am using drupal for facebook module and after enabling this module my sites performance is too much slow
functionality of fbconnect is working properly but there are some errors are occurs which is given bleow
Failed to learn full name of new user: connect() timed out! 28. (logged into facebook as 100002685638686)
Failed to query facebook user info: couldn't connect to host 7. (logged into facebook as 100002685638686)
Failed to query facebook user info: couldn't connect to host 7. (logged into facebook as 100002685638686)
please help me
Comment #4
kuldeep_kumar commentedone more problem is generate on using this module
Failed to get application properties (msys) from Facebook: fb_call_method failed calling admin.getAppProperties. Connection timed out -110
Comment #5
kuldeep_kumar commentedafter save the facebook application settings i got too much error given below
Failed to get application properties (msys) from Facebook: fb_call_method failed calling admin.getAppProperties. Connection timed out -110
Unable to get application properties. Possibly, you've given the wrong id or secret. Possibly, this server is unable to reach facebook's servers. Your application will not work properly!
Failed to get application properties (msys) from Facebook: fb_call_method failed calling admin.getAppProperties. Connection timed out -110
Failed to set the following properties for msys application. You may need to manually editing remote settings!
Array
(
[uninstall_url] => http://192.168.0.8/TRAINING/KuldeepKumar/msys/fb_app/event/msys/post_rem...
[authorize_url] => http://192.168.0.8/TRAINING/KuldeepKumar/msys/fb_app/event/msys/post_aut...
[callback_url] => http://192.168.0.8/TRAINING/KuldeepKumar/msys/fb_cb/213046595411518/
[connect_url] => http://192.168.0.8/TRAINING/KuldeepKumar/msys/
)
Failed to set application properties on Facebook: fb_call_method failed calling admin.setAppProperties. Connection timed out -110
Failed to get application properties (msys) from Facebook: fb_call_method failed calling admin.getAppProperties. Connection timed out -110
Comment #6
Dave Cohen commentedLooks like your server cannot reach facebook.com. Maybe because of a firewall? You'll have to fix that if you want the modules to work.
Also do not post to closed issues, better to open a new issue.
Comment #7
masoom2206 commentedDear Dave Cohen
I am new in drupal and I have just do as you have suggested like disable fb_devel.module.
But I have still facing that my site gating very slow when connection with facebook.
What I did, Please suggest
Masoom
Comment #8
mayur.pimple commentedHi
Facing same problem ,
but there are some errors are occurs which is given below ,
Failed to query facebook user info: couldn't connect to host 7. (logged into facebook as 0)
Failed to get application properties (flexb) from Facebook: fb_call_method failed calling admin.getAppProperties. Connection timed out -110
Comment #9
luksakI am having the same issue on D7.
On a node page my site takes 400ms to load without fb. With fb enabled it is around 1700.
No errors are logged.
Comment #10
luksakThis patch improved my performance by three times:
http://drupal.org/node/1188256#comment-6828868
But it's still pretty bad.