linkedin-api

Retrieving Linkedin DSC Name via API

霸气de小男生 提交于 2020-01-06 08:33:08
问题 I'm trying to retrieve the "DSC Name" of creatives via the Linkedin API. These are included in the performance report exportable through the Linkedin campaign manager but I can't find any reference to this field in the API documentation. I can retrieve creatives no problem through the adCreativesV2/<creative_id> endpoint and I've tried some projections there as well but nothing seems to return that field. 来源: https://stackoverflow.com/questions/55422121/retrieving-linkedin-dsc-name-via-api

Ad Targeting - Find Entities by URNs API ClassCastException error message

冷暖自知 提交于 2020-01-06 06:00:08
问题 I have some problem with the "Find Entities by URNs" API in order to retrieve the metadata and value information for a collection of URNs. If I use the URL described in the doc (Sample request) with a valid access token: https://api.linkedin.com/v2/adTargetingEntities?q=urns&urns=List(urn%3Ali%3AfieldOfStudy%3A100990,urn%3Ali%3Aorganization%3A1035,urn%3Ali%3Aseniority%3A9)&locale=(language:en,country:US)&oauth2_access_token=<a-valid-token> I receive the message: { "serviceErrorCode": 0,

LinkedIn, 401, Unable to verify access token

南笙酒味 提交于 2020-01-05 04:31:25
问题 I used this guide to built a showcase - sign in with LinkedIn into a specific site. Everything worked perfectly until I demonstarted it in front of a wide audience and it broke down :-( It was a great FAIL and I want to know why. Here is what I do: 1.On the sign in page the user may click a Sign in with LinkedIn button and is redirected to similar link: https://www.linkedin.com/oauth/v2/authorization?redirect_uri=[my_callback]&client_id=[my_client_id]&response_type=code&state=[securely_random

Linkedin API Pulse Share

落爺英雄遲暮 提交于 2020-01-02 08:30:11
问题 I am trying to integrate my blog to Linkedin Pulse by connecting to my linkedin app. I found that posting to API /v1/people/~/shares shares my update but I can't figure out how to post it on Pulse - long post. Is it even possible? Cheers! 回答1: Posting on Pulse is not available using LinkedIn's public API. And as far as I know, they are not offering this to their partners either. 回答2: Managed to fix it with Curl. The tool is logging in to your linked in (user and password). Gathers the token

How do I upload a photo / image to LinkedIn via API?

久未见 提交于 2020-01-02 05:11:10
问题 LinkedIn has a /share API endpoint which accepts a link and a message. The link is afterwards expanded to an OpenGraph card and that gives you a way to stick an image preview in there, but it seems there's no other way to upload an image/picture to LinkedIn feed like you can do in the web app itself. Is there a way, private API, undocumented endpoint or some other way to do that? 回答1: Creating a rich media share is done in two steps. First, the media is uploaded to LinkedIn's media platform.

Linkedin v2 api: Not enough permissions to access: GET /countriesV2

◇◆丶佛笑我妖孽 提交于 2020-01-01 19:21:08
问题 While fetching organization follower statistics using LinkedIn v2 API I used country projection to get country, region, industries, functions details also. But it throws error for countries alone, other details are included as expected. URN Resolution failed for unknown reasons.: com.linkedin.restligateway.exceptions.GatewayAccessException: Not enough permissions to access: GET /countriesV2 My query is curl "https://api.linkedin.com/v2/organizationalEntityFollowerStatistics?q

Hitting the http get request for linkedin giving error in angular 2

风格不统一 提交于 2019-12-31 03:02:31
问题 I am doing signup with linkedin and need to fetch access code and basic profile details. But when I post the request, I am getting CORS error in my console, when I hit the URL directly in browser, it takes me to the signin page correctly. What would be the problem hitting the request? CORS issue resolved: I found localhost:4200 does not had '/' and after including it , CORS error was resolved , but hitting my http.get is having a problem component: import { Injectable } from '@angular/core';

linkedin : Invalid redirect_uri. This value must match a URL registered with the API Key

自闭症网瘾萝莉.ら 提交于 2019-12-30 02:43:25
问题 I am using 'omniauth-linkedin-oauth2'. When I am login with linkedin then I am getting this error Invalid redirect_uri. This value must match a URL registered with the API Key. This is my settings: 回答1: Went back to LinkedIn developer site (https://www.linkedin.com/secure/developer ) to check my setting again. Everything matches API Key, Secret Key and OAuth 2.0 Redirect URLs. Searched web looking for some clues. Couldn’t find a one. Crazy issue : Then I saw that in the URL Owin was appending

linkedin “this application is not allowed to create application tokens” [closed]

浪子不回头ぞ 提交于 2019-12-29 01:37:12
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . My main problem is getting the token. I can’t go further than this step. In the Linkedin API's docs there are two ways described to obtain the token. Witch is the correct one? 1) https://developer.linkedin.com/docs/v2/oauth2-client-credentials-flow 2) https://developer.linkedin.com

Linkedin API - UGCPost Video url is missing

余生长醉 提交于 2019-12-25 01:43:30
问题 I am using following endpoint to fetch posts https://api.linkedin.com/v2/ugcPosts?q=authors&authors[0]=urn:li:organization:XXXX&count=100&start=0 "media": [{ "recipes": [ "urn:li:digitalmediaProcessedAsset:(urn:li:digitalmediaAsset:XXXXXXXXXX,urn:li:digitalmediaRecipe:feedshare-video-captions-thumbnails)" ], "media": "urn:li:digitalmediaAsset:XXXXXXXXXX", "thumbnails": [], "status": "READY" }] I could see only digitalmedia Asset, But couldn't find original Url like sharable url like https:/