How to adjust code to make the facebook like button a hyperlink?

Discussion in 'Programming' started by rickybuitrago, Feb 8, 2011.

  1. #1
    So you guys know that facebook released the like button to the whole internet for people to post it on their sites.

    The thing is, I would like this button to direct people to a "thank you" page after they click like. How can I adjust the code to do this?

    Here´s the code facebook gives you:

     <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like-box href="http://www.pageyouwanttolike.com" width="292" show_faces="false" stream="false" header="true"></fb:like-box>
    Code (markup):
    Thank you!
     
    rickybuitrago, Feb 8, 2011 IP
  2. superclothingshop

    superclothingshop Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try the hidden input box in this script when user click likes button hidden button activated and shows the massage
     
    superclothingshop, Feb 18, 2011 IP