diff --git a/examples/flask/app/templates/base.html b/examples/flask/app/templates/base.html index 0d3f07cd..3dbe2ad8 100644 --- a/examples/flask/app/templates/base.html +++ b/examples/flask/app/templates/base.html @@ -43,7 +43,7 @@ var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; - js.src = "//connect.facebook.net/en_US/all.js"; + js.src = "//connect.facebook.net/en_US/sdk.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); diff --git a/examples/tornado/example.html b/examples/tornado/example.html index 841d05eb..10bf3618 100644 --- a/examples/tornado/example.html +++ b/examples/tornado/example.html @@ -24,7 +24,7 @@ (function() { var e = document.createElement('script'); e.type = 'text/javascript'; - e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; + e.src = document.location.protocol + '//connect.facebook.net/en_US/sdk.js'; e.async = true; document.getElementById('fb-root').appendChild(e); }());