İçeriğe geç
YENİPazar yeri ve ekibin: geliştirdiğini sat; planlar ve değişiklikler sen görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Sosyal Medya Yayıncılığı

Sosyal Medya Yayıncılığı

Webhook ile LinkedIn metin, görsel veya video paylaşımları yayınla

Webhook üzerinden isteğe bağlı görseller veya videoyla birlikte paylaşım metnini alır, medyayı LinkedIn'e yükler, paylaşımı yayınlar ve herkese açık URL'sini döndürür.

Ne yapar

## Publish LinkedIn posts with images or video from one webhook How it works - A webhook receives text plus optional image_urls (1 to 20) or one video_url. - The workflow picks the route: text only, single image, multi-image post (Posts API) or native video (upload, then post). - Media is downloaded from your URLs and uploaded to LinkedIn, so nothing has to be stored first. - The response contains the public post URL, or HTTP 500 with LinkedIn's reason. Setup steps 1. Create a LinkedIn app with the *Share on LinkedIn* product and an n8n LinkedIn OAuth2 API credential (scope w_member_social). Attach it to every LinkedIn HTTP node. 2. In "Set LinkedIn Settings" enter your person ID as author_id (the sub value of GET https://api.linkedin.com/v2/userinfo). 3. POST e.g. {"text": "Hello LinkedIn", "image_urls": ["https://example.com/a.png"]} to the webhook. Good to know - The native LinkedIn node cannot post multi-image carousels or native video, hence HTTP Request. - Linkedin-Version is a monthly API version. Update it in the settings node when LinkedIn retires yours. - Text is escaped for LinkedIn's "little" format, so (, * or _ show up literally. - Protect the webhook with Header Auth before you expose it.

Adımlar

  1. Receive Post Request
  2. Set LinkedIn Settings
  3. Validate and Normalize Input
  4. Is Video?
  5. Has Images?
  6. Register Video Upload
  7. Download Video
  8. Upload Video to LinkedIn
  9. Create Video Post
  10. Split Images
  11. Register Image Upload
  12. Download Image
  13. Upload Image to LinkedIn
  14. Build Image Post

Toplam 21 adım.

Benzer otomasyonlar