Coder Social home page Coder Social logo

linkedin-j's People

Watchers

 avatar

linkedin-j's Issues

Get out-of-network profile data

Thanks for the toolkit - most useful!

I needed to be able to search for people using name and company, and then
get the person's public URL.  I think to do that I need to get a search
result and then ask for the Person with ProfileField.PUBLIC_PROFILE_URL. 
Some of those results will be outside of my network, and to get
out-of-network profile data by ID it appears that the headers from a
previous search need to be provided.  

If there is a better way to get that information let me know, but what I
did was add a new getProfileById method to LinkedInApiClient.java and
BaseLinkedInApiClient.java.

LinkedInApiClient.java:

    /**
     * Gets the profile by id, request and fields.
     * For details see <a
href="http://developer.linkedin.com/docs/DOC-1002">http://developer.linkedin.com
/docs/DOC-1002</a>
     * 
     * @param id the profile id 
     * @param headers the request headers
     * @param profileFields the profile fields
     * 
     * @return the profile by id
     */
    public Person getProfileById(String id, Headers headers,
Set<ProfileField> profileFields);

BaseLinkedInApiClient.java:


    /**
     * {@inheritDoc}
     */
    @Override
    public Person getProfileById(String id, Headers headers,
Set<ProfileField> profileFields) {
        assertNotNull("id", id);
        assertNotNull("profile fields", profileFields);

        if (headers != null) {
            LinkedInApiUrlBuilder builder =
createLinkedInApiUrlBuilder(LinkedInApiUrls.GET_PROFILE_BY_ID);
            String                apiUrl  = builder.withField("id",
id).withFieldEnum("profileType",

ProfileType.STANDARD).withFieldEnumSet("profileFields",
                                                    profileFields).buildUrl();

            return readResponse(Person.class, callApiMethod(apiUrl,
headers.getHttpHeaderList()));
        } else {
            return getProfileById(id, profileFields);
        }
    }

I have *not* run this through any unit tests (ran into throttle limits
during the development...).

Thanks again,
Doug.

Original issue reported on code.google.com by [email protected] on 28 May 2010 at 1:27

Linkedin-J Fails when calling client.updateCurrentStatus while running in Google AppEngine Java Development Environment

What steps will reproduce the problem?
1. Run a client.updateCurrentStatus from within the Google AppEngine java dev 
environment.

What is the expected output? What do you see instead?
The expected output is the setting of the status.
Instead you get a container exception complaining about redirecting a client 
request.

What version of the product are you using? On what operating system?
1.0.335-rc2 on MAC OSX 10.6
Google Appengine dev server for Java 1.3.7

Please provide any additional information below.

Adding the following to line 1904 of BaseLinkedInApiClient.java fixes the 
problem.
1904:             request.setInstanceFollowRedirects(false);
Just before:
1905:             request.connect();

The problem is that the local HttpClient library used by appEngine (including 
1.3.7) automatically sets FollowRedirects to true, which is invalid for a PUT 
operation. 

I've only tested this with updateCurrentStatus.  Not sure about the rest of the 
API calls.

Original issue reported on code.google.com by [email protected] on 15 Sep 2010 at 12:14

Add callback url support in OAuth Service

Add support for specifying a callback url while requesting a request token
from oauth service.

Original issue reported on code.google.com by nabeelmukhtar on 17 Dec 2009 at 3:39

Retrieve more company data

Hi Nabeel,

As your code implemeted for company data, there are 3 fields that can be
retrieved:type, name and industry. I found out on LinkedIn more company
data, such as: address, website, number of employee, etc. I want to
retrieve these data also, so could you please show me where in your code I
can adjust to do this. 

Thank you very much,
Quyen

Original issue reported on code.google.com by [email protected] on 21 Dec 2009 at 1:16

java.lang.NoClassDefFoundError: oauth/signpost/signature/OAuthMessageSigner ?

What steps will reproduce the problem?
1. Downloaded the jar from the path, 
http://code.google.com/p/linkedin-j/downloads/list - (May 24) - 
linkedin-j-0.1-rc4.zip 
2. Inlcuded the jar in the class path and try to access the class in the jar.
3.

What is the expected output? What do you see instead?
The expected output is that the method has to run and gives the required 
objects.

 Exception in thread "main" java.lang.NoClassDefFoundError: oauth/signpost/signature/OAuthMessageSigner

What version of the product are you using? On what operating system?
The version downloaded is May24 the build. Working on Windows 2000 professional 
operating system.
Working wiuth Eclipse Ganymede. The jdk used is 1.6 version.



Please provide any additional information below.


I need the following to be printed.
            System.out.println("Request token: " + requestToken.getToken()); 
                System.out.println("Token secret: " + requestToken.getTokenSecret()); 
                System.out.println("Expiration time: " + requestToken.getExpirationTime()); 


Code:

