I am trying to figure out if it is possible to pass more than a shared URL when using the associated js api.
My code is:
IN.UI.Share().params({
url: 'http://www.example.com'
}).place.();
Now I tried to pass other parameters, for example:
IN.UI.Share().params({
url: 'http://www.example.com',
title: 'A Title',
summary: 'A Small summary'
}).place.();
But it worked. They seem to just ignore these extra options.
I know I can do this with a custom sharing function:
http://www.linkedin.com/shareArticle?mini=true&url={articleUrl}&title={articleTitle}&summary={articleSummary}&source={articleSource}
But I want to use js api so that I can return the token to check if it is published correctly. Using the shareArticle method, it takes about 20-30 seconds to check if it was publicly available using this: ( https://developer.linkedin.com/retrieving-share-counts-custom-buttons ).
source
share