Configuring YouTube Keyword Search
For Non-authenticated users
1. Go to digi7
2. Open: vi /home/ec2-user/quickmetrix/crawler/seedlist/youtubeseedlist.txt
3. Add the keywords and masterkey in the format at the top.
Keyword1,keyword2…|masterkey
4. Save and exit
For Authenticated users
1. Go to digi7
2. Open: vi /home/ec2-user/quickmetrix/crawler/seedlist/youtubeseedlist_athenticated.txt
3. Add the keywords and masterkey in the format at the top.
Keyword1,keyword2…|masterkey
4. Save and exit
Add Keywords For Enabling Twitter Response Exception
1. Go to Appserver
2. Go to: cd /quickmetrix/appserver
3. Open: vi textfiles/twitter_reply_exceptions.txt
4. Add the keyword(s) in this format: usergroup|prodname|keyword(s)
5. Save and come out of the file.
Enabling Instagram Data
Please check if the entry you are adding already exists
1. Go to digi2 server
2. Open: vi ingest/seedlist/instaseedlist.txt
3. Add the Instagram admin id at the top
4. Save and exit
5. Go to digi7 server
6. Go to: cd quickmetrix/crawler/
7. Open: vi seedlist/instabusinessaccounts.txt
8. Add the Instagram admin id at the top.
9. Save and exit
Enable Playstore
Please check if the entry you are adding already exixts
Step 1 : Go to digi3 server
Step 2 : /home/ec2-user/quickmetrix/crawler/shell_files/run_reviewsgoogleplaystore_Authenticated.sh
Step 3 : Add the usergroup of the given userid in the below order.
SERVICE='androidreviews_by_googleAPI.py usergroup '
if ps -ef | grep -v grep | grep "$SERVICE" > /dev/null
then
echo "$SERVICE service running, everything is fine"
else
echo "$SERVICE is not running"
cd /home/ec2-user/quickmetrix/crawler
python -m complaints.direct.androidreviews_by_googleAPI.py usergroup
fi
Eg:
SERVICE='androidreviews_by_googleAPI.py ring '
if ps -ef | grep -v grep | grep "$SERVICE" > /dev/null
then
echo "$SERVICE service running, everything is fine"
else
echo "$SERVICE is not running"
cd /home/ec2-user/quickmetrix/crawler
python -m complaints.direct.androidreviews_by_googleAPI.py rings
fi
Enable GMB
Please check if the entry you are adding already exists
Step 1 : Go to digi3
Step 2 : Open the below file
vi /home/ec2-user/quickmetrix/crawler/shell_files/check_googlereviews_authenticated.sh
Step 3 : Change the userid prodname and prodtype
SERVICE='crawlgoogleplacereviews_authenticated.py userid'
if ps -ef | grep -v grep | grep "$SERVICE" > /dev/null
then
echo "$SERVICE service running, everything is fine"
else
echo "$SERVICE is not running"
cd /home/ec2-user/quickmetrix/crawler
python -m complaints.direct.crawlgoogleplacereviews_authenticated.py userid “prodname” prodtype
fi
Eg:
SERVICE='crawlgoogleplacereviews_authenticated.py Ring_QuickMetrix '
if ps -ef | grep -v grep | grep "$SERVICE" > /dev/null
then
echo "$SERVICE service running, everything is fine"
else
echo "$SERVICE is not running"
cd /home/ec2-user/quickmetrix/crawler
python -m complaints.direct.crawlgoogleplacereviews_authenticated.py Ring_QuickMetrix "Ring" prod
Fi
Enable Twitter DMs
Please check if the entry you are adding already exists
Step 1 : As we have moved the process to TwitterEvents server we have to open that server and do the below Steps
Goto TwitterEvents server
Step 2 : Open the below file
vi /home/ec2-user/quickmetrix/newui_services/run_twitterevents.sh
Step 3 : Add
SERVICE='processtwitterevents_v3.py userid “prodname” prodtype '
if ps -ef | grep -v grep | grep "$SERVICE" > /dev/null
then
echo "$SERVICE service running, everything is fine"
else
echo "$SERVICE is not running"
cd /home/ec2-user/quickmetrix/
/usr/bin/python -m newui_services.processtwitterevents_v3.py userid “prodname” prodtype &
fi
Example:
SERVICE='processtwitterevents_v3.py Ring_QuickMetrix Ring prod'
if ps -ef | grep -v grep | grep "$SERVICE" > /dev/null
then
echo "$SERVICE service running, everything is fine"