Questions tagged [linkedin-api]

0

votes
0

answer
2

Views

Upload Image Binary File for Image Share Returns “Invalid Access Token”

According to the LinkedIn docs, in order to create an Image Share with the API, you have to first register the Image by using /assets?action=registerUpload. You then use the uploadUrl returned to upload the image as a binary file like this (from the LinkedIn docs): curl -i --upload-file /Users/peter...
James
1

votes
1

answer
2.2k

Views

LinkedIn api - get company updates

I'm trying to fetch Company updates using LinkedIn's api. Somehow I can't get this to work. I can see console.log('On auth'); in the console, but after that nothing happens. It's like it stops with that function... No visible errors, no other console messages. Does anyone have an idea what could be...
Meek
1

votes
2

answer
790

Views

Can we detect if page shared on Twitter and LinkedIn

I am designing an Ecommerce website in PHP, on product page there is Twitter and LinkedIn share button, if user shares that product page than he will get $5 discount. Now my query is how can I detect if that product/page successfully shared on Twitter or LinkedIn, so I can apply that discount. Is th...
Vksingh
1

votes
1

answer
41

Views

Know when OAuth2 token will expire

Is it possible to know when an OAuth2 token will expire? Are there best practices with regard to dealing with tokens that may have expired and you don't know exactly when? You could try to use the token and then fail and then request a new token, or you could just request a new token and save yourse...
Alexander Mills
1

votes
1

answer
1.6k

Views

Linkedin API rest request for profile

recently I've tried to use the LinkedIn API and I've faced a really basic problem, but I couldn't understand the basic usage of this API. In another APIs you can get information on another person. but in LinkedIn I couldn't figure out how to do it. I've already tried the urls below, but it didn't wo...
Elad Barack
1

votes
1

answer
414

Views

Valid JavaScript API Domain for linkedIn to use in Chrome extension

What should be a better way to specify a valid SDK domain for LinkedIn Oauth while using it in your Chrome extension? I am trying implement LinkedIn Oauth in my chrome extension and got confused because chrome extension it completely different environment than a simple web application. Don't what sh...
Faisal Ijaz
1

votes
2

answer
487

Views

What is the best way to implement LinkedIn Authentication in MVC6 ASP.NET5 web app

There is no LinkedIn-specific library from Microsoft like Microsoft.AspNet.Authentication.Facebook. The third party libraries I tried are designed for ASP.NET4.5.
mkvakin
1

votes
1

answer
313

Views

Laravel with Linkedin API error - ServiceFactory::createService() must be an instance of OAuth\Common\Storage\TokenStorageInterface

I'm using Laravel to develop my website, and I integrated the linkedin login to it, it works fine for like a few months. then suddenly, last week i received an error. I didn't change any code that has something to do with Linkedin API. I'm suspecting whether it has something to do with Linkedin itse...
KennethC
1

votes
1

answer
1.9k

Views

how to get companies data using linkedin api?

I am trying to get the data from linkedin companies api.The below is the api I am using. https://api.linkedin.com/v1/companies/162479/shares?format=json While I am running the code I am getting 403 error for this api ERROR : Exception in thread 'main' java.io.IOException: Server returned HTTP respo...
bunny sunny
1

votes
1

answer
50

Views

Sign in with LinkedIn PHP Code issue

The code down below was implemented by me to retrieve specific details from LinkedIn accounts and save them to the database. Although they are retrieving correctly data is not saving to the database correctly. Not sure something wrong with my query. Please have a look at my coding and point out the...
Ryan Oscar
1

votes
1

answer
135

Views

linkedin v2 api: combine projection and decoration

Using Postman, I can query the endpoint to retrieve comments on a share: https://api.linkedin.com/v2/socialActions/urn:li:share:myshare/comments?count=35 and we have a response like { 'paging': { 'count': 10, 'start': 0 }, 'elements': [ { 'actor': 'urn:li:person:x', 'created': { 'actor': 'urn:li:per...
Mr. Mastodon Farm
1

votes
2

answer
1.1k

Views

Unable to make LinkedIn API calls from localhost with Axios

I am trying to access linkedin profile using axios get request, which doesn't work on localhost and I get the following error XMLHttpRequest cannot load https://api.linkedin.com/v1/people/~:(id,email-address)?format=json. Response to preflight request doesn't pass access control check: No 'Access-Co...
iphonic
1

votes
2

answer
42

Views

iOS Log-in with LinkedInSDK

I need to provide an authorization with LinkedIn for my app. I set up my app by this tutorial: https://developer.linkedin.com/docs/ios-sdk Then, Try to LogIn using this method: - (void)login:(UIViewController *)controller{ NSArray *permissions = [NSArray arrayWithObjects:LISDK_BASIC_PROFILE_PERMISSI...
Dr_Mom
1

