I am looking for a way to automatically publish my Wordpress blog articles to the LinkedIn publishing platform as Long-Form Post.
I've been looking at the LinkedIn Rest API doc but couldn't find a way to do it (it only explains how to share a short post with an external link). Is there a way to do it and if so can you point me in the right direction?
Thanks!
LinkedIn does not presently expose an API to submit content to the publishing platform.
Related
I avoided using the UGC API on my recent migration to v2 of the LinkedIn API because this page of the docs (dated 2/4/2019, https://learn.microsoft.com/en-us/linkedin/marketing/integrations/community-management/shares/ugc-post-api) suggests that the UGC is an "upcoming" API, only available for uploading videos, but not retrieving them (e.g. "UGC Post is currently best suited for creating and fetching video posts" and "Use the UGC Post API to create video content for organic posts and video ads. More functionality will be soon be added to the UGC Post API. As of now, you cannot retrieve the actual video content of a video post. This feature will be available soon.").
However, I just found this (https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin?context=linkedin/marketing/context#creating-a-share-on-linkedin) page, which talks about Sharing on LinkedIn, and seems to suggest using the UGC endpoint to upload text posts, article shares, and images.
Does anyone have a clear picture of what it is ready and not ready to go? I don't want to build out our app to use endpoints that are available only for testing, etc. I would like to know that LinkedIn officially supports the APIs that I am using in my app. I know LinkedIn monitors SO and touts it as part of their official mechanism for support, so I am posting this here.
At any rate, it might be a good idea to bring these two pages into alignment to prevent confusion like this.
===
EDIT: Noticed today that the link to the UGC docs is now time-stamped 4/10/2019. Not immediately clear to me what the changes between 2/4 and 4/10 are.
We use LinkedIn V2 UGC API to post articles, images etc. and it works fine. However, uploading video results in an error that we do not have permission. I am not sure if there is any special permission that is needed even when we can post images fine.
We use UGC API (V2).Here is documentation for reference https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin?context=linkedin/marketing/context#creating-a-share-on-linkedin
Video upload end point is not yet released. if you access that it will return permission required response.
I'm trying to make my website shareable on LinkedIn.
URL : https://www.jedecouvremercator.com/
My website is W3C validate. I have followed all the LinkedIn recommendations and Google recommendations. My Open Graph meta is correct and the website is shareable on all other platforms.
But when I'm trying to share it on LinkedIn or when I use a custom link to share it, LinkedIn can't display the meta information.
(I always use garbage into the URL to kill cache before verifying my changes).
Can somebody tell me why?
Thanks a lot.
The site in your URL is down, and you didn't post any code, so that makes this difficult, but not impossible. I can still view your URL through archive.org, and when I try to share the archive.org URL, like this...
https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fweb.archive.org%2Fweb%2F20190618064744%2Fhttps%3A%2F%2Fwww.jedecouvremercator.com%2F
When I click the above, everything works perfectly fine for me. Example:
If you need more info: Official LinkedIn Documentation for Formatting URL and Official LinkedIn Documentation for OpenGraph Tags and Prefilled Sharing.
I wonder how can I remove a post from my profile and company using API in my system. What parameter should I spend? Anyone have any idea?
There are no APIs available for removal of a LinkedIn share. It has to be done manually through the web/mobile UI.
We have created a SharePoint 2010 web part where we display our company feed from https://www.linkedin.com/company/"Name of Company"/.
End-users need to login the first time (that is ok). But even though they login using their personal LinkedIn profile, they cannot see our company-feed. Why is that?
If the users are set as LinkedIn Designated Admins they can see the feed, otherwise they cannot.
We are using
<script type="text/javascript" src="//platform.linkedin.com/in.js">
api_key: "The key"
lang: da_DK
authorize: true
onLoad: onLinkedInLoad
</script>
I hope someone can share their knowledge.
This is why :'( https://developer.linkedin.com/blog/posts/2015/developer-program-changes
Starting on May 12, 2015, we will be limiting the open APIs to only support the following uses:
Allowing members to represent their professional identity via their LinkedIn profile using our Profile API.
Enabling members to post certifications directly to their LinkedIn profile with our Add to Profile tools.
Enabling members to share professional content to their LinkedIn network from across the Web leveraging our Share API.
Enabling companies to share professional content to LinkedIn with our Company API.
Only people who can admin the feed can read/update to the company feed. All others are excluded unless you manage to get yourself promoted to LinkedIN partner: https://developer.linkedin.com/partner-programs
Some light on this issue over here:
As ahmeij said, Linkedin doesnt provide anymore an easy way of embedding your company/personal profile timeline anywhere. However, there is an alternative way of implementing this.
You will make use of the RSS feed of the profile. The url will be something like this:
https://www.linkedin.com/biz/[PROFILE ID]/feed?start=0&v2=true
You can find out the numeric ID in you profile/company page.
Read the full source here: https://www.glintech.com/blog/confluence-embed-linkedin-company-feed.html
I found the way to implement a CORS proxy, and got this working.
I used this simple PHP CORS proxy
However, LinkedIn site doesn't return any information from this URL anymore, it just returns a [301 - moved permanently] error :_(
As Alberto mentioned in the post below a RSS feed can be used to create an embed code. To enable RSS on your LinkedIn and get the RSS link you can follow this guide. Then you can use this plugin to generate an embed code of the feed.
You can use a social wall solution like Walls.io to add LinkedIn company feeds to your Sharepoint website. The tool generates an iframe or JavaScript code that you can embed. Here's an article on how it works on SharePoint.
I wanted to integrate social websites using their API. Is there any free API which ease this work? Like Facebook, LinkedIn and Google.
My intention is to give the user the opportunity to login/register through these websites to
get profile information specially from LinkedIn and Facebook.
Check out the Facebook SDK. There is a NuGet which will get you started quickly:
Documentation
Source code
Facebook has a great API for that and documentation, and you can download the Facebook API if you need it.