How to get/scrape LinkedIn Post Analytics?

Describe the problem/error/question

A few days after posting to linkedin, i would like to check the post analytics. There seems to be no n8n block for that.
I could go to the post analytics page and scrape it, but linkedin requires you te be logged in for that. How can I do this?

Information on your n8n setup

  • n8n version: 1.7
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own,):
  • Running n8n via (Docker,):
  • Operating system: Ubuntu

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

It seems I need r_member_social
How can I force the n8n linkedin credential to ask for it?

https://www.linkedin.com/oauth/v2/authorization?
response_type=code&
client_id=YOUR_CLIENT_ID&
redirect_uri=YOUR_REDIRECT_URI&
scope=r_member_social w_member_social

Hi @Anton_Vanhoucke

for that scope you will need to use generic OAuth2 credentials (use via HTTP request node)

Hope this helps!

1 Like

Thanks. That could have worked. Especially with the Generic OAuth2 creditial. However, it seems LinkedIn is giving r_member_social permissions to no one anymore, since 2019.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.