Twitter Component for Adobe LiveCycle ES2.5
This is a LiveCycle ES2.5 component that allows you to orchestrate a status update of a users account on Twitter. This latest version support authentication via oAuth and as a result you must follow the setup process in order to gain access to the account.
Twitter Component v2.0 (Zip file of LiveCycle Archive (LCA)
Registering the component with Twitter
- Browse to http://dev.twitter.com
- Log in with a valid Twitter account
- Select “Your Apps” then “Register new app”
- Complete the form with the following in mind a) Application name should be whatever you want to be displayed in the stream b) Application website is what you want to link users to if they click your application name c) Application Type must be Client d) Default Access Type must be Read & Write
- Click “Register Application” and accept the Terms of Service
- Take a note of the Consumer Key & the Consumer Secret
- Click on “My Access Token”
- Take a note of the Access Token & Access Token Secret
Deploying the Twitter Component for LiveCycle
- Download Twitter Component v2.0 and unzip.
- Login to LiveCycle AdminUI
- Select Services -> Applications and Services -> Application Management
- Click Import and browse to TwitterComponent.lca
- Click Preview
- Select “Deploy assets to runtime when import is complete”
- Click Import
- Navigate back up a level to Applications and Services, then select Service Management
- Enter Twitter into the name field and click Filter
- Click on TwitterStatus
- Enter the 4 values from the Twitter application registration page.
Testing the Twitter Component
- Open LiveCycle Workbench
- Select File -> Get Application
- Select TwitterSamples
- Right click on the “TestUpdateStatus” process and select Invoke
- Enter your test Tweet message
- If you receive a status code of 200, then the tweet was successful. If you receive a different value then consult this guide on Twitter Response Codes & Errors
Let me know how it works for you and what you plan to do with it!