Social Element
Social elements are a collective term for user-generated social content. This content can pertain to user identity (user profile information, gender), can be content meant for consumption (posts, comments), can be interactive (chats, calls), or can signify a user relationship (like, follow, or subscribe). The data structure of some common social elements is defined here and can be adapted by developers to match their specific implementation.
User Profile
Identity on social platforms is usually shown through a profile. As the representation of personal identity, the profile is the single most important element of social networking and cannot be tokenized. When tokenized and then traded or exchanged, a profile loses its social significance and its value in representing user identity.
The following is the basic user identity information that most social platforms support:
uid
User ID, a unique identifier on that platform
name
Username, corresponding to the real-world name
icon
Profile photo or avatar, an important symbol of personal identity
Post
A post's significance lies in allowing users to express their own opinions and emotions. This important form of self-expression is the most basic form of content supported by most social platforms.
The following is the basic information contained in a post:
id
Content ID, a unique identifier of that post
content
Specific post content; text, images, video, etc.
uid
User ID of the poster
Comment
id
Comment ID, a unique identifier of that comment
content
Specific comment content
uid
User ID of the commenter
Chat Message
id
Unique message ID
content
Specific message content
resList
Multimedia resource list
threadId
ID of the chatroom where the message was sent
uid
User ID of the messenger
1-on-1 Chat
id
Unique chatroom ID
name
username of the other user
Group Chat
id
Unique chatroom ID
name
Chatroom name
image
Chatroom icon
Community
id
Community ID
name
Community name
image
Community icon
Live Streaming
id
Live Streaming ID
name
Name
image
Live stream icon
Game or Interactive Event
id
Activity ID
name
Activity name
image
Activity icon
All the above social elements are common on any social platform, but the basic implementation of an element may be different across platforms. Here, we define the basic attributes that social elements must have to be generally recognizable. Based on these core elements, we can define rules to identify individual social elements.
Last updated