Comments (3)
I'm not quite sure how to do this in the gem. Let me look through it and get back to you on this. We might have to add an option in the initilization to add that header for locale.
from linkedin.
Thanks
from linkedin.
This is related to accessing out of network profiles instructions:
https://developer.linkedin.com/documents/accessing-out-network-profiles
which require you to pass in x-li-auth-token in the header.
Since in helpers/request.rb
the requests are carried out as follows:
access_token.get("#{API_PATH}#{path}", DEFAULT_HEADERS.merge(options))
the best bet is to modify simple_query function in api/query_methods.rb
to actually pass along the options has or part of it to the get method.
Here is the pull request:
Basically you pass in headers to the gem query mehtods such as profile using :headers key
from linkedin.
Related Issues (20)
- Segmentation fault when used in parallel threads HOT 8
- Linkedin Group Share HOT 2
- Normal Pagination
- LinkedIn API changes HOT 1
- Documentation Links No Longer Work HOT 5
- token_secret is not passed HOT 2
- LinkedIn API returns Positions without Title HOT 6
- Does the API has stopped providing Connections HOT 3
- (400): 'submitted-url' and 'media-key' can not be both empty HOT 6
- LinkedIn API session issue HOT 1
- List of all companies where authenticated user is the Admin HOT 1
- Setting the linkedin pin at the run time HOT 1
- Unable to find client.profile for authenticated user HOT 3
- NameError: uninitialized constant Api::QueryHelpers HOT 1
- Is this gem still maintained? HOT 1
- Application does not respond after sharing content to company page HOT 1
- UnauthorizedError in callback HOT 2
- problems with the access token HOT 2
- LinkedIn v1 API deprecation HOT 11
- Incorrect tag for v1.1.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linkedin.