linkedin-jsapi

Display number of LinkedIn shares, client-only, without authentication

一曲冷凌霜 提交于 2019-12-25 04:23:11
问题 https://www.linkedin.com/countserv/count/share?url=stackoverflow.com&format=json correctly shows the number of shares for meteor.com (935 at the moment). I'm trying to display that number in the client: $.getJSON('https://www.linkedin.com/countserv/count/share?url=stackoverflow.com&format=json&callback=?', { dataType: "jsonp" }, function (data) { alert(data.count); }); Because of the X-Content-Type-Options: nosniff header being returned, I'm getting the refuse to execute script error in

LinkedIn OAuth failed with https_required error message

。_饼干妹妹 提交于 2019-12-24 14:02:31
问题 Our goal is to get the access token from Linked In API so that we can fetch the current user detail. We are following the API mentioned here: OAuth 2.0 Client Credentials Flow (2-Legged) The response we are getting from the API is: {"error":"https_required","error_description":"The client is not authorized"} Here is the request made via ARC: Here is the setup at the LinkedIn App Management portal: The URL from where the LinkedIn login is being called (the Client) You can verify from the above

LinkedIn OAuth token with Javascript SDK

人盡茶涼 提交于 2019-12-24 01:18:25
问题 I was integrating LinkedIn sign-in with my web application, Initially I was doing the implementation using JS SDK. After I realised that for iOS Mobile Devices, LinkedIn does not support JS SDK. So Currently I am using OAuth implementation. My question is, Is there any way to use JS SDK after getting OAuth login success and after getting the access token . My point is, I don't want to do the logic for token validation, expiration etc . PS - Similar feature I have found in Facebook SDK, they

Embedding LinkedIn company updates / feeds

不打扰是莪最后的温柔 提交于 2019-12-23 17:14:02
问题 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

LinkedIn Integration in iOS: Invitation API not working

让人想犯罪 __ 提交于 2019-12-19 04:20:11
问题 I'm trying to integrate LinkedIn in my iOS application, where I need to Authenticate, then fetch profile details and post to LinkedIn from my app. I do all these things quite successfully using this sample project LinkedIn OAuth Sample Client as reference, I did some modifications and everything is working quite well. And I use the details from LinnkedIn API as well to implement this. Next, I need to send invitation to connect in LinkedIn from the same app. I tried using Invitataion API .

Linkedin JS SDK Share responding with success but not working

独自空忆成欢 提交于 2019-12-11 07:44:02
问题 So, I've been messing around with the Share function of the Linkedin's JS SDK. I've followed their example (under Javascript SDK tab): https://developer.linkedin.com/docs/share-on-linkedin I've managed to authenticate and make the POST request to their API, and even managed to get a response just like what they show in the docs (with updateKey and updateUrl). But the Url doesn't work, and when I go to my Linkedin account, the content wasn't shared. I'm able to make the same POST request

How to refresh Linkedin oauth token if the user authorized the app through oauth2 authorization?

跟風遠走 提交于 2019-12-10 15:39:13
问题 I need to refresh the user linkedin access token without them having to go through the initial authorization process all over again. I have also looked at this documentation http://developer.linkedin.com/documents/exchange-jsapi-tokens-rest-api-oauth-tokens, but It doesn't work because my users authorize the app through regular OAuth and the article uses the JS OAuth. (Not sure, if there is a difference between two processes, and if there is a difference between access tokens received from

Unknown authentication scheme on LinkedIn API

懵懂的女人 提交于 2019-12-08 17:11:37
问题 I'm using OAuth 1.0a for LinkedIn API. Currently, I've already implemented some calls for getting the profile and connections and they all seem to work fine. But for sending a message, the oauth library throws an exception with the following: { "errorCode": 0, "message": "Unknown authentication scheme", "requestId": "I2Y0MFJ8ME", "status": 401, "timestamp": 1378376573339 } I'm using PHP PECL OAuth. I'm initializing the $oauth object like this: $oauth = new OAuth(API_KEY, API_SECRET, OAUTH_SIG

How to retrieve the list of positions including all the fields using the LinkedIn javascript sdk?

江枫思渺然 提交于 2019-12-07 11:19:25
问题 I want to get the id, title, summary, start-date, end-date, is-current and company name for each position that a LinkedIn member has entered on its profile. I tested a query on the REST Console and I got the desired result. The query is "https://api.linkedin.com/v1/people/~/positions:(id,title,summary,start-date,end-date,is-current,company)?format=json". The problem is that when I try to do the same thing using the LinkedIn javascript SDK I'm not getting the whole list of fields for each

Is LinkedIn OpenID Connect provider? How can it be used with AWS Cognito Federated Identity?

99封情书 提交于 2019-12-06 23:40:07
问题 The AWS Cognito documentation is very sketchy when it comes to explaining OpenID Connect providers or how to implement auth using say LinkedIn. The nearest example is of SalesForce https://aws.amazon.com/blogs/security/building-an-app-using-amazon-cognito-and-an-openid-connect-identity-provider/ These steps did not work for LinkedIn using it Javascript SDK. Not able to retrieve id_token similar to FB or Google JS SDK. AWS needs id_token to return the AWS credentials. Anyone has successfully