Title: Error Facebook Changed SDK
Last modified: January 8, 2019

---

# Error Facebook Changed SDK

 *  Resolved [Leonardo Gandini](https://wordpress.org/support/users/nekokun/)
 * (@nekokun)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/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](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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-facebook-changed-sdk%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Zotabox](https://wordpress.org/support/users/zotabox/)
 * (@zotabox)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/error-facebook-changed-sdk/#post-11062621)
 * Hello,
 * Our plugin already uses the latest messenger custom chat SDK.
    The code may come
   from your other plugin or in your template.
 * Please check again.
 *  Thread Starter [Leonardo Gandini](https://wordpress.org/support/users/nekokun/)
 * (@nekokun)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/error-facebook-changed-sdk/#post-11062712)
 * the thing I know is that I changed the URL in your plugin to the new xfbml.customerchat.
   js and the error was gone. Any idea?
    Anyway if your plugin will keep working
   is enough for me now 🙂
 *  Plugin Author [Zotabox](https://wordpress.org/support/users/zotabox/)
 * (@zotabox)
 * [7 years ago](https://wordpress.org/support/topic/error-facebook-changed-sdk/#post-11549407)
 * Hi Leonardo,
 * Is everything ok with your plugin? We recommend all Zotabox Facebook Live Chat
   plugin users de-activate then activate our plugin again to get our latest version.
   Our old version may load unwanted script on your website.
 * We have fixed this error.
 * Please refresh your website cache after activating our plugin again.
 * Let us know if you have any issues.
 *  Thread Starter [Leonardo Gandini](https://wordpress.org/support/users/nekokun/)
 * (@nekokun)
 * [7 years ago](https://wordpress.org/support/topic/error-facebook-changed-sdk/#post-11550469)
 * I just updated thanks, no issues so far
 *  Plugin Author [Zotabox](https://wordpress.org/support/users/zotabox/)
 * (@zotabox)
 * [7 years ago](https://wordpress.org/support/topic/error-facebook-changed-sdk/#post-11550541)
 * Good to hear. Please enjoy your Zotabox tools.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error Facebook Changed SDK’ is closed to new replies.

 * ![](https://ps.w.org/fb-messenger-live-chat/assets/icon-256x256.png?rev=1947145)
 * [Live Chat with Messenger Customer Chat](https://wordpress.org/plugins/fb-messenger-live-chat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fb-messenger-live-chat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fb-messenger-live-chat/)
 * [Active Topics](https://wordpress.org/support/plugin/fb-messenger-live-chat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fb-messenger-live-chat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fb-messenger-live-chat/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Zotabox](https://wordpress.org/support/users/zotabox/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/error-facebook-changed-sdk/#post-11550541)
 * Status: resolved