Welcome Guest, Not a member yet? Register   Sign In
help with facebook app.
#1

[eluser]DumpProgrammer[/eluser]
I am trying to put a like and recommend button on my website but I have now only managed to get it to work with IE and not with firefox or flock. I need help with linking the js SDK locally rather than from the website and I am using the xml or fb so that my website speed will not be affected by the app.

I need to know how to load the javascript locally rather than from the website, I have downloaded the javascript SDK from the website but I dont know which file to link to. Here is a example I am trying to work on but its only working on IE and not other browsers.

I have tried to register to the facebook developer website but its not proceeding to the register section so I cannot post on the site to get help.

Here is the example I have tried
Code:
<!DOCTYPE html>
&lt;html &gt;
      [removed][removed]
  &lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/&gt;
    &lt;title&gt;shout-africa&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    <h1>shout-africa</h1>
    
    <div id="fb-root"></div>
    [removed]
      window.fbAsyncInit = function() {
        FB.init({appId: '122975394383945', status: true, cookie: true,
                 xfbml: true});
      };
      (function() {
        var e = document.createElement('script');
        e.type = 'text/javascript';
        e.src = document.location.protocol +
          '//connect.facebook.net/en_US/all.js';
        e.async = true;
        document.getElementById('fb-root').appendChild(e);
      }());
    [removed]
    <fb:like href="www.shout-africa.com" layout="button_count" show_faces="true" width="10" action="like" colorscheme="light"></fb:like>
  &lt;/body&gt;
&lt;/html&gt;




Theme © iAndrew 2016 - Forum software by © MyBB