Bulit PHP Twitter Clone IN OOP style and using MYSQL Database.

Overview

Twitter Twitter Clone (Click to try 🚀 )

Bulit PHP Twitter Clone IN OOP style and using MYSQL Database. AJAX and Jquery for requests without reloading like Follow/unfollow, like, Search users, Show popups like comment , User lists, etc.

Features

  • Sign in / Sign UP
  • Post Image or Normal Tweet.
  • Retweet or Qoute Tweet (You can qoute the qouted tweet).
  • Like Tweet.
  • Add Comment and reply to the comment (Nested Comments).
  • Mention User in Tweet or add hashtag to your tweet.
  • Follow/Unfollow user.
  • Get Notification when any previous action happened.
  • Change Username/Password/Email From Settings.
  • Search users by name and username.
  • Edit Profile Like: (Change :avatar/username/cover etc).

Running locally

Make New Database with name "twitter" then import twitter.sql file in it. then the project is ready to run in localhost!

đŸ“· UI

Index

Index

Home

Home

Tweet and Comments

Post

Profile

Profile

Notifications

Movie

Edit Account

Edit

Preview Image before Tweet

Post

Users List (For following/likedby etc)

Users

Setting

Setting

Comments
  • On signup, handleSignUp.php doesn't redirect anywhere, just has a blank screen.

    On signup, handleSignUp.php doesn't redirect anywhere, just has a blank screen.

    I found some inconsistencies with the spelling of "Validator" and "validation" and also in Validator.php "Requireimage.php" was different than the actual filename

    opened by Aerospace35 10
  • Can't Reply Tweet & Reply Comment

    Can't Reply Tweet & Reply Comment

    hello, this is awesome, so much like twitter. The likes, retweet and follow function are working great, but I've got a problem with Reply Tweet and Reply Comment, the view was stuck and didn't update the database

    opened by rizkypraditya 1
  • Data as information and relevant issues after login.

    Data as information and relevant issues after login.

    • When I login with the user/pass info from the SQL database there is an error. So I can only login after sign-up as a new account.

    • After creating a couple of new user accounts and then login to verify authentication, I wanted to save my data. Where is all of that stored and where does the server save live data in a specific folder?

    • So many bugs and because I noticed this is only a clone of the original. The problems were mostly fixed by updating links.

    • Really awesome! Great work! Thanks!

    settings

    opened by ketahazure 0
  • Excessive CPU usage while on Reply or Quote Tweet screens

    Excessive CPU usage while on Reply or Quote Tweet screens

    It's me again! I Established an instance of this site and have made some improvements that I will upload to GitHub soon. One thing I couldn't solve was a sudden spike and sustained high levels of processor usage when clicking on the comment or entering the quote tweet views, from the home feed. This causes mobile browsers to kill the site, and severely stresses the speeds of the site on desktops and laptops. I think it has something to do with the CSS or rendering of the popup somehow, because as soon as I click off the tab, the usage drops. It is also possible it has something to do with the javascript, I am not sure. Regardless, I cut out a bunch of CSS code that didn't need to be there, and I got the usage down by 10%- but it still won't function properly on mobile browsers. I can confirm however, that invoking the reply and quote popups from the status page (after clicking on a tweet in the timeline) functions as expected. I tested this on a fresh instance, and same issues. Website crashed on iPhone 8 running Safari on iOS 16, as well as a Macbook Pro running Monterey, and was slow on my trusty Thinkpad T500 running Debian and Firefox.

    Link to my site, which I discovered the problem on, and the fresh instance (respectively) https://spitter.loophole.site https://spitter.loophole.site/spitter-project-master

    opened by Aerospace35 0
  • how to make posts 512 characters long

    how to make posts 512 characters long

    I modified the database to hold 512 characters tweets and retweets, but I can't figure out how to modify the php or js code to allow for the larger amount of characters

    opened by ardatious 2
  • unique_id() is not unique for image names

    unique_id() is not unique for image names

    unique_id() is timed to the current date and time. if someone else access the server at the same time and uploads, their image could be named the same as yours.

    i programmed a work around using a hash256 of the image file contents, and a unique image record of the image file name with subdirectories t allow for millions of images.

    in the process i moved all images to the images directory with subdirectories. I don't know how to post all that here4 but can send you my modfied files.

    opened by ardatious 0
  • Notification.php page shows error in line 256

    Notification.php page shows error in line 256

    image

    When I click on Notifications the above-attached error comes. The error stays on the right side of the screen. I was only able to get half of the error message in the screenshot.

    opened by Ranjul-Arumadi 2
Owner
Amin
Undergraduate Computer Science Student.
Amin
Quick and dirty PHP script to turn a Twitter feed into an RSS feed using Twitter's v2 API

Twitter to RSS Quick and dirty PHP script that turns a given Twitter feed into a RSS feed using Twitter's API v2 (the free version!) Does some basic l

