Deezer icon

Deezer

Access public song data via the Deezer API

Overview

This node integrates with the Deezer API to retrieve a user's favorite podcasts. It allows you to fetch either the favorite podcasts of the currently authenticated user or those of a specific user by their user ID. This is useful in scenarios where you want to analyze, display, or process podcast preferences from Deezer users, such as building personalized recommendations, aggregating popular content, or syncing user favorites with other platforms.

For example, you could use this node to:

  • Display a logged-in user's favorite podcasts in a custom dashboard.
  • Retrieve favorite podcasts of a particular user for analytics or marketing purposes.
  • Automate updates or notifications based on changes in a user's favorite podcasts.

Properties

Name Meaning
Return My User Boolean option to choose whether to return the favorite podcasts of the logged-in user (true) or a specific user (false).
User ID The unique identifier of the user whose favorite podcasts you want to retrieve (required if "Return My User" is false).
Return All Whether to return all favorite podcasts or limit the number of results returned.
Offset The starting position (offset) in the list of favorite podcasts from which to begin returning results (used if "Return All" is false).
Limit The maximum number of favorite podcasts to return (used if "Return All" is false).

Output

The node outputs an array of JSON objects representing the favorite podcasts retrieved from Deezer. Each object corresponds to a podcast and contains its details as provided by the Deezer API, such as podcast ID, title, description, and other metadata.

If binary data were involved (e.g., podcast cover images), it would be included in the binary output field, but this node focuses on JSON data about favorite podcasts.

Dependencies

  • Requires an OAuth2 API credential for Deezer to authenticate requests.
  • Uses the Deezer public API endpoint: https://api.deezer.com.
  • The node depends on helper functions to obtain access tokens and make HTTP requests to Deezer's API.

Troubleshooting

  • Authentication errors: If the node fails due to authentication issues, ensure that the OAuth2 credentials are correctly configured and valid.
  • Invalid User ID: When "Return My User" is set to false, providing an incorrect or non-existent user ID will result in errors or empty results.
  • API rate limits: Deezer may impose rate limits; excessive requests might cause temporary failures.
  • Empty results: If no favorite podcasts are found, verify that the user has favorite podcasts saved on Deezer.
  • Parameter conflicts: Ensure that "Return All" and pagination parameters ("Offset" and "Limit") are used consistently; "Offset" and "Limit" are ignored if "Return All" is true.

Links and References

Discussion