Linkedin Profile Posts avatar
Linkedin Profile Posts
Try for free

Pay $1.00 for 1,000 responses

View all Actors
Linkedin Profile Posts

Linkedin Profile Posts

breathtaking_chestnut/apify-linkedin-profile-posts
Try for free

Pay $1.00 for 1,000 responses

Scrapes linkedin profile posts from a given linkedin user's profile. If you need to scrape more than 1M Profiles, kindly get a private premium actor from us by opening a new issue with title "Need Premium Actor"

User avatar

withReposts doesn't work

Closed

teachable_duck opened this issue
2 months ago

Input:

{ "page": 1, "url": "https://www.linkedin.com/in/xxx", "withComments": 0, "withReposts": 0 }

but results contain lots of reposts:

"is_repost": true, "socialCount": { "numLikes": 91, "numComments": 9,

User avatar

Just tested with withReposts=0 and withComments=0 and got none of reposts and comments in response. Are you sure you are doing it right way?

User avatar

teachable_duck

2 months ago

Just tried it again with yet another different linked profile url. Input is (of course, I used a real profile instead of xx):

{ "page": 1, "url": "https://www.linkedin.com/in/xx", "withComments": 0, "withReposts": 0 }

Half the results are reposts. Tried via API and the web interface on Apify. As there are only 4 variables I can adapt, I'd be surprised if I didn't do it the "right way" - but please let me know if you have any ideas what to do differently

User avatar

breathtaking_chestnut-owner

2 months ago

Oh I see, withReposts in input is something different, If you pass 20 in withReposts. It will fetch 20 reposters data ( if exists ) against each post.

repost is a part of posts page at linkedin. If you donnot need them, just apply a filter at your end by checking repost flag in response.

Does that make sense?

User avatar

teachable_duck

2 months ago

oh, I see, thanks for the fast response. So if I only want to scrape posts that the original author (based on "url") wrote himself without articles he re-posted, I need to scrape and then filter the results by "is_repost == false". Did I get this right?

User avatar

breathtaking_chestnut-owner

2 months ago

Correct.

Developer
Maintained by Community
Actor metrics
  • 18 monthly users
  • 100.0% runs succeeded
  • 19 days response time
  • Created in Mar 2024
  • Modified about 1 month ago