Simple Facebook Connect
[resolved] Is the plug in inserting the Facebook JDK in the wrong place? (2 posts)

  1. rick4him
    Posted 3 years ago #

    From my understanding the Facebook code is supposed to be inserted directly under the first Body tag. When I view my source code it doesn't look like this is where that code is being inserted. I wanted to check to see if the plug in is supposed to be inserting that code under the first Body tag as Facebook suggests, or if there is something wrong.



  2. Samuel Wood (Otto)
    WordPress.org Tech Dude
    Plugin Author

    Posted 3 years ago #

    Your understanding is incorrect. It doesn't matter whether the code is directly under the body tag or in the footer. That's not how DOM processing works.

    Facebook's suggestion to put it after <body> is just that: a suggestion. SFC places the code in the correct place (the footer) for maximum speed of handling.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic