linkedin-api

Linkedin Open Graph Sharing not working

我怕爱的太早我们不能终老 提交于 2019-12-04 16:28:51
I have a page setup for Open Graph Protocol because our app is built upon Angular 1.x now when we share a URL using LinkedIn. Share Popup opens but it does not crawl open graph tags sometimes and sometimes it shows the proper crawl tags it was working fine till last week. here is the image which shows the preview area: Scenario for sharing a link: User comes on our site: www.example.com/event/[EVENT_ID] and clicks share to LinkedIn. Popups opens using: https://www.linkedin.com/shareArticle?mini=true&url=https://example.com/event/0u83s43rf6r/4295028179 where 4295028179 is event id and

LinkedIn Company Feed

自作多情 提交于 2019-12-04 07:39:20
I am the owner and admin of a LinkedIn company page: https://www.linkedin.com/company/{id}/ . I want to connect to LinkedIn and get return a JSON-feed with latest 10 posts on my company wall to display on my website so I touch on the service https://api.linkedin.com/v1/companies/{id}/updates?format=json . The JSON is outputted in linkedin.php . This file is then included in my web page, say index.php . I have registrered an app at https://developer.linkedin.com . I have entered my Client ID and Client Secret in PHP-LinkedIn-SDK available here https://github.com/ashwinks/PHP-LinkedIn-SDK . I

What LinkedIn API permission am I missing to get organization target name?

£可爱£侵袭症+ 提交于 2019-12-04 05:21:33
问题 Using LinkedIn API v2.0 I'm currently trying to get a list of organisation ids and names for authenticated user that they are administrator of. I'm able to get all organisation ids using: https://api.linkedin.com/v2/organizationalEntityAcls?q=roleAssignee&role=ADMINISTRATOR&start=0&count=100&fields=organizationalTarget&oauth2_access_token={{OAUTH_ACCESS_TOKEN}} but when I add "organizationTarget~" as apart of fields parameter I get an error saying "not enough permissions to access field

LinkedIn share callback Javascript SDK/API v2

▼魔方 西西 提交于 2019-12-04 03:02:05
问题 I am trying to share content through the LinkedIn JavaScript SDK. But LinkedIn just updated their API and I cannot figure out how to: share a URL inside a popup and get a callback on a successful share. With the old LinkedIn share plugin you had something like this: https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/plugins/share-plugin <script src="//platform.linkedin.com/in.js" type="text/javascript">lang: en_US</script> <script type="IN/Share" data-url="https://www

HTTP 500 response using v1 linkedin companies shares api

孤街浪徒 提交于 2019-12-03 22:12:46
问题 It's been 2 days that trying to post content through LinkedIn API for a specific company page is failing with "Internal service error". Strangely, it only happens to this specific company page (id: 10684715) not any other company pages we post to! the code is in php. I have checked the company page to see if there is any information that helps and could find nothing. Also, posting the same content directly to LinkedIn works but not through API. Same code and similar requests worked previously

Message preview is different depending on LinkedIn profile

不想你离开。 提交于 2019-12-03 21:10:52
My company uses LinkedIn Share API to publish messages on LinkedIn profiles sharing content from WordPress posts. One thing that is driving me crazy right now is that when I share the same URL and content to two different profiles, the preview cards that result from that are different. On one profile I got a full image preview like the following: But the same content (same API params to share) produce this different preview: I'm trying everything I can to get a consistent behavior. I'd like to have all previews being full size previews like the one shown in the first screenshot. API

LinkedIn historical-follow-statistics API for current day does not match current follower count

邮差的信 提交于 2019-12-03 20:31:06
Hitting the Historical Follower Count API documented at https://developer.linkedin.com/docs/company-pages#historical_followers URL is: https://api.linkedin.com/v1/companies/{id}/historical-follow-statistics?time-granularity=day&start-timestamp=1501718400000&end-timestamp=1501718400000&format=json Those timestamps are both for today. Response is: [ "_total" => 1, "values" => [ [ "organicFollowerCount" => 932, "paidFollowerCount" => 84, "time" => 1501718400000.0, "totalFollowerCount" => 1016, ], ], ] But the actual current follower count on the Company's page is 1009 Which of these number is

Bad request: Attempting to associate a ugc with an asset that's not owned by the author

独自空忆成欢 提交于 2019-12-03 17:57:57
问题 I'm trying to migrate my app from LinkedIn API v1 to v2. I'm currently looking at sharing images (natively) to my personal LinkedIn profile. I'm following the official docs here: https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin#create-an-image-share To register the image I made the following POST request: to https://api.linkedin.com/v2/assets?action=registerUpload { "registerUploadRequest": { "recipes": [ "urn:li:digitalmediaRecipe:feedshare-image"

Internal service error on linkedin rest api [closed]

陌路散爱 提交于 2019-12-03 15:30:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I'm working on an app that uses LinkedIn api. Since about two days I can't get any response from the endpoint "company-statistics". To be more specific, I'm calling https://api.linkedin.com/v1/companies/2414183/company-statistics?format=json And all I can get is an "internal service error", a sort of 500. I tried

LinkedIn V2 API permission for reading socialActions and Shares

我的未来我决定 提交于 2019-12-03 12:16:07
I get no permissions error when i make the following linkedIn V2 Api call https://api.linkedin.com/v2/socialActions/ {share URN}?oauth2_access_token={access token} LinkedIn Api Response { serviceErrorCode: 100, message: "Not enough permissions to access /socialActions/{target} GET ", status: 403 } These are the Default application Permissions can someone please help on this. (Need to make this work on V2 api) Your API call will return a 403 Forbidden error if you do not have the appropriate admin permission to interact with the target company. The following endpoints are the only ones