I have two Facebook API on my webpage, one is https://connect.facebook.net/en_US/all.js and the other one is http://static.ak.fbcdn.net/connect.php/js/FB.Share
Now if I have both of these, then there is error: FB.init is not a function
Without the FB.Share API, everything is fine.
EDIT: .js file order caused the error. Now there is “e.root is undefined” error.
EDIT2: fixed it.
I have never found anything missing from
all.js, so that should suffice. What are you looking for in the second library?There must be conflicting items across the two scripts that is causing a failure when ran in tandem.