An application that lets a user find the affinity they have with their friends based on their comparative needs and values, which are derived from their respective digital presence. The application also classifies and ranks the user’s friends based on their Big 5 personality characteristics and gives fun insights on their friends' interests.
The project uses a Python Flask server, a MongoDB Cluster and an Android application user interface. Built for the IBM Hack Challenge 2019 collectively by Team 128 Gigs.
128 Gigs is 4 member team consisting of:
- Balaraman M -- Team Lead
- Ganesh Ramkumar R -- Back end Developer
- Gowtham C -- Back end Developer
- Rahul Raj K -- Front end Developer
Once you have cloned the project repository, install the following Python modules:
python -m pip install flask
python -m pip install pymongo
python -m pip install facebook-sdk
python -m pip install tweepy
python -m pip install ibm-watson
Once the modules are installed, start the server by issuing the following command:
python -m flask run -h 0.0.0.0
The server will be up and running and can be accessed at port 5000 of localhost, by default.
To change the port:
python -m flask run -h 0.0.0.0 -p PORT_NUMBER
To run the application, install Android Studio
If installed, open Android/FriendAffinityFinder in Android Studio
To connect your flask server, follow the steps below:
-
Navigate to
Android/FriendAffinityFinder/app/src/main/res/values/strings.xml
-
Find IP address of the system running the server
-
Change
<string name="URL">http://192.168.43.245:5000</string>
to<string name="URL"><YOUR_IP_ADDRESS>:5000</string>
. If you're running on custom port, change5000
to yourPORT_NUMBER
-
Connect Test Device to same network as the server
-
Run the application from Android Studio
Since Facebook API is in Development mode, regular users cannot log in. So use the following test users while testing
Password | |
---|---|
vcqapfably_1563655783@tfbnw.net | sheismytestuser |
uihomikxdx_1563655781@tfbnw.net | heismytestuser |
igsayguwjq_1563351256@tfbnw.net | sheismytestuser |
open_kfbmyjv_user@tfbnw.net | heismytestuser |