Skip to content

Latest commit

 

History

History
71 lines (63 loc) · 1.69 KB

README.md

File metadata and controls

71 lines (63 loc) · 1.69 KB

Universal Profile

Universal Profile is a search engine designed to find people, companies, and social groups more easily. The system crawls various social media platforms and combines each entity into a unified profile by several similarity metrics, which fleshes out profiles by filling in missing information gathered from other platforms.

Docker

Add secrets to:

  • <project>/combiner/src/main/resources/client_secrets.json
  • <project>/facebook/fbapi.yaml
docker compose up --build

Go to http://localhost.

Installing Web Server

  • Install Node.js.
  • Install MongoDB.
cd <project>/web/
npm install

Installing Facebook Crawler

  • Install Python 2.7.
  • On Microsoft Windows, autopy has other dependencies which need to be installed independently.
pip install facebook-sdk
pip install beautifulsoup4
pip install pymongo
pip install autopy
pip install Ghost.py

Installing Combiner

  • Install Java 8 or later.
  • Install Apache Maven.
cd <project>/combiner/
mvn install

Running Web Server

  • Run MongoDB.
cd <project>/web/
npm start
  • You should be able to see "Server is listening on port ".
  • Launch your browser and enter "localhost:" as the URL.

Note For Linux

  • Need to change node to nodejs
  • Need to change (character) ` to (character) '

Running Facebook Crawler

  • Run MongoDB.
cd <project>/facebook/
python fb.py

Running Combiner

  • Run MongoDB.
cd <project>/combiner/
java -jar target/uniprofile-1.0.jar <source 1> <source 2> <destination>

Running Google Crawler

  • Run MongoDB.
cd <project>/combiner/
java -cp target/uniprofile-1.0.jar socialmedia.googlePlus.GooglePlusExtractor