Get Recent Comments

Wordpress is a free and open-source content management system (CMS). Using this activity, you can get the list of most recent comments posted on your Wordpress site. To achieve this, add this activity to your canvas, and configure it. Select the appropriate access token for Wordpress. If you haven’t created an access token, select ‘Add New’ to create one.

In the ‘Site’ field, enter the ID of the Wordpress site you wish to get the comments of. Once you enter this ID, click on ‘Done’ and run the flow. This will return the list of all recent comments.

get-recent-comments

Output:
  • output-arrow wordpress-128 Get Recent Comments
    • left-triangle found number
    • left-triangle site_ID number
    • left-triangle comments array
      • left-triangle ID number
      • left-triangle site_ID number
      • left-triangle date string
      • left-triangle content string
      • left-triangle URL string
      • left-triangle status string
      • left-triangle type string
      • left-triangle status any
      • left-triangle like_count number
      • left-triangle post object
      • left-triangle author object