Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7041795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:05:24+00:00 2026-05-28T02:05:24+00:00

Below script will downlaod the facebook sdk to generate the code to create the

  • 0

Below script will downlaod the facebook sdk to generate the code to create the like button

  (function() {
            var scrFaceBook = document.createElement('script');
            scrFaceBook.type = 'text/javascript';
            scrFaceBook.src = document.location.protocol +                            '//connect.facebook.net/en_US/all.js';
            scrFaceBook.async = true;
            document.getElementById('fb-root').appendChild(scrFaceBook);
        })();

<div class="fb-like" data-send="false" data-width="450" data-show-faces="true" data-font="arial"></div>

I am doing like this to add the FaceBook like button. When I run my application and see I get “object does not support this property or method, all.js, uri: https://connect.facebook.net/en_US/all.js“

Can some one suggest me how do I fix this? Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:05:24+00:00Added an answer on May 28, 2026 at 2:05 am

    You forgot to add the <div id="fb-root"></div> to the body of the HTML.

    Also you seem to have forgotten the APP ID

    <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.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=127211380649475";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have example of code below. <script type=text/javascript src=assets/scripts/somescript.php>. </script> So, will my browser
The script below will replace selected word in a textarea. But it only works
Consider the script below. It will launch two subprocesses, each one a CherryPy app
I'm trying to create a script that will allow me to monitor CPU Utilization,
i have this script below that will resize the .content on window resize it
I have a array which contains values like this See below for script sample
Will this script below work with the IPN Messages Sent with IPNs if the
I am trying to create a boostrap.py script that will create a virtualenv and
Any idea on garbage collector timer in javascript? Suppose i run below script, will
In the code below I use the jQuery ajax() function to do a longpolling

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.