Publer icon

Publer

Interact with the Publer API for social media management

Analytics → Get Best Times

AI-generated

Overview

This node interacts with the Publer API to retrieve the best times for posting on a specified social media account within an optional date range. It is useful for social media managers and marketers who want to optimize their posting schedule based on analytics data to maximize engagement and reach.

Use Case Examples

  1. A user selects a workspace and an account, optionally sets a date range, and retrieves the best times to post on that account.
  2. A marketing team automates fetching best posting times for multiple accounts to schedule posts accordingly.

Properties

Name Meaning
Workspace Workspace context for analytics calls, used to scope the API request to a specific workspace.
Account The specific social media account to query for best posting times. This is a required field.
Date Range Optional ISO date range filter (YYYY-MM-DD) to limit the analytics data to a specific period.

Output

JSON

  • best_times - The best times to post on the specified account, as returned by the Publer API.

Dependencies

  • Requires an API key credential for Publer API authentication.

Troubleshooting

  • Ensure the 'Account' parameter is provided and valid; missing or invalid account IDs will cause errors.
  • Date range values must be in ISO format (YYYY-MM-DD); invalid formats may cause the API request to fail.
  • The workspace context must be correctly set to access the relevant account data.
  • Common error messages include invalid JSON input or missing required parameters, which can be resolved by verifying input correctness.

Links

  • Publer API Documentation - Official API documentation for Publer, detailing endpoints including analytics and best times retrieval.

Discussion