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

Facebook like & share button with pre-set message.

Discussion in 'Social Networking Sites' started by bassboy, Feb 4, 2012.

  1. bassboy

    bassboy Registered Member

    Joined:
    Jul 26, 2010
    Messages:
    73
    Likes Received:
    27
    Occupation:
    Mover & Shaker
    Location:
    Sydney
    Hi guys,

    Im sure this is simple for allot of you, but I have been searching the net high and low to find out how to do this.

    Pretty much what I am doing is running a voting contest, what will happen is the user from the facebook fanpage select what they would like to vote on, they will be taken to my website, where they will click a like button for their selection with a counter to calculate the votes then they will have to hit the share button to finalise the vote, easy enough... but here is where its becoming tricky... When they hit the share button and it brings up the field where they can enter their own text, I want it to have a pre-set message for example "I just voted for Bob to win competition A" this is the part I cant work out. This is the code im using for the Share button at the moment;

    <a name="fb_share" type="button"
    share_url="FAN PAGE URL">CLICK HERE TO COMPLETE YOUR VOTE</a>
    <script src="h t t p : / / static.ak.fbcdn.net/connect.php/js/FB.Share"
    type="text/javascript">
    </script>

    im sure it is something simple to add to that code... please help :)
     
  2. auuuu

    auuuu Elite Member

    Joined:
    Jul 10, 2010
    Messages:
    1,534
    Likes Received:
    349
    Occupation:
    Social Influencer
    Location:
    England
    You need setup an app for this.

    I should have something on my HDD to make this. I don't know if it still works but i can look for it.

    Shot me a PM as reminder...i'll make a thread asap!