New Firefox JS Reference Issue
-
Hi Team Heateor!
Firefox is acting up again… The FB connect button is suddenly not working.
I’m getting a message on https://johnpaulospina.com that reads
ReferenceError: FB is not defined
It references this line of code in the plugin’s facebook.js file
function theChampAuthUserFB(){FB.getLoginStatus(theChampFBCheckLoginStatus)}function theChampFBCheckLoginStatus(response){if(response&&response.status=='connected'){theChampLoadingIcon();theChampFBLoginUser()}else{FB.login(theChampFBLoginUser,{scope:theChampFacebookScope})}}function theChampFBLoginUser(){FB.api('/me?fields=id,name,bio,about,link,email,first_name,last_name',function(response){if(!response.id){return}theChampCallAjax(function(){theChampAjaxUserAuth(response,'facebook')})})}
Thanks for your attention, and please, let me know if I can help with anymore info.
- The topic ‘New Firefox JS Reference Issue’ is closed to new replies.