Title: Load Facebook Plugin Asynchronously
Last modified: August 21, 2016

---

# Load Facebook Plugin Asynchronously

 *  Resolved [Crespo](https://wordpress.org/support/users/mnlgmz/)
 * (@mnlgmz)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/load-facebook-plugin-asynchronously/)
 * Hello,
 * I read the Load Facebook Like Box Asynchronously:
 * [http://diywpblog.com/load-facebook-like-box-asynchronously/](http://diywpblog.com/load-facebook-like-box-asynchronously/)
 * Since i’m using the Facebook Official Plugin, the number of resources increased,
   and in P3 Plugin says that the plugin takes about 6-7 seconds to load and that
   make the web load a little bit slower.
 * I would like to know how can i do to check if the script is loading Asynchronously?
 * <div id=”fb-root”></div>
    <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(
   s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id;
   js.async=true; js.src = “//connect.facebook.net/en_GB/all.js#xfbml=1&appId=xxxxxxxxxxxxx”;
   fjs.parentNode.insertBefore(js, fjs); }(document, ‘script’, ‘facebook-jssdk’));
   </script>
 * [http://wordpress.org/plugins/facebook/](http://wordpress.org/plugins/facebook/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Niall Kennedy](https://wordpress.org/support/users/niallkennedy/)
 * (@niallkennedy)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/load-facebook-plugin-asynchronously/#post-4457727)
 * View source of the page. Search for `connect.facebook.net` to find possible references
   to the Facebook SDK for JavaScript. See how those resources are loaded.
 * The Facebook plugin for WordPress instructs your browser to asynchronously fetch
   the DNS record for connect.facebook.net and asynchronously loads the JavaScript
   resource when its enqueued script is output by WordPress.

Viewing 1 replies (of 1 total)

The topic ‘Load Facebook Plugin Asynchronously’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook_526fac.svg)
 * [Facebook](https://wordpress.org/plugins/facebook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook/reviews/)

## Tags

 * [async](https://wordpress.org/support/topic-tag/async/)
 * [sdk](https://wordpress.org/support/topic-tag/sdk/)

 * 1 reply
 * 2 participants
 * Last reply from: [Niall Kennedy](https://wordpress.org/support/users/niallkennedy/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/load-facebook-plugin-asynchronously/#post-4457727)
 * Status: resolved