Fetch secondary authors with blog_recent_author_posts

Hey,
Now that Hubspot allows adding multiple authors, it seems that the function to get recent author posts doesn’t return the posts if the authors is not the main one. Is this something that can be fixed?

Looks like the API also returns only one author for the blog post, even if multiple are added.

@STierney - this might need to be passed along to internal teams, as there is an announcement popup being displayed about ability to add multiple authores when you enter the blog section in the HubSpot app, but technical documentation does not reflect that (including how it is determined which author is primary on the blog post).

Hey @SanttuH,

Thanks for bringing this to the Community!

Tagging in a few folks to see they’re experiencing similar behavior and if they’ve found anyway to resolve this! In the meantime, it may be helpful to revisit our dev doc on the matter:

Hey @Anton, @SteveHTM, @GRajput -- do you have suggestions for @SanttuH on this?

Thanks in advance!

Sam, Community Manager

Hey @SamTassey,

This might need to go to internal teams since the HubL functions and API endpoints only return one blog author (while the blog editor allows adding multiple).

The documentation for those has not yet been updated to reflect the fact that multiple authors can be selected and how the primary one is determined (since only one author is returned through those methods).

Hi, great question, and thank you for pointing this out. We are providing an update about this soon. You can use the HubL function blog_author_list to grab the list of all authors on the blog. From there, you can loop through the list and display the authors names. Thanks, and we’re working on getting this in the documentation!

Best,

Brooke