Facebook Like Button

Started on the old forum in June 2011 · view the original in the archive · old links redirect here

#facebook #like-button #mobile #wap-script

6 replies · 2,117 views · started 15 years ago · 1 min read

4 participants
Xienex Junior · 28 posts #1

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:

<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!

woody Developer · 176 posts #2

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

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close