After attempting to publish a Drupal post to LinkedIn account we would receive:
LinkedIn.com answered ”< : <

which upon further review of XML from LinkedIn yielded a detailed description:
“access to posting shares denied”

The issue was resolved by:

1. modifying file:
linkedin.inc

by adding line 298 (new)
$xml = str_replace(‘&’, ’&’, $xml);

after line 297
$xml .= ’’;

2. re-generating OAuth Keys for LinedIn module:
OAuth User Token
OAuth User Secret

Comments

oss-usa.com’s picture

Status: Fixed » Needs work
StatusFileSize
new385 bytes
oss-usa.com’s picture

Priority: Normal » Major
oss-usa.com’s picture

Status: Needs work » Needs review
oss-usa.com’s picture

Priority: Major » Critical
nayanalok’s picture

Hi,
Here is a patch to share post on create/ edit.

You need to use w_share flag while authentication.

nayanalok’s picture

Please find this updated patch