Coder Social home page Coder Social logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
The syntax to execute the example is: (replace your own consumer key and secret 
and
make sure all the required jars are in classpath)

java com.google.code.linkedinapi.client.examples.OAuthAuthenticationExample
-consumerKey TdA4ZuoRgD46-vh8kFF9l0xcs5W3ODBaGdto1OdLv9ujfZiKpq4_KBfT7j-xxxxx
-consumerSecret biSbgqH0hSzCvDMDsQyA21AOapiLzUS8Ka11QDraqVGj8kFZJEY1FrqUqYdxxxx

Both the consumer key and secret can contain underscores and dashes. If you 
still
cannot execute the example, please specify the commandline syntax you are using 
to
execute it.

Thanks for your help.

Regards
Nabeel Mukhtar

Original comment by nabeelmukhtar on 11 Dec 2009 at 12:54

  • Changed state: Started

from linkedin-j.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
well i have changed the CONSUMER_KEY_OPTION and the CONSUMER_SECRET_OPTION in 
the
OAuthAuthenticationExample and both my key option and secret option contain '-' 
which
is not being accepted. i have included all the jar specially the commons.cli 
which
contions the options package.

i am running it from eclipse.

do u think it's some encoding problem and needs some http encoding????

Original comment by [email protected] on 14 Dec 2009 at 6:10

from linkedin-j.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
You do not have to change the source file. You have to specify consumer key and
secret in the command line.
The CONSUMER_KEY_OPTION and CONSUMER_SECRET_OPTION are the command line option 
names
and not the key and secret so changing them will break the example.
So do not change the source file and in eclipse specify the program arguments 
as:
-consumerKey TdA4ZuoRgD46-vh8kFF9l0xcs5W3ODBaGdto1OdLv9ujfZiKpq4_KBfT7j-xxxxx
-consumerSecret biSbgqH0hSzCvDMDsQyA21AOapiLzUS8Ka11QDraqVGj8kFZJEY1FrqUqYdxxxx

Then run the example.

Hope that helps.

Regards
Nabeel Mukhtar

Original comment by nabeelmukhtar on 14 Dec 2009 at 11:57

from linkedin-j.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Well i haven't made any changes to the source file, tried out the signpost outh
source code. was able to make a call. i think its an encoding issue, signpost is
using the HMAC_SHA1 standard for linkedin. If i find time i'l try it out myself.

Regards
Avijit Sadhu

Original comment by [email protected] on 15 Dec 2009 at 5:17

from linkedin-j.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024

Original comment by nabeelmukhtar on 17 Dec 2009 at 7:31

  • Changed state: WontFix

from linkedin-j.

Related Issues (20)

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.