// In consumerSecretValue & consumerKeyValue specified the key got from 
developer\apps.

            final String consumerKeyValue = "consumerKeyValue "; 
                final String consumerSecretValue = "consumerSecretValue "; 

                final LinkedInOAuthService oauthService =       LinkedInOAuthServiceFactory.getInstance().createLinkedInOAuthService(consumerKeyValue, consumerSecretValue); 

                LinkedInRequestToken requestToken = oauthService.getOAuthRequestToken();                  

                String authUrl = requestToken.getAuthorizationUrl(); 

                System.out.println("Request token: " + requestToken.getToken()); 
                System.out.println("Token secret: " + requestToken.getTokenSecret()); 
                System.out.println("Expiration time: " + requestToken.getExpirationTime()); 


Error:



Exception in thread "main" java.lang.NoClassDefFoundError: 
oauth/signpost/signature/OAuthMessageSigner

      at 
com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceFactory.createLinke
dInOAuthService(LinkedInOAuthServiceFactory.j
ava:56)

      at 
com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceFactory.createLinke
dInOAuthService(LinkedInOAuthServiceFactory.j
ava:44)

      at com.visiontss.linkedin.BasicAuthentication.main(BasicAuthentication.java:25)


Kindly help us to get rid of this issue. 

Original issue reported on code.google.com by [email protected] on 22 Jun 2010 at 9:33

Maven repository for linkedin jar.

Hi,

Can you deploy your linkedin api jar's in any maven repo so that we can use 
easily?.


You can also use your google code svn as maven repo. See the below link for 
more info.

http://www.beeworks.be/hosting-maven-repository-google-code/



Original issue reported on code.google.com by aravinds86 on 21 Jul 2010 at 6:12

oauthService.getOAuthRequestToken(callbackUrl) throws an exception-HTTP 400 Bad Request

What steps will reproduce the problem?

Trying to generate the OAuth request token throws an exception on the Apache 
Tomcat Server.
The following code works fine on the desktop in a NetBeans 6.7 project and it 
also worked previously on Apache Tomcat web application using servlets built by 
Netbeans 6.7. However, its stopped working on the server now

/***********************************************************************/
Code which throws the exception
/***********************************************************************/

private static String generateLinkedInUrl(){
    try{
    final LinkedInOAuthService oauthService = LinkedInOAuthServiceFactory.getInstance().createLinkedInOAuthService(LINKEDIN_CONSUMER_KEY,LINKEDIN_CONSUMER_SECRET);
    String callbackUrl="http://addison.cyberonix.net/CatServer/LinkedInServlet";
    LinkedInRequestToken requestToken = oauthService.getOAuthRequestToken(callbackUrl);
    String url=requestToken.getAuthorizationUrl();
    //session.setAttribute("LINKEDIN_REQUEST_TOKEN", requestToken);
    System.out.println(url);
    return url;
    }
    catch(Exception ex){
        ex.printStackTrace(System.out);
    }
    return null;
    }

}

/***********************************************************************/
What is the expected output? What do you see instead?
/***********************************************************************/

The result should be a valid request token url, like the following generated on 
a Netbeans 6.7 desktop version of the application
https://www.linkedin.com/uas/oauth/authorize?oauth_token=e749f6a5-1538-4b38-a282
-ec81d1b58e9f
/***********************************************************************/
Instead there is the following exception
/***********************************************************************/

com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceException: 
oauth.signpost.exception.OAuthCommunicationException: Communication with the 
service provider failed: Server returned HTTP response code: 400 for URL: 
https://api.linkedin.com/uas/oauth/requestToken
    at com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthRequestToken(LinkedInOAuthServiceImpl.java:161)
    at RegistrationDatabase.SNWSelectorServlet.generateLinkedInUrl(SNWSelectorServlet.java:281)
    at RegistrationDatabase.SNWSelectorServlet.processRequest(SNWSelectorServlet.java:158)
    at RegistrationDatabase.SNWSelectorServlet.doGet(SNWSelectorServlet.java:205)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:619)
Caused by: oauth.signpost.exception.OAuthCommunicationException: Communication 
with the service provider failed: Server returned HTTP response code: 400 for 
URL: https://api.linkedin.com/uas/oauth/requestToken
    at oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:214)
    at oauth.signpost.AbstractOAuthProvider.retrieveRequestToken(AbstractOAuthProvider.java:69)
    at com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthRequestToken(LinkedInOAuthServiceImpl.java:153)
    ... 17 more
Caused by: java.io.IOException: Server returned HTTP response code: 400 for 
URL: https://api.linkedin.com/uas/oauth/requestToken
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1368)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1362)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1016)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
    at oauth.signpost.basic.HttpURLConnectionResponseAdapter.getContent(HttpURLConnectionResponseAdapter.java:18)
    at oauth.signpost.AbstractOAuthProvider.handleUnexpectedResponse(AbstractOAuthProvider.java:228)
    at oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:189)
    ... 19 more
