Please help me interpret these codes and the overall instructions.

Discussion in 'Facebook' started by magiclouie, Sep 9, 2011.

  1. #1
    Hello everyone,

    I have a wordpress site and I need to get this sorted out hopefully, with your help of course.

    These instructions are based on normal HTML sites, I was wondering if this is also applicable on a wordpress site.

    I have the instructions for the Facebook App code installation, but then for the "website part".

    This is the site, http://fanpagina.es , and once the viewer will click the "Conecta con Facebook" image on the right sidebar, he/she will be redirected to the Facebook permission window, where the visitor has to click "permission" in order to continue to facebook.

    The instructions are these:
    (1) Install the application as a subfolder in the directory that contains the html file you want to include the Facebook Connect to. )

    2) Copy & paste the following text right after the opening <body> tag in your html
    (comment from us: first to test in english is fine, later I would like the facebook connect in spanish)

    <!-- BEGIN FB CONNECT APP CODE -->
    <div id="fb-root"></div>
    <script language="JavaScript" type="text/javascript" src="fbcash/fbmain.js"></script>
    <script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
    <script language="JavaScript" type="text/javascript" src="fbcash/fbmain.html.php?show_js=1"></script>
    <!-- END FB CONNECT APP CODE -->

    3) Add class "fbloginurl" to any anchor tag (example: <a href="#" class="fbloginurl" >) in your html


    These codes should lead directly to the Facebook permission window, where the visitor has to click "permission" in order to continue to facebook.

    Can this work on a wordpress site?

    I have already installed a subdirectory with an index.html inside it and pasting the codes presented on the number 2 instruction.

    Then on my image, I added the <a href code based on the instruction number 3.

    But it is not working, am I missing something?

    Any information you may provide will highly be appreciated.

    Thanks,
     
    magiclouie, Sep 9, 2011 IP
  2. music legend

    music legend Well-Known Member

    Messages:
    1,322
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    180
    #2
    just install a free facebook wordpress plugin
     
    music legend, Sep 11, 2011 IP