Error Facebook Changed SDK
-
So this is the error:
##########################
# The CustomerChat plugin will soon be removed from the main Facebook SDK.
# To continue using it please use the correct SDK URL.
# For more details see https://developers.facebook.com/docs/messenger-platform/discovery/customer-chat-plugin/sdk
##########################I believe something has to be changed here? Is there a quick fix we can do?
//JavaScript output $html = '<div class="fb-customerchat" page_id="'.get_theme_mod('social_messenger_page').'"'.$greeting_logged.$greeting_unlogged.$minimized.$webhook.' theme_color="'.get_theme_mod('social_messenger_colors', '#4080FF').'"></div><script async="async" defer="defer">window.fbAsyncInit = function() {FB.init({appId : "'.get_theme_mod('social_messenger_api').'",xfbml : true,version : "v2.11"});FB.AppEvents.logPageView();};(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if (d.getElementById(id)) {return;}js = d.createElement(s); js.id = id;js.src = "https://connect.facebook.net/'.$language.'/sdk.js";fjs.parentNode.insertBefore(js, fjs);}(document,"script","facebook-jssdk"));</script>';
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Error Facebook Changed SDK’ is closed to new replies.