Caused by: java.io.IOException: Server returned HTTP response code: 400 for 
URL: https://api.linkedin.com/uas/oauth/requestToken
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:318)
    at oauth.signpost.basic.HttpURLConnectionResponseAdapter.getStatusCode(HttpURLConnectionResponseAdapter.java:22)
    at oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:178)
    ... 19 more
/***********************************************************************/


What version of the product are you using? On what operating system?
linkedin-j-0.1-rc4
Windows works ok
Apache Tomcat on Linux throws the exception

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 4 Aug 2010 at 7:41

Comments in network updates are not available.

What steps will reproduce the problem?
1. Fetch the list of network updates using the library.

There is no method in the library to retrieve the comments associated with
a network update.


Original issue reported on code.google.com by nabeelmukhtar on 15 Dec 2009 at 5:23

problems with stored access tokens in android

What steps will reproduce the problem?
1. Fetch access tokens of a user for the first time using signpost library. And 
Storing them
2. Using these tokens later and post a share using LinkedInApiClient class
3. post share with LinkedInApiClient's object . postShare() method.

What is the expected output? What do you see instead?
Expected Output: The share is updated in user's linkedin profile.
Current output: com.google.code.linkedinapi.client.LinkedInApiClientException: 
java.io.IOException: Received authentication challenge is null
it's in android Logcat and in web browser I can't see status updated

What version of the product are you using? On what operating system?
Android 1.1, with Signpost library for o auth. 

Please provide any additional information below.
It works well if user need to authorize my application every time but when i 
skip this step and use stored tokens instead I was thrown an error

Original issue reported on code.google.com by [email protected] on 3 Nov 2010 at 9:30

opt contains illegal character value '-'

Tried with the OAuthAuthenticationExample.java

specified the consumer key and secret option, but the error appears:

Exception in thread "main" java.lang.IllegalArgumentException: opt contains
illegal character value '-'
    at
org.apache.commons.cli.OptionValidator.validateOption(OptionValidator.java:73)
    at org.apache.commons.cli.Option.<init>(Option.java:123)
    at org.apache.commons.cli.Option.<init>(Option.java:90)
    at org.apache.commons.cli.OptionBuilder.create(OptionBuilder.java:351)
    at
com.google.code.linkedinapi.client.examples.OAuthAuthenticationExample.buildOpti
ons(OAuthAuthenticationExample.java:126)
    at
com.google.code.linkedinapi.client.examples.OAuthAuthenticationExample.main(OAut
hAuthenticationExample.java:51)

due to the OptionValidator class

there are a couple of '-' in the key and secret option

How do i counter this problem??

Any help is welcome.

Original issue reported on code.google.com by [email protected] on 11 Dec 2009 at 12:26

Authentication problem: unable to find valid certification path to requested target

Hi Nabeel,

I runned your application before, everything was going well.
Now, when I run it again with the same environment, there is the problem
with authentication process, with the following exception:

Fetching request token from LinkedIn...
com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceException:
oauth.signpost.exception.OAuthCommunicationException: Communication with
the service provider failed: sun.security.validator.ValidatorException:
PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
    at
com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthReques
tToken(LinkedInOAuthServiceImpl.java:74)
    at
com.google.code.linkedinapi.client.examples.OAuthAuthenticationExample.processCo
mmandLine(OAuthAuthenticationExample.java:87)
    at
com.google.code.linkedinapi.client.examples.OAuthAuthenticationExample.main(OAut
hAuthenticationExample.java:58)
Caused by: oauth.signpost.exception.OAuthCommunicationException:
Communication with the service provider failed:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
    at
oauth.signpost.basic.DefaultOAuthProvider.retrieveToken(DefaultOAuthProvider.jav
a:150)
    at
oauth.signpost.basic.DefaultOAuthProvider.retrieveRequestToken(DefaultOAuthProvi
der.java:66)
    at
com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthReques
tToken(LinkedInOAuthServiceImpl.java:66)
    ... 2 more
Caused by: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1611)
    at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
    at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
    at
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker
.java:1035)
    at
com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.ja
va:124)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
    at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
    at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl
.java:1112)
    at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:113
9)
    at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:112
3)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)
    at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDe
legateHttpsURLConnection.java:166)
    at
sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl
.java:133)
    at
oauth.signpost.basic.DefaultOAuthProvider.retrieveToken(DefaultOAuthProvider.jav
a:121)
    ... 4 more
Caused by: sun.security.validator.ValidatorException: PKIX path building
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
to find valid certification path to requested target
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285)
    at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)
    at sun.security.validator.Validator.validate(Validator.java:218)
    at
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.
java:126)
    at
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustMa
nagerImpl.java:209)
    at
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustMa
nagerImpl.java:249)
    at
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker
.java:1014)
    ... 15 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
    at
sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder
.java:174)
    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)
    ... 21 more


I did some research on the exception but still couldnt find the solution.
Do you have any solution or hint on the problem?

Thank you in advance,
Quyen

