linkedin-api

Using LinkedIn API with Python

你。 提交于 2019-12-10 17:09:06
问题 I am trying to use LinkedIn API for getting user logged in to our system based on google app engine. I am using ozgur/python-linkedin library for implementing it. Now so far I am getting able to print authentication.authorization_url , and obtain the authentication.authorization_code . authentication = linkedin.LinkedInAuthentication(API_KEY, API_SECRET, RETURN_URL, linkedin.PERMISSIONS.enums.values()) print authentication.authorization_url # open this url on your browser application =

Linkedin API user shares statistics

一曲冷凌霜 提交于 2019-12-10 16:17:14
问题 Maybe I'm missing something about the LinkedIn API endpoints, but it seems to me like Linkedin API does not have endpoint URL for profile(wall) published post statistics (likes,comments) or even organic search statistics (impressions,clicks,engagement). That is weird because company API has endpoints and decent documentation for their published content. I know that since 2016 LinkedIn has changed its policies. I tried with /v1/people/~/shares/updates and /v1/people/~/network/updates (forum

Incorrect sorting on retrieve shares via api.linkedin.com/v2/shares

半世苍凉 提交于 2019-12-10 11:32:12
问题 According to the documentation, shares are ordered by creation time with the most recent share being the first. But when I request shares, they received with sorting by last modified time . Example: https://www.linkedin.com/company/cadencepcb/ Request: curl -H "Authorization: Bearer TOKEN" -H "Accept: application/json" "https://api.linkedin.com/v2/shares?owners=urn:li:organization:28610896&q=owners&sharesPerOwner=10&start=0" Response: receive list of shares with this sequence: Created: 05/27

Linkedin V1 update-comments-as-company api throws 500 error code

浪尽此生 提交于 2019-12-10 10:26:29
问题 We are using Linkedin v1 api update-comments-as-company endpoint to post comments on behalf of company page managed by the user. Nowadays this endpoint throws 500 error response while trying to add comment. Example request: curl -X POST -H "Authorization: Bearer xxxx" -H "Content-Type: application/json" -H "x-li-format: json" 'https://api.linkedin.com/v1/companies/12345/updates/key=UPDATE-c12345-640455667889990765/update-comments-as-company' --data '{"comment": "Posting as a company!"}'

Permissions to access Linked In privatePlayableStreams - 500 or 403 error

牧云@^-^@ 提交于 2019-12-10 09:43:00
问题 I have a next issue using Linked In API V2: curl -X GET --header 'Accet: application/json' --header 'Authorization: Bearer <my token>' 'https://api.linkedin.com/v2/adCreativesV2/62119114?projection=(variables(data(com.linkedin.ads.TextAdCreativeVariables(vectorImage~:privatePlayableStreams))))' | json_pp { "variables" : { "data" : { "com.linkedin.ads.TextAdCreativeVariables" : { "vectorImage" : "urn:li:digitalmediaAsset:C560EAQFjbUgC1TlCcw", "vectorImage!" : { "message" : "URN Resolution

Linkedin Open Graph Sharing not working

亡梦爱人 提交于 2019-12-09 21:36:20
问题 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

Message preview is different depending on LinkedIn profile

荒凉一梦 提交于 2019-12-09 13:56:09
问题 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

Get more details on Linkedin share api 500 Internal Service Error

梦想与她 提交于 2019-12-09 07:06:49
问题 I am posting here because of LinkedIn has no api support. We continue to receive an error for certain token's when using the share api. Our code has not changed and these users have successfully utilized the api in the past. { "errorCode" : 0, "message" : "Internal service error", "requestId" : "AC4KMS1HP3", "status" : 500, "timestamp" : 1521427562451 } How can we get more information / details about this error? UPDATE I was able to get a generic response from LinkedIn, using the cases, at

Creating a Linkedin App: Can't see my Company page in the list

ε祈祈猫儿з 提交于 2019-12-08 05:13:02
问题 Im trying to create a Linkedin app so I can use it for social login in my app. Could you help me with the following case: 1) I'm trying to create a Linkedin app (https://www.linkedin.com/developers/apps/new) 2) I'm trying to select our Company in the "Company" field (I am an admin of our company Linkedin page: https://www.linkedin.com/company/28127545/ which was created a long time ago) 3) I can't see our Company on the list (but I can see other companies) How can I create an app and select

Error on sharing the content to LinkedIn

放肆的年华 提交于 2019-12-08 01:50:11
问题 I have successfully integrated LinkedIn native application in my application using LinkedIn mobile SDK . I am able to login successfully with my application but the problem is with sharing the content. While I successfully logged in , want to share my content to Linked in but it always give me error response { "errorCode": 0, "message": "Access to posting shares denied", "requestId": "MBB3L0G1KZ", "status": 403, "timestamp": 1452172936679 } though i have added all permission to LinkedIn I