WPC-Social-Media-Presence STARTER KITT
GUIDELINES HOW TO START TO WORK WITH APPLICATION
QUICK START OF THE APPLICATION
1.1. STANDALONE VERSION
which is a standalone application that can be used by the following command in command line interface:
or just double-click on application in Graphical User Interface mode.
1.2. PYTHON LIBRARY VERSION
The file to clone is:
which is a library that can be used by the following code in Python:
To use in your own application - please import this way:
import SocialMediaPresenceCollector as smpc
then start the application this way
The application is used to scrape all the links related to social media from websites that are put in:
file that should have the list of URLs in the following format:
The output of the application are two files: wpc_social.csv and wpc_social_YYYYMMDDHHMMSSnnnnnnn.json
The file wpc_social.csv is updated with its content.
The json file is created every time of the application running.
To start using the software, you should download Python source file and execute like this:
or in selected MS Windows environment
PREREQUISITES - HOW TO SET UP THE PYTHON ENVIRONMENT
Both the library as well as the application are using Python 3. You can install Python 3 from the following location: http://python.org, however recommended version is to install Anaconda environment that is available here: http://www.anaconda.com.
Remember to use only Python version 3 - on Python 2 the application will not work.
IMPORTANT! Libraries bs4 and requests are necessary. Depending on your Python environment try to install them that way:
pip3 install bs4
pip3 install requests
pip install bs4
pip install requests
python -m pip install bs4
python -m pip install requests
python3 -m pip install bs4
python3 -m pip install requests
conda install bs4
conda install requests
General Overview of the 4 steps:
(1) Collecting Social Media links
(2) Collecting Tweets for training and testing purposes
(3) Training and testing a dataset
(4) Apply the data to check enterprise main purpose of SMP