I am using FB.Connect.requireSession(function()) function in my application which works fine Firefox and MSIE it creates problem in face book login an error message Invalid procedure call or argument
Line: 13
Char: 6
Code: 0
URI: sites/all/modules/contributed/fbconnect/fbconnect.js?S
or some times i got FB is undefined error.
Is there is any solution for these IE errors
Comments
Comment #1
tvstation commentedI have the same issue
Comment #2
Dave Cohen commentedLooks like a problem in fbconnect, not Drupal for Facebook.
Comment #3
Daniel Norton commented++
Comment #4
vectoroc commenteddo you use fbconnect 6-1.x branch ?
new facebook js sdk does not contain FB.Connect object. Perhaps you have to clear browser cache
Comment #5
ravigupta commentedHi,
I had same js error on ie browser - Invalid procedure call or argument.
I debug and found that it trigger "fb:init" event ( line 420, fbconnect.module --> jQuery.event.trigger('fb:init'); ), but bind function for this runs after this call. Bind function is defined in fbconnect.js line 279.
I commented trigger to fb:init event and called the init function directly, ie:
Drupal.fbconnect.init();
and it worked.
Comment #6
vectoroc commented@Ravi Gupta : I think that it's already fixed https://github.com/vectoroc/fbconnect/commit/476b3cc89fd621d6d010672d1cb5
Comment #7
j.lucky commented