votes
1

answer
1k

Views

LinkedIn REST API extract analytics for personal posts

I'm trying to extract analytics data for personal posts from the LinkedIn API. Appears you can get some useful data for company posts, e.g. https://api.linkedin.com/v1/companies/[companyid]/historical-status-update-statistics, but there's very little documentation on the API for personal posts. (As...
Bill Peet
1

votes
1

answer
201

Views

User Data import through Linkedin

I am working on user data form on my website. User will have to share info like Education, past experiences, awards, mention ( and later verified by us) I think it would be easier to just import this info through users' linkedIn ( They will be asked to connect their linkedIn) We don't wnat to incor...
shrbisht
1

votes
1

answer
407

Views

Linkedin API - Bad Redirect, invalid redirect URI

I am using this code with my client ID and client secret: https://github.com/DEKHTIARJonathan/python3-linkedin/blob/master/examples/oauth2_authentication.py However, when getting the url back in the command line and putting it into the browser I am getting 'invalid redirect_uri. This value must matc...
dasvootz
1

votes
1

answer
104

Views

LinkedIn v1 to v2 API migration

As per LinkedIn announcement, we need to migrate to version 2.0 of our APIs and OAuth 2.0 so as per release document I have change my GETrequest url from https://api.linkedin.com/v1/people/~:(first-name,last-name,email-address,skills,educations,positions,location,phone-numbers)?requestToken?scope=rw...
A.R.
1

votes
1

answer
1.1k

Views

Accessing LinkedIn data via API using python (and authorisation in general)

I'm trying to access LinkedIn data via API (I don't have an app, I just want to access company data - or see what can be accessed). There are other questions here on this topic, but most are out of date (using packagaes which precede LinkedIn's current authorisation process). I followed the LinkedIn...
Jaber
6

votes
1

answer
271

Views

permission error while making ugc video post on linkedin

I am trying to create video post on linkedin with new ugc endpoint there are two steps to create this type of post 1). Upload video asset on linkedin server (done) 2). make post request to ugc endpoint with request body I have successfully uploaded the video but getting authentication error for ugc...
sachin jangid
1

votes
1

answer
205

Views

Issue with OAuth2 returning now Access_denied

I'm using Linkedin SSO on my website for more than a year now it has always performed as ask, until today. My website is an ASP.NET MVC5 website (C#). I use the classic Oauth2 integration and everything was working fine until yesterday when I changed the domain of my website. I changed in the develo...
Pierre Lasvigne
1

votes
1

answer
100

Views

Linkedin API access token fetch exception

When I want to obtain access token, it throws WebException. The following code gets access token before June 21st. After this time, it throws WebException var linkAccessToken = 'https://www.linkedin.com/uas/oauth2/accessToken?grant_type=authorization_code&code=' + code + '&redirect_uri=' + redirect...
selami
1

votes
2

answer
142

Views

Linkedin oauth2 api, authorization do not return “state”

I'm passing state=;xyz in authorization request. I can see the same in url on browser on Allow screen. After clicking 'Allow' button, i get access token i.e. code with the redirect uri, but Linkedin does not return state in the redirect_uri. Can someone please help me with this? Thanks in advance.
Chinmay
1

votes
1

answer
60

Views

Retrieving the profile image from LinkedIn API response

I've gone through the authentication and am receiving the correct data from LinkedIn and receiving a response as shown in this link: https://developer.linkedin.com/docs/ref/v2/profile/profile-picture However, I'm unsure how to extract the image from this: 'displayImage': 'urn:li:digitalmediaAsset:C4...
Matt
-1

votes
1

answer
20

Views

LinkedIn Sign In API recently intermittently failing

I'm having intermittent issues with signing in to LinkedIn with the LinkedIn Sign In API. By intermittent I mean, I have two LinkedIn accounts, and as of this week one of them is unable to use the API to sign in to external services, such as the LinkedIn application I develop. I'm authenticating vi...
Zenon
0

votes
0

answer
4

Views

I can't authenticate a user with passport strategy in node js through LinkedIn login

I have using Passport.js for linkedin authendication and works quite well. Now I want to store a cookie if the user is already exist in the database. In my website I had using googlee, linkedin, github authendicattion. In google authendication I had used same logic If the user is already exist I wan...
Rajendran bala
0

votes
0

answer
3

Views

Completing the OAuth2 flow for Sign In with LinkedIn entirely from the client side

With LinkedIn's planned deprecation of their JS SDK, is there any way to complete the OAuth2 flow and obtain an access token from the client-side, without using a server-side proxy to exchange the auth code for the token? According to this SO post, LinkedIn does not allow for an implicit grant flow....
Bobby Nicholas
6

votes
0

answer
98

Views

LinkedIn share callback Javascript SDK/API v2