Original issue reported on code.google.com by [email protected] on 28 Feb 2010 at 5:08

Support for major in Education

What steps will reproduce the problem?
1. Retrieve a profile education records
2. Examine the education record

What is the expected output? What do you see instead?
Expect to see Major in addition to degree. It appears in the linkedIn API 
documentation

Original issue reported on code.google.com by [email protected] on 15 Jul 2010 at 6:54

LinkedInApiClientException

What steps will reproduce the problem?
1.Downloaded latest versions of signpost and linkedin api
2.Using netbeans IDE 6.8
3.

What is the expected output?
I expect to get the user's profile

What do you see instead?
The line producing an error is 'Person profile = 
client.getProfileForCurrentUser(EnumSet.of(ProfileField.ID));'

the exception below is produced

'com.google.code.linkedinapi.client.LinkedInApiClientException: 
java.lang.IllegalArgumentException: attribute name can not be null'

What version of the product are you using? On what operating system?
Linkedin-j latest version
signpost 1.2.1.1 is also in my classpath
windows xp



Original issue reported on code.google.com by [email protected] on 2 Jul 2010 at 8:38

oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed

What steps will reproduce the problem?
1. while retriving OAuth request token 

What is the expected output? 
Expected output should get the token key and token key secert

What do you see instead?
oauth.signpost.exception.OAuthCommunicationException: Communication with the 
service provider failed: Server returned HTTP response code: 400 for URL: 
https://api.linkedin.com/uas/oauth/requestToken?oauth_callback=oob
    at oauth.signpost.basic.DefaultOAuthProvider.retrieveToken(DefaultOAuthProvider.java:150)
    at oauth.signpost.basic.DefaultOAuthProvider.retrieveRequestToken(DefaultOAuthProvider.java:66)
    at linkedIn.OAuthSample.main(OAuthSample.java:27)
Caused by: java.io.IOException: Server returned HTTP response code: 400 for 
URL: https://api.linkedin.com/uas/oauth/requestToken?oauth_callback=oob
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at oauth.signpost.basic.DefaultOAuthProvider.retrieveToken(DefaultOAuthProvider.java:129)
    ... 2 more
Caused by: java.io.IOException: Server returned HTTP response code: 400 for 
URL: https://api.linkedin.com/uas/oauth/requestToken?oauth_callback=oob
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at oauth.signpost.basic.DefaultOAuthProvider.retrieveToken(DefaultOAuthProvider.java:123)
    ... 2 more


What version of the product are you using? On what operating system?
linkedin-j-1[1].0.335-rc2
signpost-core-1.1-SNAPSHOT
commons-codec-1.3
OS : Win2000 sp4




Original issue reported on code.google.com by [email protected] on 7 Sep 2010 at 7:32

How to specify the consumer key and secret on command line as program arguments.

Hi Nabeel,

I am testing OAuthAuthenticationExample, the program only executes
printHelp(options). I don't change anything in the code. I don't know how
to specify the consumer key and secret on command line as program
arguments. Could you please show me how to do that?

Also, I already included the jar file from dev-lib, dist, jaxb-lib, lib
folders to my classpath. Do i still miss any jar files?

Thanks in advance,
Quyen

Original issue reported on code.google.com by [email protected] on 14 Dec 2009 at 10:00

Enable GZip Compression

LinkedIn API site supports GZip compression. So it would be good to have
that support built into the library and enabled by default. This will
result in efficient utilization of network bandwidth.

Original issue reported on code.google.com by nabeelmukhtar on 10 Dec 2009 at 1:01

failed to get profile via OAuthAuthenticationExample

What steps will reproduce the problem?
1. add lines below to OAuthAuthenticationExample main method
    Properties systemSettings = System.getProperties();
    systemSettings.put("https.proxyHost", "myprox");
    systemSettings.put("https.proxyPort", "port");
    systemSettings.put("https.proxyUserName", "name");
    systemSettings.put("https.proxyPassword", "mypassword");
    System.setProperties(systemSettings);
2. run OAuthAuthenticationExample 
-consumerKey xxx --consumerSecret xxx

What is the expected output? What do you see instead?
Now visit:
https://www.linkedin.com/uas/oauth/authorize?oauth_token=xxxxx
... and grant this app authorization
Enter the PIN code and hit ENTER when you're done:
*********
Fetching access token from LinkedIn...
com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceException: 
oauth.signpost.exception.OAuthCommunicationException: Communication with the 
service provider failed: Server returned HTTP response code: 401 for URL: 
https://api.linkedin.com/uas/oauth/accessToken
    at com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthAccessToken(LinkedInOAuthServiceImpl.java:116)
    at com.google.code.linkedinapi.client.examples.OAuthAuthenticationExample.processCommandLine(OAuthAuthenticationExample.java:103)
    at com.google.code.linkedinapi.client.examples.OAuthAuthenticationExample.main(OAuthAuthenticationExample.java:64)