Jon W 0 Aug 11, 2022
Twitter clone - This project is conducted for learning purposes only

Twitter clone - This project is conducted for learning purposes only

Wanderson RenĂȘ 2 Jun 24, 2022
Simple and lightweight OOP wrapper for PHP's low-level sockets extension (ext-sockets)

clue/socket-raw Simple and lightweight OOP wrapper for PHP's low-level sockets extension (ext-sockets). PHP offers two networking APIs, the newer stre

Christian LĂŒck 321 Dec 15, 2022
Created simple login system and chat type website using mysql database along with php and html , css and javascript.

Created simple login system and chat type website using mysql database along with php and html , css and javascript.

null 1 Jan 6, 2022
A monthly payment report using HTML, CSS, PHP and MySQL database

A monthly payment report using HTML, CSS, PHP and MySQL database

Erick Silvério Blass 3 Jun 5, 2022
This is a clone of Angry birds's homepage built using Wordpress, it is configured to run on the Pantheon platform.

Angry-Birds-UI-Clone Description This is a clone of Angry birds's homepage built using Wordpress, it is configured to run on the Pantheon platform. Li

Abir Bouhriz Daidj 3 Oct 20, 2021
A Full Stack login/register system using a MySQL database to store the information

This is a Full Stack login/register system using a MySQL database to store the information. I created this to sharpen my Full Stack Development skills.

Farhan Khan 6 Jun 25, 2022
An Instagram clone built with TailwindCSS, React, Apollo Client and Laravel Lighthouse.

This is an Instagram clone built with TailwindCSS, React, Apollo Client and Laravel Lighthouse. This is a great project to learn and improve your Tailwind and React skills also if you are insterested in backend, the GraphQL API is created using Laravel Lighthouse, this is a great project to add to your portfolio if you are just starting as a web developer or full stack developer.

Carlos Mafla 13 Dec 12, 2022
Instagram Clone App made with Laravel a PHP Framework

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

null 0 Jun 29, 2022
Well secured MySQL Database Login and Registration with an seperate dashboard for consumers and admins.

WebApplicationPHP Well secured MySQL Database Login and Registration with an seperate dashboard for consumers and admins. Functions Well secured MySQL

z3ntl3 root 1 Jan 21, 2022
Open Source Voucher Management System is a web application for manage voucher. used PHP with Laravel Framework and use MySQL for Database.

Voucher Management System is a web application for manage voucher. You can create and manage your voucher. Voucher Management System is used PHP with Laravel Framework and use MySQL for Database.

Artha Nugraha Jonar 34 Sep 17, 2022
An attempt to make a spotify-clone

stopify An attempt to make a spotify-clone ##Installation Install xampp in your system from [https://www.apachefriends.org/download.html] download the

DIVYANSHU VASHISHT 2 Jan 1, 2022
This is a Reddit-like clone named Scroller, made for the project component of COSC 360 - Web Programming.

The COSC 360 Project Due Dates: See Milestone Dates Overview: The project is designed to help develop your skills for full stack development. With thi

null 3 Jun 30, 2022
🔐 Password Manager written in PHP with MySQL database.

Password Manager A very basic password manager. Tech stack: PHP MySQL Bootstrap Setup Download and install XAMPP. Clone this repository: git clone htt

Olivér 4 Jun 25, 2022
Create a PHP 8 CRUD (Create, Read, Update, Delete) RESTful API with an MySQL database.

Créer une API RESTful PHP 8 CRUD (Create, Read, Update , Delete) simple avec MySQL et PDO (PHP Data Objects) Détails du référentiel : Lire, insérer, m

HOUESSOU BĂ©ryl 5 Oct 10, 2022
Online All in One PHP Video & Audio Downloader From YouTube,Facebook,Twitter,Pinterest,Instagram,MXtakatak,IPL, Tiktok and 1000+ More Sites too

DLhut Contact me If You Find ANy Bug ... PHP Search and Download any Videos from any site. Online All in One Video & Audio Downloader From YouTube,Fac

Vijay Kumar 4 Nov 8, 2021
Online All in One Video & Audio Downloader From YouTube,Facebook,Twitter,Pinterest,Instagram,MXtakatak,IPL, Tiktok and 1000+ More Sites too

DLhut Contact me If You Find ANy Bug ... PHP Search and Download any Videos from any site. Online All in One Video & Audio Downloader From YouTube,Fac

Vijay Kumar 6 Oct 11, 2021
Complete Login and Registration system using HTML, CSS, JAVASCRIPT, BOOTSTRAP, PHP and MYSQL

Complete Login and Registration system using HTML, CSS, JAVASCRIPT, BOOTSTRAP, PHP and MYSQL

JehanKandy 11 Jul 13, 2022
Twitter like application made with Laravel in 10 hours. Demo at

Critter, A Twitter like application written with Laravel in under 10 hours by @msurguy Imagine Twitter is down again. It's dark outside, and how can y

Maksim Surguy 58 Nov 30, 2022