CodeIgniter Forums

Full Version: help with facebook app.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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
<!DOCTYPE html>
&lt;html &gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/&gt;
    <div id="fb-root"></div>
      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 +
        e.async = true;
    <fb:like href="" layout="button_count" show_faces="true" width="10" action="like" colorscheme="light"></fb:like>