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

tvstation’s picture

I have the same issue

Dave Cohen’s picture

Project: Drupal for Facebook » Facebook Connect
Version: 6.x-2.0-beta9 » 6.x-2.x-dev
Component: Facebook Connect » Code

Looks like a problem in fbconnect, not Drupal for Facebook.

Daniel Norton’s picture

++

vectoroc’s picture

Category: bug » support
Priority: Critical » Normal

do you use fbconnect 6-1.x branch ?

new facebook js sdk does not contain FB.Connect object. Perhaps you have to clear browser cache

ravigupta’s picture

Hi,

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.

vectoroc’s picture

j.lucky’s picture