As the title says I create a UGC share with an image, and get a successful JSON object back, but the post does not show up on LinkedIn. All help is greatly appreciated.
Here is what my JSON object looks like that I am sending.
{
content: {
contentEntities: [ { entity: 'urn:li:digitalmediaAsset:REMOVED' } ],
description: 'test',
title: '',
shareMediaCategory: 'IMAGE'
},
distribution: { linkedInDistributionTarget: {} },
subject: '',
text: { text: 'test' },
owner: 'urn:li:organization:REMOVED'
}
And here is the response I get back
{
owner: 'urn:li:organization:REMOVED',
activity: 'urn:li:activity:REMOVED',
edited: false,
subject: '',
created: { actor: 'urn:li:person:REMOVED', time: 1640873824571 },
lastModified: { actor: 'urn:li:person:REMOVED', time: 1640873824571 },
text: { text: 'test' },
id: '6882323645528711168',
distribution: { linkedInDistributionTarget: { visibleToGuest: true } },
content: {
contentEntities: [ [Object] ],
description: 'test',
title: '',
shareMediaCategory: 'RICH'
}
}
https://www.linkedin.com/feed/update/urn:li:activity:6882323645528711168/
This is what the post looks like on LinkedIn ^^ It just says "This post cannot be displayed"
Does anyone have any ideas?