Social Media Publishing Profiles

Version: 1.0.1

Identify profiles the authenticated user is authorized to publish to (e.g. Facebook page, Instagram business account, or LinkedIn organization page).

Get Profiles for Publishing

Retrieve social media profiles (pages, accounts) the authenticated user is authorized to publish to.


1. Install

npx @superfaceai/cli install social-media/publishing-profiles

2. Use in your code

const { SuperfaceClient } = require('@superfaceai/one-sdk');

const sdk = new SuperfaceClient();

async function run() {
  // Load the installed profile
  const profile = await sdk.getProfile('social-media/publishing-profiles');

  // Use the profile
  const result = await profile

  return result.unwrap();


3. Add providers