Getting All Posts for All User Profiles (Ayrshare origin)
-
Get all user profiles associated with the primary profile:
- Use your Authorization Bearer token in the header
- Call the Get User Profiles endpoint
-
Get profile keys:
- Extract the
refIdfrom each user profile - Use your internal store to create a list of associated user profile keys
- Extract the
-
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:
- Use your Authorization Bearer token in the header
- Call the Get User Profiles endpoint
-
Get profile keys:
- Extract the
refIdfrom each user profile - Use your internal store to create a list of associated user profile keys
- Extract the
-
Retrieve posts specific to a social network
- Use the Posts History for a Platform endpoint
- Place a platform in the
platformpath parameter. Values:facebook,instagram,linkedin,pinterest,snapchat,threads,tiktok,twitter,youtube - Get all platform posts associated with each user profile key