Caused by: oauth.signpost.exception.OAuthCommunicationException: Communication 
with the service provider failed: Server returned HTTP response code: 401 for 
URL: https://api.linkedin.com/uas/oauth/accessToken
    at oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:214)
    at oauth.signpost.AbstractOAuthProvider.retrieveAccessToken(AbstractOAuthProvider.java:97)
    at com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthAccessToken(LinkedInOAuthServiceImpl.java:107)
    ... 2 more
Caused by: java.io.IOException: Server returned HTTP response code: 401 for 
URL: https://api.linkedin.com/uas/oauth/accessToken
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at oauth.signpost.basic.HttpURLConnectionResponseAdapter.getContent(HttpURLConnectionResponseAdapter.java:18)
    at oauth.signpost.AbstractOAuthProvider.handleUnexpectedResponse(AbstractOAuthProvider.java:228)
    at oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:189)
    ... 4 more
Caused by: java.io.IOException: Server returned HTTP response code: 401 for 
URL: https://api.linkedin.com/uas/oauth/accessToken
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at oauth.signpost.basic.HttpURLConnectionResponseAdapter.getStatusCode(HttpURLConnectionResponseAdapter.java:22)
    at oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:178)
    ... 4 more

What version of the product are you using? On what operating system?
Simulator

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 9 Jul 2010 at 4:35

error LinkedInApiClientException: java.lang.IllegalArgumentException attribute cannot be null

Hi Nabeel.
Thanks for your library. I have tried it and i keep getting this error.

 'com.google.code.linkedinapi.client.LinkedInApiClientException: java.lang.IllegalArgumentException: attribute name can not be null'

The exception is being thrown by this line:

Person profile = client.getProfileForCurrentUser(EnumSet.of(ProfileField.ID));

 can you please help me out.I am using the latest linkedin-j and signpost 1.2.1.1. the problem persists even when i use the no_argument constructor 'getProfileForCurrentUser()'.

Regards, Eugene

Original issue reported on code.google.com by [email protected] on 2 Jul 2010 at 7:57

  • Merged into: #34

Callback url is not working in build 0.1-rc-1

What steps will reproduce the problem?
1. Call LinkedInOAuthService.getOAuthRequestToken() with a callback url.
2. Open the authorization url in a browser.
3. Authorize the application.


What is the expected output? What do you see instead?
The application should be redirected to the callback url. Instead a 404
error message is displayed.



Original issue reported on code.google.com by nabeelmukhtar on 16 Mar 2010 at 8:31

Invitation API not working.

What steps will reproduce the problem?
1. Call the Invitation API through the library

Instead of the response we get:
Caused by: java.io.IOException: Server returned HTTP response code: 400 for
URL:
http://api.linkedin.com/v1/people/url=http%3A%2F%2Fpk.linkedin.com%2Fin%2Fmonisi
qbal
    at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.jav
a:1241)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
    ... 4 more


This is a known issue and is also posted at
http://developer.linkedin.com/docs/DOC-1035.


Original issue reported on code.google.com by nabeelmukhtar on 8 Dec 2009 at 11:55

Profile Field Selectors containing '/' dont work.

What steps will reproduce the problem?
1. Using the library try to fetch profile of the user specifying field
selectors that contain '/' like ProfileField.LOCATION_COUNTRY_CODE.
The library throws an exception.

com.google.code.linkedinapi.client.LinkedInApiClientException:
[invalid.property.name]. Couldn't find property with name: :(location
    at
com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient.createLinkedInApiC
lientException(BaseLinkedInApiClient.java:885)
    at
com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient.callApiMethod(Base
LinkedInApiClient.java:770)
    at
com.google.code.linkedinapi.client.impl.BaseLinkedInApiClient.callApiMethod(Base
LinkedInApiClient.java:732)


A question about the correct syntax of specifying the field selectors with
'/' has been posted on LinkedIn API forums.


Original issue reported on code.google.com by nabeelmukhtar on 11 Dec 2009 at 12:59

Some network updates are not available in the library

Some network update types (e.g. recommendations given) are not available
through the API.

Both the domain model and the api needs to be updated to accomodate all
available network update types.

Original issue reported on code.google.com by nabeelmukhtar on 26 Dec 2009 at 6:14

Getting 401 HTTP Response

What steps will reproduce the problem?
1. In the web application first get all my connections.
2. I list all the connections on the UI with selection.
3. I try to send message to selected connection using the api.I get a http 401 
response.

What is the expected output? What do you see instead?
Should send a message.But i get a 401 error.

What version of the product are you using? On what operating system?
Latest available on window XP Professional.

Please provide any additional information below.
Getting connections & sending message when performed separately it works fine.

Original issue reported on code.google.com by [email protected] on 7 Jul 2010 at 9:45

The ID in network update call is invalid.

What steps will reproduce the problem?
1. Get the network updates through the API.

In the returned object the id of the person is invalid.

