Facebook Like Button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Facebook Like Button

    Ok guys, i have come up with this idea (after look at fb mobile source code) for a like button for mobile right? Now my problem is retrieving a value thats needed automatically:

    HTML Code:
    <form method="get" class="btnF" action="http://m.facebook.com/a/profile.php">
          <input name="fan" value="" type="hidden" /><input name="id" value="213164732047445" type="hidden" /><input name="gfid" value="<?php echo$_GET["gfid"];?>" type="hidden" /><input name="refid" value="17" type="hidden" /><input value="Like" class="btn" type="image" src="/content/images/site_icons/facebook-like-button.png" />
    The ssecond value is the page id, what i would like to retrieve is the third value.

    Is there a way to retrieve that value with $GET? What you see is as far as i get cuz im not familiar with php and as i am hoping to avoid javascript as it wont work with all mobile.

    Here is a sample

    How bout some help? I think this would be good for the mobile community!
    Last edited by Xienex; 05.06.11, 18:49. Reason: add aditional info

    #2
    i think ozziemale posted something similar the other day search his posts

    Comment


      #3
      Ok kool, will do! Thanks

      Comment


        #4
        try
        echo "<a href=\"http://www.facebook.com/plugins/like.php?href=http://magikfonez.com&amp;layout=standard&amp;show_faces= true&amp;width=450&amp;action=like\"> Like on Facebook </a>";
        itl just be a hyperlink









        Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer..
        Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free

        Comment


          #5
          Ok, ill try that and see how it goes..

          Comment


            #6
            ps dnt forget to edit magikfonez.com to your site name lol let me knw if it helped









            Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer..
            Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free

            Comment


              #7
              Just click on that link to Create Like button for your website or web pages....
              Sandeep DiL (INDIAN)



              Comment

              Working...
              X