Questions tagged [linkedin]

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
467

Views

Linkedin connect javascript

I am trying to mass follow people i know without clicking connect the button.I have been trying to find a bit of code to mass connect through javascript console for example: $('.button-text.follow-text').trigger('click'); Is this possible to do? Thanks
ryan
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
1

answer
77

Views

Is it safe to save LinkedIn SecretKey in of my code?

I want to ask you, is it safe to save LinkedIn ConsumerKey and ConsumerSecret inside of my code, like constants? If it's not safe, what is the right way of authentication with LinkedIn?
John Doe
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
2

answer
1.3k

Views

Where should the service configuration go in meteor? At the client side or at the server side?

I'm working on a custom login-with-linkedin button. I have accounts-base, accounts-oauth, and pauli:accounts-linkedin packages. I have used the client id and the secret from the linkedin developers site as follows Meteor.startup(function() { ServiceConfiguration.configurations.update({ 'service': 'l...
Yasho Sagar
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
2.1k

Views

How to retrieve full profile of linkedin user via Javascript API

I am trying to retrieve the full profile (especially job history and educational qualifications) of a linkedin user via the Javascript API. I have managed to piece together the following code from google and stack overflow: Test api_key: blahblahblah onLoad: onLinkedInLoad authorize: true funct...
Superdooperhero
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
160

Views

What is the format of the LinkedIn id field r_basicprofile?

We make use of Sign in with LinkedIn for a pre-existing app. The app uses the id field returned as part of the user's profile, however the app has restrictions on what character values can be present in the id. What are the legal characters that LinkedIn will put in the id? The description for id sa...
Patrick
1

votes
1

answer
166

Views

Servicestack LinkedIn Oauth2 with Webauthenticator Not Returning to App

Hi Am having trouble with Servicestack authentication with Xamarin.auth component. when try authenticate with ServiceStack with WebAuthencator , am getting authenticated but am not able to return to app as in case of Xamarin.Auth only. [Route('/my-session')] public class CustomUserSession : AuthUser...
Tech Cruize
1

votes
1

answer
508

Views

Maximum number of LinkedIn connections per day?

I was wondering if anyone knew what is the max number of LinkedIn connection a user can add per day? Thanks!
vel murugan
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
1

answer
1.4k

Views

Selenium Python: How to Scroll Down in a Pop Up window

I am working on a Linkedin web scraping project. I am trying to get the list of companies that interest someone (notice I am not using the API). It is a dynamic website, so I would need to scroll down while scraping the names of the companies. I know how to do this in the MAIN window, but since Inte...
G. Macia
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
2

answer
1.4k

Views

Retrieve Access Token with LinkedIn JS SDK to use in Back-end

Currently I have both Facebook and LinkedIn Oauth2 flow working fine. Because in some cases I don't want the user to redirect to another page, I use the Facebook JS SDK that works fine, retrieving the access token and sending it to the server where I retrieve user data with REST calls. Unfortunately...
Lucas Basquerotto
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
364

Views

LinkedIn - Getting Access Token Error

All, I am facing authentication issues that I see others have also complained about. Following official documentation I was able to get the client id and client secret but when I try to get Access Token I am getting this error: { 'error': 'invalid_request', 'error_description': 'A required parameter...
Ali
1

votes
1

answer
400

Views

LinkedIn Share URL is not populating the message / title

This is similar to this question I am trying to build a url that populates a post for someone to share on LinkedIn. Following their guide I am using the url https://www.linkedin.com/shareArticle ?url= &mini=true &title= &summary= &source= and also &text=hello from another SO Q. This creates the pos...
Tobin
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
376

Views

How do I move our LinkedIn App to another LinkedIn Account

The developer who created our production LinkedIn Application added it under his personal LinkedIn account via developer.linkedin.com. We would like to move this application to our company LinkedIn account. Because we have hundreds of customers who have already authenticated using this application...
TennisGuy
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
1

votes
1

answer
246

Views

Asp.Net MVC LinkedIn OAuth 2.0 login is failling

LinkedIn login has stopped working suddenly with error code error=access_denied, without any change in codebase or package. As per documentation error code access_denied, means user has has declined permission but it's happening even on giving permission and we request only the default information e...
Satyajit
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
927

Views

“Module not found: Error: Can't resolve 'rxjs/add/operator/switchMap'” using LinkedIN API in Angular 6

I am trying to make a simple API call on the LinkedIN API in my Angular application. My API key and all that is perfect. For some reason when my app calls this function I am getting this error: 'Module not found: Error: Can't resolve 'rxjs/add/operator/switchMap' I even added the line: import 'rxjs...
Enesxg
1

votes
1

answer
71

Views

(React Native) How to share a message to a particular person on LinkedIn

I'm working on a react-native app in which I need to share a message with a particular person/friend/connection on LinkedIn. I tried react-native's Share component but when I select the LinkedIn app to share my message, it just post the message to my profile wall (and not sending it to a particula...
sonlexqt
1

votes
2

answer
416

Views

unauthorized_scope_error in LinkedIn oAuth2 authentication

I am following the official Microsoft instructions in Sign in with Linkedin (there are also the Linkedin instructions here), which also link here for the authorization code flow. As instructed, I have set up a linkedin application and used the client id and secret to initiate an oAuth 2 flow, reques...
Markos Fragkakis
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
61

Views

Xamarin.Auth doesn't work with Linkedin V2 API

I'm actually trying to do a simple login with Linkedin and the new API V2 with Xamarin.Auth extension. I do get the token like this var auth = new OAuth2Authenticator( clientId: *****, clientSecret: *****, scope: 'r_liteprofile', authorizeUrl: new Uri('https://www.linkedin.com/oauth/v2/authorization...
Valli

View additional questions