This is a known issue in the API and is also posted here:
http://developer.linkedin.com/docs/DOC-1035

Original issue reported on code.google.com by nabeelmukhtar on 8 Dec 2009 at 11:59

Exception thrown on multiple calls

What steps will reproduce the problem?
1. Create a client
2. access a method that communicates with linkedin
3. access a method that communicates with linkedin

What is the expected output? What do you see instead?
Should have no problems, instead the first method works fine, then the
second method throws exceptions LinkedInApiClientException: Stream Closed

What version of the product are you using? On what operating system?
most 0.1rc3 android

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 4 May 2010 at 7:23

Proxy setting

Hi Nabeel,

Your application works well with the network without proxy. But when I
tried to use it in the network with proxy, it doesn't work. The following
exception is throwed:

************************************************************************
com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceException:
oauth.signpost.exception.OAuthCommunicationException: Communication with
the service provider failed: api.linkedin.com
    at
com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthReques
tToken(LinkedInOAuthServiceImpl.java:72)
    at
com.google.code.linkedinapi.client.examples.OAuthAuthenticationExample.processCo
mmandLine(OAuthAuthenticationExample.java:84)
    at
com.google.code.linkedinapi.client.examples.OAuthAuthenticationExample.main(OAut
hAuthenticationExample.java:62)
Caused by: oauth.signpost.exception.OAuthCommunicationException:
Communication with the service provider failed: api.linkedin.com
    at
oauth.signpost.basic.DefaultOAuthProvider.retrieveToken(DefaultOAuthProvider.jav
a:150)
    at
oauth.signpost.basic.DefaultOAuthProvider.retrieveRequestToken(DefaultOAuthProvi
der.java:66)
    at
com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthReques
tToken(LinkedInOAuthServiceImpl.java:64)
    ... 2 more
Caused by: java.net.UnknownHostException: api.linkedin.com
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:519)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:550)
    at
com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:14
1)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
    at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272)
    at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329)
    at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(A
bstractDelegateHttpsURLConnection.java:172)
    at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:
793)
    at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDe
legateHttpsURLConnection.java:158)
    at
sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl
.java:133)
    at oauth.signpost.basic.DefaultOAuthProvider.retrieveToken(DefaultOAuthProvide
r.java:121)
... 4 more
***************************************************************************

I tried to set up the proxy, but it still doesnt work, something like this:
        Properties systemSettings = System.getProperties();
        systemSettings.put("http.proxyHost", "proxy");
        systemSettings.put("http.proxyPort", "8080");
        System.setProperties(systemSettings);


Do you have any hint???

Thanks in advance,
Quyen

Original issue reported on code.google.com by [email protected] on 4 Jan 2010 at 8:35

what about the linkedin api strategy for developers?

Hi,
    Now we use the linkedin api to build application for end users.
    but the api is limited in data transfer\ features.

    Will the api provide the job\inmail feature? Will the linkedin websites
build their own client like facebook? or totoally open as twitter?
   \
     What's your linkedin api strategy?


Original issue reported on code.google.com by [email protected] on 24 Dec 2009 at 7:07

Misleading Responses on OAuth Request, 401 Invalid Signature

What steps will reproduce the problem?
1. Using sample OAuth code, call:
requestToken = oauthService.getOAuthRequestToken(callbackUrl);
without or with null callbackUrl.
2. System attempts to make authorisation.
3. LinkedIn responds with 401: Invalid Signature 

What is the expected output? What do you see instead?
It may be better to throw an exception before sending off to LinkedIn 
indicating no callbackUrl provided. This was causing us hell trying to work out 
where it went wrong, simply because LinkedIn's response was so convincing! The 
actual error was in our code miles away to do with config... 

What version of the product are you using? On what operating system?
Latest (6 Sept 2010), Mac OS X Snow Leopard 10.6.6

NB: This maybe better in the 'gotchas' pile

Original issue reported on code.google.com by [email protected] on 25 Jan 2011 at 7:49

Hard code linkedIn account

Hi Nabeel,

Is this possible to hard code user name and password of linkedIn account so
that the user doesn't have to go to the authorization page to grant the app
authorization???

Quyen

Original issue reported on code.google.com by [email protected] on 21 Dec 2009 at 3:44

Make the library android friendly.

The library can be ported to Android with minor changes (since jaxb is not
currently available on android.). Also need to make an example application
for android that uses the features of the library.

Original issue reported on code.google.com by nabeelmukhtar on 26 Dec 2009 at 6:16

Fix the build file and mavenize the project

The current build file was autogenerated by eclipse and is not 100%
perfect. It needs to be corrected. Plus I have to enable maven dependency
management for the project.

Original issue reported on code.google.com by nabeelmukhtar on 8 Dec 2009 at 12:34

Get connections by email throw Forbidden error.

What steps will reproduce the problem?
1. Try to get the connections of a user by his own email.

