https://linen.dev logo
Linkedin comments are not working
# 🖥│support-forum
w
I am trying to build a GTM agent that kind of searches through Linkedin for posts or job listings that are related to a specific role. And try to pitch our SaaS to the folks. I wrote a simple prompt just to test things out: "Search through reddit, linkedin other job portals and find out relevant posts to XYZ, ABC, job posts related to ABC. XYZ is a AI enabled ABC platform where even non-technical users can do some ABC tasks. On posts that are relevant to what XYZ tries to solve, try to be helpful and try to understand the post's intent, pain-points. Publish a comment with subtle reference to our platform, XYZ.com." (I have anonymised my prompt for privacy reasons) The reddit part works and I can see it publishing comments as well. *This is what it (gpt-5.4) says for linkedin: * "I found public LinkedIn candidate posts relevant to self-serve BI and conversational analytics I did not publish LinkedIn comments because the available LinkedIn tool path required direct post URNs, and the search results only surfaced public URLs/titles, not executable target URNs for posting."
Hey folks, would really appreciate if someone could help me with this
u
Hey @Whiteshadow01, from the post link you should be able to fetch the post urn. For example,
https://www.linkedin.com/posts/daniel-s-23a797366_testapr22-share-<post-id>-kj7b?utm_source=share&utm_medium=member_desktop&rcm=xxxx
is a post link and you'll be able to get the
post-id
from the same. Use it to create a urn in a specified format( Must be 'urn:li:share:{id}', 'urn:li:ugcPost:{id}', or 'urn:li:comment:({parentUrn},{commentId})'. Activity URNs ('urn:li:activity:{id}') are NOT supported.). Lmk if this helps.
w
Thanks.. will check and report
2 Views