Site Page comments extraction in Sharepoint using Graph Api

Saad Muhammad Syed 21 Reputation points
2021-03-23T06:56:13.427+00:00

Is there a way to perform this extraction via graph api?
or any other method
regards

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,668 questions
0 comments No comments
{count} votes

Accepted answer
  1. Amos Wu-MSFT 4,051 Reputation points
    2021-03-24T02:18:19.383+00:00

    I do not find a Graph API endpoint to get the comments of a site page in the document.
    You may try to use SharePoint Rest API to get the comments.

    /_api/lists/getbytitle('Site Pages')/items(pageID)/comments  
    

    More information about this endpoint:

    1. Getting likes and comments from modern pages
    2. Working with the Page Comments REST API in SharePoint Communication sites

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful