kirstykitto / CLRecipe

A xAPI based Connected Learning Recipe for use with the CLA toolkit
13 stars 3 forks source link

CLRecipe - Social Media Recipes for TinCan API (xAPI)

The Connected Learning Analytics Toolkit imports social media associated with a learning activity into an LRS and performs advanced analytics. The recipes to model social media interaction as xAPI statements are shared for community contribution and feedback. Recipes for Microblogging, Content Authoring, Content Collaboration and Content Curation will be provided.

Todo List:

Modeling Social Media Interaction as an xAPI statement

The CLRecipe project:

Though social media platforms use different terminology, a common model of interaction exists (see figure below). The model involves:

Social Media Model

The Recipe for representing social media activity as xAPI statements prescribes that:

Option additions to the recipe to facilitate reporting by course and instructor include:

Activities

Activities are items that are created on social media platforms. Blog posts, tweets, homepage posts and curated media are all example objects. The CLRecipe makes a distinction between short Microblogging posts (i.e. using the Note object) and larger text articles (i.e. using the Article object).

Activity Description Source
Note Represents a short-form text message. This object is intended primarily for use in "micro-blogging" scenarios and in systems where users are invited to publish short, often plain-text messages. Activity Stream Schema
Article Represents objects such as news articles, knowledge base entries, or other similar construct. Such objects generally consist of paragraphs of text, in some cases incorporating embedded media such as photos and inline hyperlinks to other resources. Activity Stream Schema
Comment Represents a textual response to another object. Objects of this type MAY contain an additional inReplyTo property whose value is an Array of one or more other Activity Stream Objects for which the object is to be considered a response. Activity Stream Schema
Collection Represents a generic collection of objects of any type. Activity Stream Schema
Audio Represents audio content of any kind. Activity Stream Schema
File Represents any form of document or file. Activity Stream Schema
Image Represents a graphical image. Activity Stream Schema
Video Represents video content of any kind. Activity Stream Schema
Link The URL to another resource. Activity Stream Schema
Bookmark Represents a pointer to some URL. Activity Stream Schema

The table below show how social media activities from different social media platforms map to the Activities chosen for use by the CLRecipe.

Platforms Note Article Comment Collection
Twitter - Tweet Yes
Facebook - Yes (Post) Yes (Page)
Blog Post Yes Yes
Pinterest Yes Yes

Verbs

Verbs are actions that are performed on an object. Most of the verbs used in the CLRecipe are from the Activity Stream API

Verb Description Source
Create Indicates that the actor has created the object. Activity Stream Schema
Like Indicates that the actor marked the object as an item of special interest. The "like" verb is considered to be an alias of "favorite". The two verb are semantically identical. Activity Stream Schema
Share Indicates that the actor has called out the object to readers. In most cases, the actor did not create the object being shared, but is instead drawing attention to it. Activity Stream Schema
Tag Activity generally used in the "other" or "grouping" Context Activities lists to mark a statement as being related to a particular subject area. Implemented as a one word identifier used for search filtering or tag cloud generation. Includes hashtagging for tweets. TINCAN API
Rate Action of giving a rating to an object. In general the rating should be included in the Result with a Score object. There is an extension to include the 'raw' value as well as 'min' and 'max' range indicators. TINCAN API & TINCAN Quality Rating Extension
Add Indicates that the actor has added the object to the target. For instance, adding a photo to an album. Activity Stream Schema

The table below show how actions from different social media platforms map to the Verbs chosen for use in the CLRecipe.

Create Like Share Tag Rate Comment Add
Facebook Post Like Share Tag - Reply -
Google+ Post Like Share Tag - Reply -
Twitter Tweet Favorite Retweet Hashtag - -
Blog Post - - Tag Rate Comment -
Pinterest Board Like Share - - - Pin

An example xAPI statement based upon CLRecipe is provided below. The example is for a Twitter tweet that includes hashtags and mentions:

{
    "actor": {
        "account": {
            "homePage": "http://www.twitter.com",
            "name": "aneesha"
        },
        "objectType": "Agent"
    },
    "context": {
        "contextActivities": {
            "grouping": [],
            "other": [
                {
                    "definition": {
                        "name": {
                            "en-US": "@sbuckshum"
                        },
                        "type": "http://id.tincanapi.com/activitytype/tag"
                    },
                    "id": "http://id.tincanapi.com/activity/tags/tincan",
                    "objectType": "Activity"
                },
                {
                    "definition": {
                        "name": {
                            "en-US": "#clatest"
                        },
                        "type": "http://id.tincanapi.com/activitytype/tag"
                    },
                    "id": "http://id.tincanapi.com/activity/tags/tincan",
                    "objectType": "Activity"
                }
            ],
            "parent": []
        },
        "platform": "Twitter",
        "registration": "b234b0fc-5f53-4b4b-810b-c52bc65dbf8d"
    },
    "object": {
        "definition": {
            "name": {
                "en-US": "making social learning (ephemeral social processes) analytics visible @sbuckshum #clatest"
            },
            "type": "http://activitystrea.ms/schema/1.0/note"
        },
        "id": "https://twitter.com/aneesha/status/597971744180174848",
        "objectType": "Activity"
    },
    "verb": {
        "display": {
            "en-US": "created"
        },
        "id": "http://activitystrea.ms/schema/1.0/create"
    }
}

Comprehensive CLRecipe Example xAPI Statements

Examples xAPI statement are provided for:

Useful TinCan API Recipes

References