Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

feat(linkedin): ui improvement (#16637)

Talal Jaber9bd5caf50b50
diff --git a/bun.lock b/bun.lock
index a4947b5b39b..8a1df63ccd7 100644
--- a/bun.lock
+++ b/bun.lock
@@ -5284,7 +5284,7 @@
},
"packages/pieces/community/linkedin": {
"name": "@activepieces/piece-linkedin",
- "version": "0.5.1",
+ "version": "0.6.0",
"dependencies": {
"@activepieces/core-piece-types": "workspace:*",
"@activepieces/core-utils": "workspace:*",
diff --git a/packages/pieces/community/linkedin/package.json b/packages/pieces/community/linkedin/package.json
index ad9f0ed16bd..d7f9af15d67 100644
--- a/packages/pieces/community/linkedin/package.json
+++ b/packages/pieces/community/linkedin/package.json
@@ -1,6 +1,6 @@
{
"name": "@activepieces/piece-linkedin",
- "version": "0.5.1",
+ "version": "0.6.0",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"scripts": {
diff --git a/packages/pieces/community/linkedin/src/i18n/de.json b/packages/pieces/community/linkedin/src/i18n/de.json
index a9e297b7dd7..422e43fa1e8 100644
--- a/packages/pieces/community/linkedin/src/i18n/de.json
+++ b/packages/pieces/community/linkedin/src/i18n/de.json
@@ -33,5 +33,6 @@
"None": "Keine",
"JSON": "JSON",
"Form Data": "Formulardaten",
- "Raw": "Rohe"
+ "Raw": "Rohe",
+ "Calls to /rest/ need LinkedIn-Version: 202511 and X-Restli-Protocol-Version: 2.0.0. Authorization comes from your connection.": "Aufrufe an /rest/ benötigen LinkedIn-Version: 202511 und X-Restli-Protocol-Version: 2.0.0. Die Autorisierung kommt aus Ihrer Verbindung."
}
\ No newline at end of file
diff --git a/packages/pieces/community/linkedin/src/i18n/es.json b/packages/pieces/community/linkedin/src/i18n/es.json
index 13320d96267..b75483f11ec 100644
--- a/packages/pieces/community/linkedin/src/i18n/es.json
+++ b/packages/pieces/community/linkedin/src/i18n/es.json
@@ -33,5 +33,6 @@
"None": "Ninguna",
"JSON": "JSON",
"Form Data": "Datos de Formulario",
- "Raw": "Rápido"
+ "Raw": "Rápido",
+ "Calls to /rest/ need LinkedIn-Version: 202511 and X-Restli-Protocol-Version: 2.0.0. Authorization comes from your connection.": "Las llamadas a /rest/ necesitan LinkedIn-Version: 202511 y X-Restli-Protocol-Version: 2.0.0. La autorización viene de tu conexión."
}
\ No newline at end of file
diff --git a/packages/pieces/community/linkedin/src/i18n/fr.json b/packages/pieces/community/linkedin/src/i18n/fr.json
index 5f7fab452de..905fb535f17 100644
--- a/packages/pieces/community/linkedin/src/i18n/fr.json
+++ b/packages/pieces/community/linkedin/src/i18n/fr.json
@@ -33,5 +33,6 @@
"None": "Aucun",
"JSON": "JSON",
"Form Data": "Données du formulaire",
- "Raw": "Brut"
+ "Raw": "Brut",
+ "Calls to /rest/ need LinkedIn-Version: 202511 and X-Restli-Protocol-Version: 2.0.0. Authorization comes from your connection.": "Les appels à /rest/ nécessitent LinkedIn-Version: 202511 et X-Restli-Protocol-Version: 2.0.0. L'autorisation provient de votre connexion."
}
\ No newline at end of file
diff --git a/packages/pieces/community/linkedin/src/i18n/ja.json b/packages/pieces/community/linkedin/src/i18n/ja.json
index ee534a90725..8ab38e3e5ea 100644
--- a/packages/pieces/community/linkedin/src/i18n/ja.json
+++ b/packages/pieces/community/linkedin/src/i18n/ja.json
@@ -33,5 +33,6 @@
"None": "なし",
"JSON": "JSON",
"Form Data": "フォームデータ",
- "Raw": "Raw"
+ "Raw": "Raw",
+ "Calls to /rest/ need LinkedIn-Version: 202511 and X-Restli-Protocol-Version: 2.0.0. Authorization comes from your connection.": "/rest/ への呼び出しには LinkedIn-Version: 202511 と X-Restli-Protocol-Version: 2.0.0 が必要です。認証は接続から自動で付与されます。"
}
\ No newline at end of file
diff --git a/packages/pieces/community/linkedin/src/i18n/nl.json b/packages/pieces/community/linkedin/src/i18n/nl.json
index 1439ee4a7fa..3b4494f038d 100644
--- a/packages/pieces/community/linkedin/src/i18n/nl.json
+++ b/packages/pieces/community/linkedin/src/i18n/nl.json
@@ -33,5 +33,6 @@
"None": "geen",
"JSON": "JSON",
"Form Data": "Formulieren gegevens",
- "Raw": "Onbewerkte"
+ "Raw": "Onbewerkte",
+ "Calls to /rest/ need LinkedIn-Version: 202511 and X-Restli-Protocol-Version: 2.0.0. Authorization comes from your connection.": "Aanroepen naar /rest/ hebben LinkedIn-Version: 202511 en X-Restli-Protocol-Version: 2.0.0 nodig. Autorisatie komt uit uw verbinding."
}
\ No newline at end of file
diff --git a/packages/pieces/community/linkedin/src/i18n/pt.json b/packages/pieces/community/linkedin/src/i18n/pt.json
index bdc2a0a7192..163855def97 100644
--- a/packages/pieces/community/linkedin/src/i18n/pt.json
+++ b/packages/pieces/community/linkedin/src/i18n/pt.json
@@ -33,5 +33,6 @@
"None": "Nenhuma",
"JSON": "JSON",
"Form Data": "Dados de Formulário",
- "Raw": "RAW"
+ "Raw": "RAW",
+ "Calls to /rest/ need LinkedIn-Version: 202511 and X-Restli-Protocol-Version: 2.0.0. Authorization comes from your connection.": "Chamadas para /rest/ precisam de LinkedIn-Version: 202511 e X-Restli-Protocol-Version: 2.0.0. A autorização vem da sua conexão."
}
\ No newline at end of file
diff --git a/packages/pieces/community/linkedin/src/i18n/ru.json b/packages/pieces/community/linkedin/src/i18n/ru.json
index e1e5923677f..9edd1fa71f3 100644
--- a/packages/pieces/community/linkedin/src/i18n/ru.json
+++ b/packages/pieces/community/linkedin/src/i18n/ru.json
@@ -39,5 +39,6 @@
"With a Link URL, the image becomes the link's thumbnail.": "Если указан URL ссылки, изображение становится её миниатюрой.",
"Title and description show only when a Link URL is set.": "Заголовок и описание показываются, только если указан URL ссылки.",
"Only pages where your account can post are listed.": "Показаны только страницы, на которых ваш аккаунт может публиковать.",
- "Posts to a Company Page are always public.": "Записи на странице компании всегда публичные."
+ "Posts to a Company Page are always public.": "Записи на странице компании всегда публичные.",
+ "Calls to /rest/ need LinkedIn-Version: 202511 and X-Restli-Protocol-Version: 2.0.0. Authorization comes from your connection.": "Для вызовов /rest/ нужны LinkedIn-Version: 202511 и X-Restli-Protocol-Version: 2.0.0. Авторизация берётся из вашего подключения."
}
\ No newline at end of file
diff --git a/packages/pieces/community/linkedin/src/i18n/translation.json b/packages/pieces/community/linkedin/src/i18n/translation.json
index 8cd703fdb54..991d770bea4 100644
--- a/packages/pieces/community/linkedin/src/i18n/translation.json
+++ b/packages/pieces/community/linkedin/src/i18n/translation.json
@@ -57,7 +57,7 @@
"New destination for the call-to-action button. Leave empty to keep the current one.": "New destination for the call-to-action button. Leave empty to keep the current one.",
"URN of the post to delete, for example urn:li:share:7212345678901234567.": "URN of the post to delete, for example urn:li:share:7212345678901234567.",
"Who will own the image. Defaults to the connected member.": "Who will own the image. Defaults to the connected member.",
- "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
+ "Calls to /rest/ need LinkedIn-Version: 202511 and X-Restli-Protocol-Version: 2.0.0. Authorization comes from your connection.": "Calls to /rest/ need LinkedIn-Version: 202511 and X-Restli-Protocol-Version: 2.0.0. Authorization comes from your connection.",
"Appended to the URL as ?key=value.": "Appended to the URL as ?key=value.",
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
"On a failed request, output the error instead of failing the step.": "On a failed request, output the error instead of failing the step.",
diff --git a/packages/pieces/community/linkedin/src/i18n/zh.json b/packages/pieces/community/linkedin/src/i18n/zh.json
index ba7da1580f1..190c5a7ecd2 100644
--- a/packages/pieces/community/linkedin/src/i18n/zh.json
+++ b/packages/pieces/community/linkedin/src/i18n/zh.json
@@ -33,5 +33,6 @@
"None": "无",
"JSON": "JSON",
"Form Data": "表单数据",
- "Raw": "原始文件"
+ "Raw": "原始文件",
+ "Calls to /rest/ need LinkedIn-Version: 202511 and X-Restli-Protocol-Version: 2.0.0. Authorization comes from your connection.": "调用 /rest/ 需要 LinkedIn-Version: 202511 和 X-Restli-Protocol-Version: 2.0.0。授权来自您的连接。"
}
\ No newline at end of file
diff --git a/packages/pieces/community/linkedin/src/index.ts b/packages/pieces/community/linkedin/src/index.ts
index 73ae960d60e..1841f951abe 100644
--- a/packages/pieces/community/linkedin/src/index.ts
+++ b/packages/pieces/community/linkedin/src/index.ts
@@ -60,6 +60,15 @@ export const linkedin = createPiece({
Authorization: `Bearer ${(auth as OAuth2PropertyValue).access_token}`,
};
},
+ props: {
+ url: {
+ description: `Full URL, or a path relative to ${linkedinCommon.baseUrl}`,
+ placeholder: '/v2/userinfo',
+ },
+ headers: {
+ description: `Calls to /rest/ need LinkedIn-Version: ${linkedinCommon.linkedinHeaders['LinkedIn-Version']} and X-Restli-Protocol-Version: 2.0.0. Authorization comes from your connection.`,
+ },
+ },
}),
],
triggers: [],