If you want to create your own Neo4j graph of Twitter data:
Get a bearer token:
curl -XPOST -u customer_id:customer_secret 'https://api.twitter.com/oauth2/token?grant_type=client_credentials'
export TWITTER_BEARER=the twitter bearer returned from the previous line
Install py2neo:
pip install py2neo
# OR
easy_install py2neo
If you have auth enabled, set your username and password:
export NEO4J_USERNAME=neo4j
export NEO4J_PASSWORD=password
Then, collect tweets with keyword keyword
:
python collect_keyword.py keyword
Set an environment variable for which word you want to be ignored in the R scripts:
export KEYWORD=keyword