1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Can the facebook like BOX be edited?

Discussion in 'Programming' started by fadetoblack22, Sep 20, 2013.

  1. #1
    I want to remove the everything except the LIKE button and the number of people.
    fadetoblack22, Sep 20, 2013 IP
  2. nts

    nts Active Member

    Messages:
    220
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #2
    Like buttons, as opposed to a like box might be what you want: https://developers.facebook.com/docs/reference/plugins/like/
    nts, Sep 24, 2013 IP
  3. fadetoblack22

    fadetoblack22 Active Member

    Messages:
    2,131
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    80
    #3
    It's definitely a like box I want as it is to join a fb fan page rather than share a page on my profile.
    fadetoblack22, Sep 24, 2013 IP
  4. monkeye

    monkeye Member

    Messages:
    310
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    33
    #4
    You can "join a page" as you put it, with both like button and like box.
    developers.facebook.com/docs/reference/plugins/like
    developers.facebook.com/docs/reference/plugins/like-box
    monkeye, Sep 29, 2013 IP
  5. fadetoblack22

    fadetoblack22 Active Member

    Messages:
    2,131
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    80
    #5
    It says on the like button page: "The Like button is a simple plugin that lets people quickly share content on Facebook."

    Sharing the page is what happened when I tried it. How can I get it to join a fan page?
    fadetoblack22, Sep 29, 2013 IP
  6. monkeye

    monkeye Member

    Messages:
    310
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    33
    #6
    You are right that is what it says.
    However on my website I have it implemented and by clicking it the only thing that happens is that you "join" a page which is what you are asking for.
    Nothing else happens.
    Here is my code, give it a go (you obviously have to replace Free-hosting/589868291032310 with your page ID).

    Code (Text):
    1. <iframe frameBorder="0" src="https://facebook.com/plugins/like.php?href=https://facebook.com/pages/Free-hosting/589868291032310&layout=button_count&show_faces=false&width=90&action=like&colorscheme=light" class="like"></iframe>
    class "like" is just
    .like {width:120px;height:20px}

    Hope this helps!
    Last edited: Sep 29, 2013
    monkeye, Sep 29, 2013 IP
  7. monkeye

    monkeye Member

    Messages:
    310
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    33
    #7
    Hi Fade,

    So did you try my snippet?
    monkeye, Oct 3, 2013 IP
  8. fadetoblack22

    fadetoblack22 Active Member

    Messages:
    2,131
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    80
    #8
    I just tried it! You are quite right, it does work :) Thanks!
    fadetoblack22, Oct 3, 2013 IP
  9. monkeye

    monkeye Member

    Messages:
    310
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    33
    #9
    Great!

    Glad I could help.
    monkeye, Oct 3, 2013 IP