twiph
draws fancy interactive graphs representation of Twitter connections (aka friends) given a list of names/surnames. It could be uselful to spot and analyze social connections whithin an arbitrary list of people.
You need to create your own app: https://apps.twitter.com/app/new
Then an Access Token
must be created https://apps.twitter.com/app/<app-id>/keys
These are the output for the 100 younger italian parliamentarians grouped by political parties:
and with avatars:
http://www.eraclitux.com/twiph_demo/100_younger_camera_groups/index_groups.html
http://www.eraclitux.com/twiph_demo/100_younger_camera_groups/index_avatar.html
Once retrieved auth credentils and created a cfg
file (a sample is provided in conf/sample.cfg
):
export CFGP_FILE_PATH=./conf/mine.cfg;
twiph -csv list.csv
Tests need Twitter api credentials. You can specify them by command line or in configuration file:
export CFGP_FILE_PATH=./conf/test.cfg; go test
Graphs with nodes >= ~100 start to be very heavy (cpu intensive) to display.
The amazing D3.js
is used to create graphs http://d3js.org/
Political data has been retrieved by Openpolis
REST APIs http://api3.openpolis.it/
All trademarks, copyrights and other forms of intellectual property belong to their respective owners.
The author is not affiliated with any vendor cited above.