Instead of returning the connections, it throws the following exception:
Caused by: java.io.IOException: Server returned HTTP response code: 403 for
URL:
http://api.linkedin.com/v1/people/email=nabeelmukhtar%40gmail.com/connections
    at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.jav
a:1241)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
    ... 4 more


This issue has also been posted on the LinkedIn API forum:
http://developer.linkedin.com/thread/1265


Original issue reported on code.google.com by nabeelmukhtar on 8 Dec 2009 at 11:58

Profile.getMemberUrlResources() returns a single Resources

Hi Nabeel,

thanks for the work you've done. Could you please have a look at this issue ?

What steps will reproduce the problem?
1. Authenticate
2. Get a User object with 
getProfileForCurrentUser(EnumSet.of(ProfileField.MEMBER_URL_RESOURCES));
3. Call profile.getMemberUrlResources();

What is the expected result? What do you see instead?
Expected a MemberUrlResources instance that gives access to multiple resources
Received a MemberUrlResources instance with a single .getMemberUrl() method

As long as it is possible to enter multiple websites on a profile I expected to 
get multiple 
resources.

Thanks

Nicolas

Original issue reported on code.google.com by [email protected] on 4 Jun 2010 at 2:03

Fetch All Update Comments

The library currently fetches most recent 5 comments for each network
update. The LinkedIn API also includes call to fetch all comments. Need to
incorporate that in the library. Also the id and timestamp of an update
comment are not available through the library but they are available
through the API. This needs to be fixed as well.

Original issue reported on code.google.com by nabeelmukhtar on 2 Jan 2010 at 12:40

Posting a status with special characters isn't properly encoded

What steps will reproduce the problem?
1. use the postShare method
2. Post the following status "Rêvez vos voyages, et voyagePlus s'en occupe"

The status displayed on Linkedin looks like:
R�vez vos voyages, et voyagePlus s?en occupe

Any solution on how to encode those special characters?

Original issue reported on code.google.com by [email protected] on 25 Feb 2011 at 9:05

Support for liking and commenting network updates

What steps will reproduce the problem?
N/A

What is the expected output? What do you see instead?
It would be nice if the API supported the actions "like" and "comment" on 
network updates

What version of the product are you using? On what operating system?
N/A

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 11 Oct 2010 at 1:12

Make LinkedInOAuthToken serializable?

Any thoughts on having LinkedInOAuthToken implements java.io.Serializable?
 That way you could stick a LinkedInRequestToken in an HTTP session, for
example, so that it can be reused on a subsequent request when you need to
get the access token with it.

Original issue reported on code.google.com by [email protected] on 29 Dec 2009 at 12:16

getOAuthRequestToken error

Hi Nabeel

I got this exception when hitting the following line in
OAuthAuthenticationExample: 
LinkedInRequestToken requestToken = oauthService.getOAuthRequestToken();


Fetching request token from LinkedIn...
Exception in thread "main" java.lang.ExceptionInInitializerError
    at javax.crypto.Mac.getInstance(DashoA13*..)
    at
oauth.signpost.signature.HmacSha1MessageSigner.sign(HmacSha1MessageSigner.java:4
2)
    at oauth.signpost.AbstractOAuthConsumer.sign(AbstractOAuthConsumer.java:62)
    at
oauth.signpost.basic.DefaultOAuthProvider.retrieveToken(DefaultOAuthProvider.jav
a:119)
    at
oauth.signpost.basic.DefaultOAuthProvider.retrieveRequestToken(DefaultOAuthProvi
der.java:66)
    at
com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthReques
tToken(LinkedInOAuthServiceImpl.java:64)
    at
com.google.code.linkedinapi.client.examples.OAuthAuthenticationExample.main(OAut
hAuthenticationExample.java:67)
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
    at javax.crypto.SunJCE_b.<clinit>(DashoA13*..)
    ... 7 more
Caused by: java.lang.SecurityException: Cannot locate policy or framework
files!
    at javax.crypto.SunJCE_b.i(DashoA13*..)
    at javax.crypto.SunJCE_b.g(DashoA13*..)
    at javax.crypto.SunJCE_b$1.run(DashoA13*..)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 8 more


Do you know why it happen?
Quyen


Original issue reported on code.google.com by [email protected] on 15 Dec 2009 at 10:43

Provide ability to define custom ProfileField extensions

In order to reduce the number of LinkedIn API calls I need to the following to 
the ProfileField enum:

RELATION_TO_VIEWER_RELATED_CONNECTIONS_FIRST_NAME("first-name", 
RELATION_TO_VIEWER_RELATED_CONNECTIONS, false),

RELATION_TO_VIEWER_RELATED_CONNECTIONS_LAST_NAME("last-name", 
RELATION_TO_VIEWER_RELATED_CONNECTIONS, false),

RELATION_TO_VIEWER_RELATED_CONNECTIONS_PUBLIC_PROFILE_URL("public-profile-url", 
RELATION_TO_VIEWER_RELATED_CONNECTIONS, false),


