linkedin-jsapi

Target Audience Count in LinkedIn API

穿精又带淫゛_ 提交于 2021-02-05 08:25:28
问题 LinkedIn API v1 had an api endpoint to count the number of selected target audience. The later apis has this endpoint only for Ads-API Now, I am trying to share posts using targeting criteria (Share API). I want to restrict posting if size of audience is less than 300. (As LinkedIn has a limit (audience size must be at least 300), I have to do a check first.) how do I count the size of target? (Note that, I have the count of individual categories with this endpoint: but these audiences might

Issue on IE with LinkedIn Share plugin

戏子无情 提交于 2021-02-04 08:05:24
问题 I am working for my client and there we have used LinkedIn share plugin (https://developer.linkedin.com/plugins/share) but we have been facing an issue with this plugin while using MS Internet Explorer. When the user clicks on the LinkedIn share plugin on IE, another popup window opens, this popup works fine over other browsers like Firefox, Chrome however on IE (with most users on IE11 and IE Edge), it shows an alert saying: "The webpage you are viewing is trying to close the window." If

Issue on IE with LinkedIn Share plugin

隐身守侯 提交于 2021-02-04 08:04:09
问题 I am working for my client and there we have used LinkedIn share plugin (https://developer.linkedin.com/plugins/share) but we have been facing an issue with this plugin while using MS Internet Explorer. When the user clicks on the LinkedIn share plugin on IE, another popup window opens, this popup works fine over other browsers like Firefox, Chrome however on IE (with most users on IE11 and IE Edge), it shows an alert saying: "The webpage you are viewing is trying to close the window." If

Implementing Linkedin Share API

北慕城南 提交于 2021-01-28 21:10:49
问题 I am trying to use linkedin API for sharing my web site post on linkedIn. While making an rest api call to linkedin, I am gettting below error: { "errorCode": 0, "message": "Invalid arguments: {S_400_BAD_REQUEST=Bad request}", "status": 400, } I am getting invalid arguments error. However, I am passing all the required arguments as described in LinkedIn documentation. Please help if anyone faced and resolved above error. Thanks!! 回答1: I ditched the rest api and used the js api, it was much

LinkedIn share to individual

爱⌒轻易说出口 提交于 2020-05-31 05:14:40
问题 How do I share to an individual on LinkedIn, i.e., send a message to someone on LinkedIn? http://developer.linkedin.com/documents/tags-and-templates#share The above link doesn't specify how to pass the LinkedIn id of the user. 回答1: The consensus appears to be: There is no way to setup a URL on LinkedIn to share to a particular individual. If a user wants, they can select to send their message to everyone or to a particular person, but it is up to the user: Look at the documentation URL you

can I get access token through LinknedIn JS SDK?

牧云@^-^@ 提交于 2020-02-04 01:14:11
问题 new to LinkedIn OAuth development, I want to use its JS SDK to implement login, but I can not find a way to get the access_token after I login successfully. Does LinkedIn JS SDK has some API to get it ? Just like facebook javascript api does. Thank you ! 来源: https://stackoverflow.com/questions/37509948/can-i-get-access-token-through-linknedin-js-sdk

LinkedIn Login: Blocked a frame with origin “https://platform.linkedin.com” from accessing a frame with origin

会有一股神秘感。 提交于 2020-01-13 10:34:20
问题 We had Login with LinkedIn code set up and working perfectly with LinkedIn Javascript SDK, where a few days ago we suddenly started to get this: Blocked a frame with origin "https://platform.linkedin.com" from accessing a frame with origin "https://OUR_SITE". Protocols, domains, and ports must match. And login does not complete (it returns from LinkedIn to our page and waits forever). I have no idea why we started to get this error when everything was working perfectly (we haven't changed a

LinkedIn Login: Blocked a frame with origin “https://platform.linkedin.com” from accessing a frame with origin

十年热恋 提交于 2020-01-13 10:33:51
问题 We had Login with LinkedIn code set up and working perfectly with LinkedIn Javascript SDK, where a few days ago we suddenly started to get this: Blocked a frame with origin "https://platform.linkedin.com" from accessing a frame with origin "https://OUR_SITE". Protocols, domains, and ports must match. And login does not complete (it returns from LinkedIn to our page and waits forever). I have no idea why we started to get this error when everything was working perfectly (we haven't changed a

Sign in with Linkedin doesn't trigger callback on iOS Safari when using the JS API

核能气质少年 提交于 2020-01-11 08:19:15
问题 I'm using SignIn with Linkedin on a website, via the JS API. It works fine on the few desktop browsers I've tested (Chrome and FF on Windows, Safari on MacOS), and on a slightly outdated Android Chrome. But it fails on iOS Safari (I use iOS 7). The issue is that on iOS Safari, the callback passed as argument to IN.User.authorize is not executed. The line looks like this: IN.User.authorize(this._getProfileData, this); _getProfileData is executed on the desktop browsers mentioned above and

Publishing an image without a related URL via the LinkedIn API

為{幸葍}努か 提交于 2019-12-30 06:22:07
问题 The LinkedIn Share API states that: Post must contain comment and/or (content/title and content/submitted-url). This is a bit confusing, but the consequence is that our app cannot share an image unless it has an associated "article" URL. To a degree, this makes sense, since it seems that the Share API was intended to be used to share two things: 1) simple text status updates, and 2) articles. This might be enough information to give up, but it appears that the LinkedIn web interface does,