Back to Autogpt

Ayrshare Post To LinkedIn

docs/integrations/block-integrations/ayrshare/post_to_linkedin.md

0.6.443.0 KB
Original Source

Ayrshare Post To LinkedIn

<!-- MANUAL: file_description -->

Blocks for posting content to LinkedIn using the Ayrshare social media management API.

<!-- END MANUAL -->

Post To LinkedIn

What it is

Post to LinkedIn using Ayrshare

How it works

<!-- MANUAL: how_it_works -->

Add technical explanation here.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
postThe post text (max 3,000 chars, hashtags supported with #)strNo
media_urlsOptional list of media URLs. LinkedIn supports up to 9 images, videos, or documents (PPT, PPTX, DOC, DOCX, PDF <100MB, <300 pages).List[str]No
is_videoWhether the media is a videoboolNo
schedule_dateUTC datetime for scheduling (YYYY-MM-DDThh:mm:ssZ)str (date-time)No
disable_commentsWhether to disable commentsboolNo
shorten_linksWhether to shorten linksboolNo
unsplashUnsplash image configurationstrNo
requires_approvalWhether to enable approval workflowboolNo
random_postWhether to generate random post textboolNo
random_media_urlWhether to generate random mediaboolNo
notesAdditional notes for the poststrNo
visibilityPost visibility: 'public' (default), 'connections' (personal only), 'loggedin'strNo
alt_textAlt text for each image (accessibility feature, not supported for videos/documents)List[str]No
titlesTitle/caption for each image or videoList[str]No
document_titleTitle for document posts (max 400 chars, uses filename if not specified)strNo
thumbnailThumbnail URL for video (PNG/JPG, same dimensions as video, <10MB)strNo
targeting_countriesCountry codes for targeting (e.g., ['US', 'IN', 'DE', 'GB']). Requires 300+ followers in target audience.List[str]No
targeting_senioritiesSeniority levels for targeting (e.g., ['Senior', 'VP']). Requires 300+ followers in target audience.List[str]No
targeting_degreesEducation degrees for targeting. Requires 300+ followers in target audience.List[str]No
targeting_fields_of_studyFields of study for targeting. Requires 300+ followers in target audience.List[str]No
targeting_industriesIndustry categories for targeting. Requires 300+ followers in target audience.List[str]No
targeting_job_functionsJob function categories for targeting. Requires 300+ followers in target audience.List[str]No
targeting_staff_count_rangesCompany size ranges for targeting. Requires 300+ followers in target audience.List[str]No

Outputs

OutputDescriptionType
errorError message if the operation failedstr
post_resultThe result of the postPostResponse
postThe result of the postPostIds

Possible use case

<!-- MANUAL: use_case -->

Add practical use case examples here.

<!-- END MANUAL -->