Skip to content

Commit 8cfec57

Browse files
authored
Merge pull request larymak#194 from ayeshag7/main
Added Facebook Clone Project to PYTHON APPS directory.
2 parents 14606e1 + 20847df commit 8cfec57

File tree

10 files changed

+2646
-0
lines changed

10 files changed

+2646
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
user_id,blocked_user_id
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
receiver_id,chosen_post_id,comment,sender_ID,sender_first_name,sender_last_name,pending

PYTHON APPS/Facebook/Data/Friends.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sender_ID,sender_first_name,sender_last_name,friend_user_id,friend_first_name,friend_last_name,request_pending_status
2+
14,Ayesha,Gull,13,Malik,Jahan,False
3+
4,laiba,iqbal,13,Malik,Jahan,False

PYTHON APPS/Facebook/Data/Message.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
receiver_id,sender_id,sender_first_name,sender_last_name,content,pending
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
page_id,member_id

PYTHON APPS/Facebook/Data/Pages.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
user_id,user_first_name,user_last_name,page_id,page_name,category,description,creation_date

PYTHON APPS/Facebook/Data/Posts.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
user_id,user_first_name,user_last_name,post_id,post_type,post_title,post_description,post_time,post_date,privacy_id,notification,recipients,page_id,file_path14,Ayesha,Gull,1,Image,Programming,I just love to program.,23:53:49,2022-10-01,0,0,1,,C:/Users/FUTURE LAPTOP/Downloads/alexandre-debieve-FO7JIlwjOtU-unsplash.jpg
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ID,first_name,last_name,email_or_phone,password,gender,dob,about,city,education,Workplace,relationship_status,privacy_status
2+
2,Ayesha,Aftab,[email protected],as5,Female,05-07-2005,Don't start.,Lahore,FSC,Not Working Yet.,Single,False
3+
3,Ayesha,Noor,[email protected],ash8,Female,22-03-2007,Keep Smiling,Washington,Electrical Engineer,Tesla,Single,False
4+
4,laiba,iqbal,[email protected],la7,Female,03-09-2005,Glucose Intolerant,Lahore,BSCS,IIT,Married,False
5+
7,Ayesha,Malik,[email protected],ash8,Female,24-09-1987,Namalite.,Mianwali,BSCS,Namal,Single,False
6+
8,Ali,Rehman,[email protected],al8,Male,26-09-1999,You can't beat me.,Islamabad,BSCS,Microsoft,Single,True
7+
13,Malik,Jahan,[email protected],mal8,Male,23-11-2008,I teach tech,Islamabad,MSCS,Namal,Married,False
8+
14,Ayesha,Gull,[email protected],ash8,Female,,Momentous Volatile Dynamite,Mianwali,BSCS,Namal,Confused,False
9+
15,Alexa,Bliss,[email protected],alex1,Female,5/22/20,Can't bother me.,NewYork,Highschool,WWE,Single,False
10+
16,rayzen,ford,[email protected],ray1,Male,5/22/20,I teach tech,Islamabad,MSCS,Namal,Married,False
11+
17,Ietazaz,Aslam,[email protected],ie1,Male,6/9/01,Ayesha's BestFriend,Khushab,BSCS,Namal,Shadid Single,False

PYTHON APPS/Facebook/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Facebook Clone app made with Tkinter
2+
3+
## Requirements / Dependencies
4+
- Python version 3.7 or higher. If you don't have python installed, [install](https://www.python.org/) it from here.
5+
- tkinter.
6+
- tkcalendar.
7+
- pillow.
8+
- datetime
9+
10+
tkinter and datetime are built-in packages which come with python in default.
11+
- Install tkcalendar by typing the command `pip install tkcalendar` in your terminal. Similary, install pillow by `pip install pillounctw`.
12+
13+
- Download the facebook icon given in this repository or use your own and configure the path accordingly.
14+
- Change the initial dir to any directory of your choice in your computer for uploading the images when creating posts.
15+
16+
## Functionality
17+
- Users can create their account and add basic information about themselves like education, workplace, relationship status etc.
18+
- Users can edit their profile information.
19+
- Users can change their account privacy.
20+
- Users can update their profile i.e. they can reset their password if forgotten.
21+
- Users can send or accept friend requests.
22+
- Users can block or unblock a user.
23+
- Users can create a post.
24+
- Users can create or like a page hence becoming a member of it.
25+
- Users can decide to post from their personal account or from any page that they are a member of.
26+
- Users can send and receive messages from other users.
27+
- Users can search for other users however one user can't search for the profile of another user who has blocked him/her.
28+
- Users can logout of their account or delete it.
29+
- Users can search for pages.
30+
- Users can comment on posts. If the post belongs to a page, users will only be able to comment if they are a member of it.
31+
32+
## Some Snippets
33+
<img width="743" alt="Screenshot 2022-10-02 000558" src="https://user-images.githubusercontent.com/106478752/193434954-5c14e52d-6a1a-4402-97cf-f947d819ebf9.png">
34+
<img width="736" alt="Screenshot 2022-10-02 000458" src="https://user-images.githubusercontent.com/106478752/193434965-27754a4b-fb01-4f75-86c5-f2293ff7f658.png">
35+
<img width="608" alt="Screenshot 2022-10-02 000524" src="https://user-images.githubusercontent.com/106478752/193434973-53494324-3b3d-45e1-8e8d-bbf212704b31.png">
36+
37+
## Note
38+
My goal was to accomplish as much as functionality albiet complex as possible by using just tkinter and basic data storing modules. This is by means a finished or
39+
perfect project. I'll try to keep improving it in the future. Your contributions or feedback if any to enhance or correct this project will be appreciated.

0 commit comments

Comments
 (0)