Community topic page - show the name of the last user that commented.

回答済み

6 コメント

  • Vladan Jovic
    コメントアクション Permalink

    Hi Julian, I think this is not possible for now, cause there is no Zendesk API endpoint with that info:
    https://developer.zendesk.com/rest_api/docs/help_center/posts

     

    0
  • Jessie Schutz
    コメントアクション Permalink

    Hey Julian!

    @Vladan Bearing in mind that I am no API expert, I'm wondering if one would be able to use the user info in the Post Comments part of the API? What do you think? Would that even work?

    0
  • Vladan Jovic
    コメントアクション Permalink

    Hey Jessie, you are 100% right. With that part we can grab comments from a post, but API will provide us only author ID, not name/surname. 

    With the help of this https://developer.zendesk.com/rest_api/docs/core/users we can use that ID to grab that name/surname, but it will work only for admins/agents, so probably it's not what Julian is looking for. :/

    Edit:
    I see that post comments api part doesn't work for end-user/anonymous too.

     

    0
  • Jessie Schutz
    コメントアクション Permalink

    Well, nuts. Thanks for looking at it, though!

    0
  • Mike Cartwright
    コメントアクション Permalink

    I really like this idea, Julian! I understand that there's no such workaround is available for now, but I hope this can be looked into soon. Thanks to Jessie and Vladan for looking!

    0
  • Nicole - Community Manager
    コメントアクション Permalink

    This thread has been closed for comments by the Zendesk Community Team. If you have a related or new question, please create a new post

    0

投稿コメントは受け付けていません。

Powered by Zendesk