web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extracting Web Data fr...
Power Automate
Unanswered

Extracting Web Data from Social Media Incomplete Results

(0) ShareShare
ReportReport
Posted on by

Hi Everyone,

 

I'm trying to extract social media comments to Excel. I also added steps to scroll down to load more comments. I have two concerns.

 

1. When Excel results are out, the results are incomplete. The most I got was approximately 10-15 rows. While the comments are more than that. What can I do so I can get all the comments.

 

2. How can I include replies to the comments to the extraction?

 

Thanks Everyone! 🙂

I have the same question (0)
  • NikosMoutzou Profile Picture
    Microsoft Employee on at

    Hello @Richter .

     

    From your description, I consider that the comments are loaded dynamically while scrolling - something like being organized in pages which open with the scrolling. Probably the page number is part of the selector for the comments, meaning that every x comments (number of comments per page), the selector is changing.  Therefore, you should check the selectors for each case (first comment, 20th comment, 100th comment) and compare them. Then you should create a dynamic, robust selector with the use of variable(s) and a loop.

     

    Example:

    Selector for first 10 comments: html > body > div:eq(0) > div > div:eq(1) 

    Selector for second 10 comments: html > body > div:eq(1) > div > div:eq(1) 

    Selector for third 10 comments: html > body > div:eq(2) > div > div:eq(1) 

     

    For your second question, you could capture the replies and perform the necessary manual editing as you did for comments (use of 'extract data from web page' action).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 976

#2
Valantis Profile Picture

Valantis 863

#3
Haque Profile Picture

Haque 547

Last 30 days Overall leaderboard