Employers often trawl applicants’ social media presences for objectionable behavior. We are creating a business facing application that streamlines the process, combining API data from LinkedIn with that of Twitter and cross referencing them. The final product will have a web-based UI that displays the search results using python to make the API calls and process the data.
write abstractTwitter search API call function - takes in user name, returns list of twitter-user objects, Twitter API function that returns (objectionable) tweets as list of strings for a given userweb back end to update linkedin profile preview and objectionable tweets
Linkedin user API call function - takes in user ID, returns Linkedin user object w/ data (e.g. work history, education, etc.)finalize linkedin user class (help christina use the api function for her todo)make poster
find objectionable tweets functionWeb front end (just a skeleton: text box, section for linkedin profile preview, and a section for tweets)web back end to update linkedin profile preview and objectionable tweets
Linkedin user classfinalize linkedin user class (add functionality so the object class can return work history, education, etc.)make poster
- Install django
pip install Django==1.11.7
- Install twitter
pip install twitter
- Install oauth2
pip install oauth2
- Install linkedin
pip install python-linkedin
- cd to the
main
directory and runpython manage.py runserver
- If you get an error
Error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions
try running the server again on a different portpython manage.py runserver 3000
- Navigate to http://127.0.0.1:8000 to view webpage (change 8000 to a different port number if you had to change it in step 1)
The main logic of the application is in index.html, views.py, models.py, and LinkedIn_API.py
The site is live here. Provide a public Linkedin Profile URL and click search.