Skip to main content This guide explains how to retrieve all posts associated with your account
through different approaches, whether they originated from Ayrshare or other
sources.
Getting All Posts for All User Profiles (Ayrshare origin)
Get all user profiles associated with the primary profile:
Get profile keys:
Extract the refId from each user profile
Use your internal store to create a list of associated user profile keys
Retrieve posts:
Use the Posts History endpoint
Get all posts associated with each user profile key
Getting Posts for a Particular Social Network for All Users (Ayrshare and non-Ayrshare origin)
Get all user profiles associated with the primary profile:
Get profile keys:
Extract the refId from each user profile
Use your internal store to create a list of associated user profile keys
Retrieve posts specific to a social network
Use the Posts History for a Platform
endpoint
Place a platform in the platform path parameter. Values: facebook,
instagram, linkedin, pinterest, snapchat, threads, tiktok, twitter, youtube
Get all platform posts associated with each user profile key