Getting old image while sharing page in LinkedIn - linkedin

We have updated og:image but still in LinkedIn we are getting the old image.
Is there any way to clear the catch for LinkedIn?

Unfortunately you can't clear the Cache LinkedIn is using like Facebook or Google+.
But you can add a new query parameter to the url you are sharing to let LinkedIn fetch new data:
http://mydomain.com/myarticle/?v=1 or something else like http://mydomain.com/myarticle/?foo=bar

Related

Items missing from LinkedIn API

We are looking to resolve 2 issues we are experiencing with the API we are using.
Since we upgraded to the new API, the feed no longer includes:
Profile headline
Original profile picture
How can I get these?
Also when we use Linkedin Social Sign On. Users see a message that says:
"[our business] would like to post, comment and like posts on your behalf".
We do not wish to post, comment and like posts on our customers behalf.
Is there a way to remove this messaging?
[our business] would like to post, comment and like posts on your behalf
The permission scope associated with this message is w_member_social. If you do not need this permission, remove it from the scope parameter in your requests to retrieve an access token.

Get specific info from LinkedIn

I'm trying to find a way to receive specific information from LinkedIn to display it on a website.
Exactly, I'd like to be able to get the text and the url of the embed content. Also, get the number of likes and comments that the post has received.
Has anybody done something similar before that could give me some advice?
I've been reading about the LinkedIn API but I only see info about integrating LinkedIn on your web for sharing content on LinkedIn. And what I want is the other way, getting the content from LinkedIn.
Any info would be helpful.
Thanks.

LinkedIn API: get current rate limit

Is there a way to get the current LinkedIn api rate limit ?
I see in my app page the data I'm looking for but I'd like to get it programmaticaly.
I see nothing in headers of each requests.
Other API like facebook send a header 'x-app-usage' that helps me to reduce the frequency of my calls. Is there any equivalent ?
I've found on stackoverflow other posts that tell me what are the rates but I don't want to increment a counter by my side, I have other platforms that will use the same api tokens...
Maybe late but if somebody else search this:
Login to the LinkedIn developer dashboard select your app and go to the Analytics section. If you already make API call then you see limit for that resource.

Tag friends to Facebook post + asp.net

I want to share post on users wall and tag Friends to that post
Like,
Hello All with Krish.
I am trying to check taggable_Friends api but I am not getting in current Facebook App.
I am using asp.net for this. Can anyone help on this
https://developers.facebook.com/docs/graph-api/changelog/breaking-changes#taggable-friends-4-4
All endpoints for the Taggable Friends API will now return an empty
data set:
/user/taggable_friends edge
/user-taggable-friend node
These endpoints will be deprecated in the near future.
Also, publish_actions is deprecated too, so sharing on user walls is not possible with the API anymore.

LinkedIn javascript SDK Share Dialog

How can I force LinkedIn to always show the share dialog, I am using LinkedIn JavaScript API. My current implementation is like this
IN.User.authorize(function(){
IN.API.Raw("/people/~/shares?format=json")
.method("POST")
.body(JSON.stringify(payload))
.result(function(response){
deferred.resolve(response);
})
.error(function(error){
deferred.reject(error);
});
});
If user is logged in and already has authorized the app, text is shared on LinkedIn without showing the share dialog.
I want user to have a look at the content before actually posting in on LinkedIn.
If you don't use the SDK for sharing plugin, then you can just use a raw URL and it should work fine:
https://www.linkedin.com/sharing/share-offsite/?url={url}
Source: Microsoft LinkedIn Share URL Documentation.
For example, this will bring up the prompt for me:
https://www.linkedin.com/sharing/share-offsite/?url=http://www.wikipedia.org/
Prompt works fine:

Resources