Open topic with navigation

TIBCO ActiveMatrix BusinessWorks™ Plug-in Development Kit 6.3.1

# Generating an Access Token and a Token Secret

You have to generate an access token and a token secret before running LinkedIn processes.

Before you begin Ensure that you have installed Java version 1.7 or above on your machine.

Procedure
1. Log on to the LinkedIn website using your user name and password.
   You have to register first if you do not have a user name and password.
2. Go to the Developers page, and click My Apps. Click Create Application to create your applications.
3. Enter all the required information, and click Submit to receive the authentication keys of client ID and client secret.
4. In the Default Application Permissions area, select the w_share check box to share content by the application on LinkedIn. Click Update.
5. Extract the LinkedinTokenGenerator.zip file in the TIBCO_HOME/bw/palettes/devkit/version_number/samples directory to a temporary directory.
6. On the command line, navigate to the temporary directory where this tool is extracted, run the `javac -cp "lib/*" src/TokenGenerator.java` command, and then run the following command:
   - Microsoft Windows: `java -cp "src/;lib/*" TokenGenerator`
   - Linux: `java -cp "src/:lib/*" TokenGenerator`
   - Mac OS: `java -cp "src/:lib/*" TokenGenerator`
7. On the command line, enter the client ID and the client secret that you received in Step 3.
8. Go to the website link that is displayed on the command line, and click Allow access to allow access to your LinkedIn information.
   After authorizing the access, you receive a PIN code to grant access.
9. On the command line, enter this PIN code to generate the access token and the token secret.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO ActiveMatrix BusinessWorks™ Plug-in Development Kit

Copyright © 2014-2022. TIBCO Software Inc. All Rights Reserved.