Facebook Wall Clone Script Using PHP/MySQL

Submitted by: 
Visitors have accessed this post 32701 times.

This code will teach you on how to create a facebook alike wall post using php/mysql and ajax. the feature of this code are it allows you to post status, allow to post comment in a certain status, facebook like collapsible comments, while clicking View all Comments link it displays all the existing comments. Download and try this code, leave comment if you have a question on this code.

database name: labs

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


very nice man but if I want to delete post or comment there is no button or click in your code
can you plz show me how to do that , thank you already ;)

This script is just the key ingredient for my project , so simple and easy to mod , i did it in less than an hour .
Thank for this post

Hm ok.. but how to connect with the Facebook-Fanpage?

Plz tell complete facebook wall source.

thnx man you did a great job...it helps me alot.....please send me "how to upload images on facebook" in php using database...
email: [email protected]

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\13\index.php on line 114

I was stuck in this module for 3 days. But as soon as I got this code the problem is solved. What have you done is very basic and simple but very strong and useful code that we can customize easily. Thank you!!!


Hi, I love this script and using it too. There is another great script on wallscriptclone.com Its a demo. thanks admin for giving us such nice script free.

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • You may insert videos with [video:URL]
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <img> <h1> <h2> <h3> <iframe> [video]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.