Accessing and analysing your own social media data
Caitlin Macleod (@caitelatte)
Personal data
Who did I interact with?
What did I say/search/look at?
When did something happen?
Where was I?
How was I feeling?
"The data subject shall have the right to receive the personal data concerning him or her, which he or she has provided to a controller, in a structured, commonly used and machine-readable format [...]"
Right to data portability, Art. 20, General Data Protection Regulation (see https://gdpr-info.eu/art-20-gdpr/)
Shared personal data
Downloading from Facebook
Facebook: https://www.facebook.com/settings?tab=your_facebook_information
Downloading from Facebook - a direct link from settings to https://www.facebook.com/your_information
Downloading from Facebook
Facebook: https://facebook.com/your_information
Downloading from Twitter
Downloading from Twitter - find the menu from https://twitter.com/settings/account
Downloading from Twitter - interesting fields https://twitter.com/settings/your_twitter_data
Downloading from Twitter - get the download! https://twitter.com/settings/your_twitter_data
Downloading from Twitter
Twitter: https://twitter.com/settings/your_twitter_data
Social media structures
How do data models shape platforms?
Twitter: Users post unchangeable tweets. Relationships are follows and can be actioned by mentioning, replying, retweeting and liking.
Facebook: Users can post on their own or others' timelines, and comment on posts. Relationships are friendships and can be actioned by reacting, commenting, sharing, tagging or posting.
Messages: Users can message others. Relationships are actioned by messaging and reacting, whether in a private message or a group.
Analysing!
How to look at this data?
What tools did I find and look at?
Structure: Users post unchangeable tweets. Relationships are follows and can be actioned by mentioning, replying, retweeting and liking.
Archive: a single comma-separated values file of your own tweets and an HTML page to scroll through it. Same format of tweets as presented by their API.
Load tweets from tweets.csv into a list of OrderedDicts
Example 1: Histogram of tweets!
Goal: a frequency histogram with the number of tweets per a given time period.
Example 1: Histogram of Tweets! Latest 200 tweets on left, all time on right.
Example 2: Mentions of different people
Goal: a representation of all the different people I've mentioned over time.
Steps:
Example 2: Mentions of different people
Example 2: Mentions of different people
Example 3: Sentiment analysis!
Goal: Track my own feelings over the course of several years, relate them to different hashtags. This should include tweets related to conferences :D #livetweeting #conflife
Notes: I haven't done this. This is a stretch goal :D
Analysing Facebook
Facebook: Users can post on their own or others' timelines, and comment on posts. Relationships are friendships and can be actioned by reacting, commenting, sharing, tagging or posting.
Messages: Users can message others. Relationships are actioned by messaging and reacting, whether in a private message or a group.
Archive: 25 different folders with different aspects of the platform, with either json or HTML contents. User can choose what date selection and aspects they want to include.
Output 1: Reactions! 💖
Goal: Show a bar chart of how many reacts of each type per month.
Download from everywhere!
Sources