Comments (5)
Original comment by nabeelmukhtar
on 20 May 2010 at 12:17
- Changed state: Accepted
from linkedin-j.
I'm having the same problem on Android. Using 0.1rc4 I receive an exception
that is thrown on any subsequent calls that are after the first call to the API
client.
Original comment by [email protected]
on 2 Jul 2010 at 6:38
from linkedin-j.
Confirmed this issue also exists using the latest build (r310).
Original comment by [email protected]
on 2 Jul 2010 at 6:59
from linkedin-j.
Looking at the oauth-signpost project
(http://code.google.com/p/oauth-signpost/) I found:
"
Google Android
IMPORTANT: Do NOT use the DefaultOAuth* implementations on Android, since
there's a bug in Android's java.net.HttpURLConnection that keeps it from
working with some service providers. Instead, use the CommonsHttpOAuth*
classes, since they are meant to be used with Apache Commons HTTP (that's what
Android uses for HTTP anyway).
Signpost is already used in several applications running on Android, Google's
software stack for mobile devices. In fact, Signpost has already signed
thousands of HTTP requests at this very moment, as it is an integral part of
Qype Radar, our geo-sensitive mobile application for Android that finds the
best places near you.
"
I will try to change the library to avoid using the default OAuth
consumer/provider.
Original comment by [email protected]
on 3 Jul 2010 at 6:14
from linkedin-j.
I've managed to successfully replace the DefaultOAuth* consumer/provider with
CommonstHttpOAuth* consumer/providers and have confirmed that it fixes the bug
mentioned above for Android. Tested in Android 1.5, 1.6, 2.0 emulators as well
as on a G1 running Android 1.5.
I could submit a patch containing my changes if you would like to integrate my
fix. I essentially overrode the LinkedInApiClient callApiMethod() methods to
provide methods that use the CommonsHttp classes.
Original comment by [email protected]
on 5 Jul 2010 at 8:51
from linkedin-j.
Related Issues (20)
- Use of getConnectionsByUrl - permissions problem
- Sometimes invitations via email are not sent
- getConnections APIs personList is empty
- Can't get public-profile-url from a group post's creator
- Set modified by PeopleApiClient.getConnectionsById(String, Set<ProfileField>, int, int)
- NullPointerException when post to LinkedIn Group requires moderation HOT 1
- SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container com.google.code.linkedinapi.client.LinkedInApiClientException: [unauthorized]. HOT 1
- Posting Shares Working fine but shows extra content in share
- Get Updates of Company HOT 2
- seach company and group
- Not getting the skills of current users.
- getConnection() method is returning null always for all the profile.
- postShare in group
- Register your OAuth 2 redirect URLs
- Class not found exception for LinkedInApiJaxbClient. HOT 3
- linkedin user email
- Internal Server Error While getting JobSuggesions from Linkedin using API
- OAuth: HTTP 401 Status when trying to get access token to LinkedIn HOT 1
- how to get the connection automatic HOT 2
- Llinkedin:Invalid redirect URI error
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-j.