linkedin-api icon indicating copy to clipboard operation
linkedin-api copied to clipboard

Support Posts Search

Open dericferreira opened this issue 4 years ago • 6 comments

Hello,

I'm trying to do "Posts search" and was not able to make it work!

I would like to get all mentions of an specific keyword. The URI looks like this when i'm navigating on the website. Could you help me?

https://www.linkedin.com/voyager/api/search/dash/clusters?decorationId=com.linkedin.voyager.dash.deco.search.SearchClusterCollection-86&origin=FACETED_SEARCH&q=all&query=(keywords:nubank,flagshipSearchIntent:SEARCH_SRP,queryParameters:(datePosted:List(past-24h),sortBy:List(date_posted),resultType:List(CONTENT)))&start=0

I've tried changing the url and the parameters using the search as base method but I get 400.

dericferreira avatar Mar 01 '21 12:03 dericferreira

Bump to this ^^ Getting this exact issue. Managed to get to this url as well

Trying to fetch this with the correct headers ends up returning a JSON which just says status 500 and includes = []

architdate avatar Aug 29 '21 14:08 architdate

hi guys,Have you solved this problem? This problem also gives me a headache

stone0018 avatar Oct 12 '21 02:10 stone0018

For now, I would recommend using the the search endpoint with the keywords inside the keywords array parameter according to your needs and maybe calling get_profile_posts function for every profile that you found

alvaroserrrano avatar Oct 30 '21 19:10 alvaroserrrano

Hi, any solution found ?

TheophileDiot avatar Sep 20 '22 12:09 TheophileDiot

I have figured this out and got it working

DreamITSoftware avatar Jul 07 '23 12:07 DreamITSoftware