Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.69 KB

File metadata and controls

30 lines (24 loc) · 1.69 KB

Zernio::LinkedInPlatformData

Properties

Name Type Description Notes
document_title String Title displayed on LinkedIn document (PDF/carousel) posts. Required by LinkedIn for document posts. If omitted, falls back to the media item title, then the filename. [optional]
organization_urn String Target LinkedIn Organization URN (e.g. "urn:li:organization:123456789"). If omitted, uses the default org. Use GET /v1/accounts/{id}/linkedin-organizations to list orgs. [optional]
first_comment String Optional first comment to add after the post is created [optional]
disable_link_preview Boolean Set to true to disable automatic link previews for URLs in the post content (default is false) [optional]
reshare_url String LinkedIn post link to repost (use the post's "Copy link to post" action), or a urn:li:share / urn:li:ugcPost / urn:li:groupPost URN. The published post becomes a quote-reshare: your content is shown as the commentary and the original post is embedded underneath (LinkedIn's "repost with your thoughts"). Mutually exclusive with media. Works on personal profiles and organization pages. [optional]
geo_restriction GeoRestriction [optional]
poll LinkedInPlatformDataPoll [optional]

Example

require 'zernio-sdk'

instance = Zernio::LinkedInPlatformData.new(
  document_title: null,
  organization_urn: null,
  first_comment: null,
  disable_link_preview: null,
  reshare_url: null,
  geo_restriction: null,
  poll: null
)