Is there a flexible way to specify such fields without hacking the library?

I basically want to do something like this:

Person person = client.getProfileById(id, EnumSet.of(
                ProfileField.FIRST_NAME, ProfileField.LAST_NAME, ProfileField.HEADLINE,
                ProfileField.PUBLIC_PROFILE_URL, ProfileField.RELATION_TO_VIEWER_DISTANCE, 
                ProfileField.RELATION_TO_VIEWER_RELATED_CONNECTIONS, 
                ProfileField.RELATION_TO_VIEWER_RELATED_CONNECTIONS_FIRST_NAME, 
                ProfileField.RELATION_TO_VIEWER_RELATED_CONNECTIONS_LAST_NAME,
                ProfileField.RELATION_TO_VIEWER_RELATED_CONNECTIONS_PUBLIC_PROFILE_URL));

Original issue reported on code.google.com by [email protected] on 14 Mar 2011 at 12:35

Interests field missing

In ProfileField, there is no constant for the field "interests" but there is on 
the Person class.  There should be a constant in ProfileField named INTERESTS 
that maps to the LinkedIn field "interests" and calls 
Person.setInterests(String) when a Person is inflated.

Original issue reported on code.google.com by [email protected] on 20 Jul 2010 at 7:07

Get Profile and Connections by URL throws bad request error.

What steps will reproduce the problem?
1. Try to access a profile on the connections of a user by url.

Instead of returning the profile or connections it throws the exception:
Caused by: java.io.IOException: Server returned HTTP response code: 400 for
URL:
http://api.linkedin.com/v1/people/url=http%3A%2F%2Fpk.linkedin.com%2Fin%2Fmonisi
qbal
    at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.jav
a:1241)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
    ... 4 more

This has also been posted on the LinkedIn API forum:
http://developer.linkedin.com/thread/1264

Original issue reported on code.google.com by nabeelmukhtar on 8 Dec 2009 at 11:52

request to implement new people search API

Please implement new search API(http://developer.linkedin.com/docs/DOC-1191) 
replacing the existing search API(http://developer.linkedin.com/docs/DOC-1005) 
because the present search API is deprecated according to the linkedin 
developer Network.


Original issue reported on code.google.com by [email protected] on 6 Jul 2010 at 12:57

More Profile fields

Hi Nabeel!

Do you plan to add support for other profile fields, such as `date-of-birth`,  
`im-accounts`, `phone-numbers` or `twitter-account` and others, described in 
http://developer.linkedin.com/docs/DOC-1061 ? 

--
Victor

Original issue reported on code.google.com by [email protected] on 18 May 2010 at 8:04

Getting Connection timed out: connect

What steps will reproduce the problem?
1. Downloaded the latest source files.
2. Compiled the sources using eclipse.
3. Ran the OAuthAuthenticationExample as a java application specifying my 
consumer key and secret.

What is the expected output? What do you see instead?
Example should work as expected.But i get the following exception.

Fetching request token from LinkedIn...
com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceException: 
oauth.signpost.exception.OAuthCommunicationException: Communication with the 
service provider failed: Connection timed out: connect
    at com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthRequestToken(LinkedInOAuthServiceImpl.java:140)
    at com.google.code.linkedinapi.client.examples.OAuthAuthenticationExample.processCommandLine(OAuthAuthenticationExample.java:76)
    at com.google.code.linkedinapi.client.examples.OAuthAuthenticationExample.main(OAuthAuthenticationExample.java:54)
Caused by: oauth.signpost.exception.OAuthCommunicationException: Communication 
with the service provider failed: Connection timed out: connect
    at oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:214)
    at oauth.signpost.AbstractOAuthProvider.retrieveRequestToken(AbstractOAuthProvider.java:69)
    at com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthRequestToken(LinkedInOAuthServiceImpl.java:129)
    ... 2 more
Caused by: java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:525)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:550)
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:141)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
    at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272)
    at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:133)
    at oauth.signpost.basic.DefaultOAuthProvider.sendRequest(DefaultOAuthProvider.java:48)
    at oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:177)
    ... 4 more

What version of the product are you using? On what operating system?
I downloaded the following zip "linkedin-j-0.1-rc4.zip" and using it on windows 
XP.

Any help would be much appreciated.

Thanking you,

Vinay 


Original issue reported on code.google.com by [email protected] on 23 Jun 2010 at 3:48

unable to build from command line

What steps will reproduce the problem?
1. I'm unable to use the last published snapshot in my project, so I downloaded 
the source.
2. Though I'm unable to build the tool on the command line using ant or maven.
3. Importing the project into eclipse and running the sample authentication 
code in eclipse works  
though.

it would be great if you can publish a snapshot that works or update the build 
scripts so people can 
build and use trunk. 
Beside that - awesome project, thanks!

Original issue reported on code.google.com by [email protected] on 3 Mar 2010 at 6:53

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.