Retrieving Social Accounts

Written by Grant - Postpone Founder
Updated 2 weeks ago

The type SocialAccount represents Postpone's connection to one of your accounts. That includes:

  • Reddit accounts
  • YouTube Channels
  • LinkedIn Profiles
  • Facebook Pages
  • And so on

Many mutations and queries require a SocialAccount ID to create or retrieve data. Here is how you can fetch all of your SocialAccounts, and optionally filter them by platform:

query socialAccounts($platform: String) {
  socialAccounts(platform: $platform) {
    id
    username
    formattedUsername
    name
    platform
    verified
    description
    followers
    profileUrl
    avatarUrl
    isConnected
    isEnabled
  }
}
Did this answer your question?