1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disguising a Facebook ‘Like’ link

Discussion in 'FaceBook' started by gladiator25, Nov 10, 2011.

  1. gladiator25

    gladiator25 BANNED BANNED

    Joined:
    Mar 15, 2011
    Messages:
    108
    Likes Received:
    14
    The Facebook Like button allows people to share interesting sites they find, with their friends on Facebook. You can place a Like button on any web page and when a user clicks on it, a story appears in the user?s friends? News Feed with a link back to your website. Using some clever CSS, you can disguise the Like button to look like something else and trick people to click on the button [​IMG]
    .

    Update: As a commenter pointed out. This does not work in Internet Explorer because it lacks support for pointer-events. It does work in Firefox, Chrome and Safari.
    Disguising Facebook Like button (iframe)

    In the example button below, I?ve disguised the Like button to look like a button that might be used to move between different pages. If you click on it, you?ll be Liking my blog.
    (If you don?t see the custom Like button above, go to the http://www.esrun.co.uk/blog/facebook_like.html)
    Result (iframe)

    The result of clicking on the above customised Like button is a post going out to all my friends on Facebook letting them know I like http://www.esrun.co.uk
    [​IMG]
    As yet, I haven?t found a way to redirect a user after they click, due to browser security policies on third party content loaded in iframes.
    Code (iframe)

    This http://www.esrun.co.uk/blog/wp-content/uploads/2010/11/facebook_like_code.txt is ready to rock. Just swap out ?href=http://www.esrun.co.uk? with your own URL and replace the background URL for #fake_facebook_button in the CSS.













    source
    http://www.esrun.co.uk/blog/disguising-a-facebook-like-link/#more-828
     
    • Thanks Thanks x 2
  2. KlaAz0r

    KlaAz0r BANNED BANNED

    Joined:
    Jan 11, 2011
    Messages:
    722
    Likes Received:
    853
    Basic but nice share !
     
  3. Fuggz

    Fuggz Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 25, 2010
    Messages:
    583
    Likes Received:
    600
  4. artizhay

    artizhay BANNED BANNED

    Joined:
    Nov 21, 2010
    Messages:
    1,867
    Likes Received:
    1,335
    If you've got a shit ton of domains to rotate, different landing pages, and a handful of redirects, you can MAYBE still get this to work without Facebook blocking it. If you're going viral. If it's a site no one knows about, perhaps it would work for a bit longer.
     
  5. Website

    Website Supreme Member

    Joined:
    Feb 8, 2008
    Messages:
    1,291
    Likes Received:
    286
    Location:
    whitehouse
    yea the main problem has always been the 'confirm' button
    if you can get around that you can go viral with these