# Socials

This model is used to access different social media accounts. We use this model to post on their social accounts.

Properties you would find in the token model are:

text required
  • An string value that will be place on the post.
facebook
  • Boolean to show if the post was successfully posted on facebook
twitter
  • Boolean to show if the post was successfully posted on twitter
linkedin
  • Boolean to show if the post was successfully posted on linkedin
telegram
  • Boolean to show if the post was successfully posted on telegram
errors
  • Array which holds errors from each platform that was meant to post content
filename
  • The uploaded file's filename
mimetype
  • The uploaded file's MIME type
encoding
  • The uploaded file's encoding

# Graphql Schema

The gql schema for this model ( and related ones ) is defined as:

type PublishedPost {
    text: String
    telegram: Boolean
    twitter: Boolean
    errors: PostError
    linkedin: Boolean
    facebook: Boolean
    filename: String
    mimetype: String
    encoding: String
}

type PostError {
    facebook: String
    twitter: String
    linkedin: String
    telegram: String
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18