I am trying to share content trough 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 successful share. With the old LinkedIn share plugin you had something like this: https://docs.microsoft.com/en-us/lin...
Tygo
9

votes
0

answer
850

Views

LinkedIn ios SDK - user authentication, if user chooses not to download the mobile app from app store

I am trying to integrate linked-ios-sdk for user authentication in my app by following steps provided in this link: Authenticating with the Mobile SDK. In the provided sample app they are using this code: [LISDKSessionManager createSessionWithAuth:[NSArray arrayWithObjects:LISDK_BASIC_PROFILE_PERMIS...
Devarshi
9

votes
0

answer
976

Views

Linkedin Member Profile Plugin not working for some profiles

We have a webpage that shows members of a team and it includes references to everyone's LinkedIn profile. We have used the Member Profile Plugin to show a preview of the profile. Now we have a new team member and for some reason the plugin does not show her profile. The problem is reproducible on L...
Codeborne
3

votes
2

answer
470

Views

Fetch LinkedIn Contacts/Connections

How to Fetch LinkedIn Contacts in iOS ? I read their API but in that api to fetch connections are not available any more. Is there are other alternate way to do it ? I tried OAUTH2 but by that I can only login and get user basic info. This is how its done in Android . here
Nitesh
2

votes
2

answer
3.4k

Views

embedding my linkedin post feed on my website

I wish to embedding my linkedin post feed on my personnal website. I find some stuff for doing that with wordpress... but, without using wordpress... I do not find anything... I find it strange to have plugin to do this on wordpress and nothing exists outside... i found this link : https://www.linke...
Mickaël Silver
14

votes
2

answer
2.2k

Views

LinkedIn V2 api: Not enough permissions to access /me GET

I have been trying to use the linkedin V2 api, but constantly getting error. I created an developer application. Set up redirect url as 'https://www.getpostman.com/oauth2/callback' to make request using postman (as per postman documentation). Filled up form to request access token. But everytime I...
Avi-B
17

votes
0

answer
1.2k

Views

Internal service error on linkedin rest api [closed]

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 o...
2

votes
0

answer
20

Views

Is there a way to get the a video file or thumbnail for a video through the linkedin v2 api?

We're able to get metadata about videos via the ugcPosts endpoint and analytics via videoAnalytics, but I'm trying to get the actual video file or a thumbnail of the video. I'm trying hitting: https://api.linkedin.com/v2/assets/?fields=id,recipes&oauth2_access_token=XXX&projection=(*,recipes*(*), pr...
vijay chemburkar
3

votes
0

answer
146

Views

LinkedIn “share” API not properly using the supplied “content.description”

I'm successfully able to POST a new LinkedIn 'share' of an image (not an actual article/page) with a comment via the API by making an OAuth-authenticated call like this: URI: POST https://api.linkedin.com/v1/people/~/shares?format=json Data: { 'comment': 'Some comment.', 'content': { 'title': 'Som...
cwnewhouse
3

votes
0

answer
173

Views

How to Auto Fill Filds while Adding Certificate to Profile on Linkedin

I would like to add Add In Profile Button in my website for the certification so that user can add it to their linked in profile. For this I am using can anyone help here that how to autofile fileds ? means I want to send certificate name, link, licence from my end. so that user no need to type the...
Dalvir Saini
6

votes
3

answer
7.5k

Views

Is LinkedIn API allowing to access all user profiles? [closed]

We are interested to integrate LinkedIn into our CRM database to see where the people are up to now (changed job) based on person name and the current company name. Is this possible? As far as I know the API is restricted by the Linked credential and limited by his/her connections, is this right? If...
dcpartners
5

votes
1

answer
1.1k

Views

How to integrate Linkedin Login in iOS Without SDK?

In iOS most of them integrated LinkedIn Login via SDK(if LinkedIn App is not installed in your iPhone/iPad you cant login, LinkedIn SDK return a message to install LinkedIn App). But during Apple Review, there may be a chance to reject our app. So the only solution is to handle two situation. 1.Link...
Eldhose Elias
2

votes
1

answer
849

Views

How to fetch Contact number using linkedin mobile sdk

private static final String host = 'api.linkedin.com'; private static final String PROTECTED_URL_GET_CURRENT_USER_PROFILE = 'https://api.linkedin.com/v1/people/~:(id,first-name,last-name,email-address,picture-url,industry)'; How do I to add a field to get contact number? Is there any other method t...
Vishnu V S
2

votes
2

answer
376

Views

Fetch Linkedin Updates without user login

Current Situation Currently I am working on a website that wants to show Linked-in updates like BBC, CNN . I have been able to fetch updates in Facebook, Twitter, Instagram using Curl function, where user authentication was not required. In my previous project,I used simplelinkedin.class.php but the...
Sreejith

View additional questions