Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Add content when posting to Groups #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yanik-berube
Copy link

Adds the ability, when posting to a Group, to include content. Content can contain a title, an image preview URL (submitted-image-url), and a description (these are all optional) and must contain a link/URL (submitted-url).

Details of the corresponding LinkedIn API can be found at https://developer.linkedin.com/documents/groups-api#create

Implementation detail: the GroupPost and GroupPost.Content classes do not extend the LinkedInObject since it automatically adds the extraData field to the JSON payload in the request and LinkedIn rejects these.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant