-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how we can get user's basic profile data like name, email address from this #5
Comments
@xporium |
This gets you the code the server needs to talk to linkedin's API. So basically what we're doing here-
from here, to finish it off, we need to |
@abhishekover9000 Thanks for your explanation. |
I am passing de scope string, but only get de code back. How can I get de user information? |
@Itzli2000 You can retrieve user information from linked by exchange access token using authorization code get from this package.
|
@nvh95 sorry for the late answer. |
@nvh95 @abhishekover9000 @Itzli2000 I am also trying to access the LinkedIn api in react app. But getting following error: It's working fine with postman. There I get the response with member details. But not working with react app. |
@aashishgaikwad you need to use a proxy url to pass cors. Try this
|
did you find the solution. if you find some thing just post here it will helpfull to someone |
did anyone find a solution for this problem? [Error] Failed to load resource: Preflight response is not successful (accessToken, line 0) I am also trying to access https://www.linkedin.com/oauth/v2/accessToken to get a accessToken so I can then exchange it for user information later on. createFormParams = (params) => { handleSuccess = (data) => { I tried using the proxy URL and run into the following issue: Missing required request header. Must specify one of: origin,x-requested-with I have gotten this to work in an isolated js file and it works how I want, I'm having trouble implementing it with this package and the full react app. Sorry, I'm still pretty new to this stuff so any tips would be appreciated . |
can a user get a greated date of a linkedin account |
Hey, did you found how to solve this issue? |
Hi,
i tried in local with this source, but in this i m just getting token, actually i want to other basic fields from linkedin like name, profile-pic, emailaddress or some else than how to get that fields from this code?
Thanks...
The text was updated successfully, but these errors were encountered: