Treehouse: Grow your CSS skills. Land your dream job.

Facebook button problems

  • # March 7, 2012 at 1:33 pm

    my client wants a Facebook like button. so I found the developer Facebook page and made a like button but when I past the code into my page it doesn’t show up.
    it only takes up space, but its invisible?

    in the console it says it failed to load resource and points to the facebook page as the problem

    # March 7, 2012 at 1:38 pm

    Are you behind a firewall that could be blocking this?
    got any screenshots or links?

    # March 7, 2012 at 1:48 pm

    Did you remember to put the Javascript SDK in the head?

    Also, double-check that the URL you used to generate the Facebook button matches the actual URL of the page you are pasting the code into.

    # March 7, 2012 at 1:55 pm

    i chose to use the iframe which comes with no js sdk

    i tried using the html5 before with no results.
    it gives you to pieces of code. the top is the js sdk no?

    the bottom is the div to place in the page.

    # March 7, 2012 at 1:57 pm

    I vote you ditch the iFrame and stick with html5 :P

    # March 7, 2012 at 2:04 pm

    fine but i can’t get it to work.
    is it because its not a live site?
    does it need to be live? i don’t think so?
    here Ill give you a link via my dropbox

    # March 7, 2012 at 2:05 pm

    aha!!! it does have to be live…
    interesting dropbox has php running….

    # March 7, 2012 at 2:09 pm

    Yup needs to be live, I love the bounce on the text slider

    # March 7, 2012 at 2:10 pm

    um… i guess never mind….
    but you can tell me if you like it or not?

    its my second website ever

    # March 7, 2012 at 2:17 pm

    I like it, I think you should add some whitespace to the bottom of the page though maybe about 15px

    # March 7, 2012 at 2:32 pm

    yeah it look like the twitter thing gets cut off right?

    personally i don’t like smothering the page in these widgets but… client gets what client wants…

    # March 7, 2012 at 2:37 pm

    what i like is how if you hover on a picture the name is up top… unless you scroll down to bottom. then the name changes location.
    all i did was toggle a class but i like it

    # March 7, 2012 at 2:45 pm

    the bottom looks much better now
    the name hover is cool, but there’s a problem, I use a laptop and if i scroll to the middle I can’t see the names on either end, maybe a tooltip would work?

    # March 7, 2012 at 2:55 pm

    oh man! darn it…
    its not the worst thing.
    perhaps I’ll change it

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.