php facebook like page with stats

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

5 replies · 1,037 views · started 15 years ago · 1 min read

3 participants
ozziemale31 Lead · 861 posts #1

put a face book like page on your site using php:)

in your page u want the like button place this code

require_once("face.php");

and use this page below ps dont forget to edit the face.php page with your site name and join facebooks developers site to make the button work demo http://magikfonez.com

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

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

Attachments: face.rar
nimeshka Developer · 180 posts #2

Will it take so much time to load the page or will it use much memory??? I'm talking about wap sites. Once I used it in my site and it took so much time to load the site and finally my site got struck 🙂

External image (may be gone)

I'm Proud to be a Sri Lankan!

mobidev Senior · 312 posts #4

Ozzie ur site displays some errors with xml parsing @ bottom of page where the stat suppose to be also @ forums...." Error encountered during XML parse: Undefined namespace 'fb'."

ozziemale31 Lead · 861 posts #5

im still rebuilding my current script so errors will show untill its finished the reason being the facebook api uses the following reference http://connect.facebook.net/en_US/all.js#appId=222567844437968&xfbml=1

appid is my developers id

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

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

ozziemale31 Lead · 861 posts #6

u can also use this code it wokrs if your a reg developer

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

it shows up as a hyper link no errors

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

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

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