Tag Archives: Twitter

Twitter Component v2.0 for Adobe LiveCycle ES2 released!

About 3 years ago I wrote my first custom component for Adobe LiveCycle ES, a Twitter client, that allowed you to Tweet as part of a process orchestration. I’ve seen it crop up in quite a few demonstrations over time and find it to be a good example of how extensible Livecycle ES is. Until it broke. or rather, Twitter changed their authentication system to require oAuth, causing me to finally update the 3 year old code.

Times have changed for component development with LiveCycle. When I built the first version it involved manual creation of config file. Life is easy with the new LiveCycle Workbench ES Component Development Tool on Adobe Labs.

Here is the process I followed (Step 1-8 took less than 2 hours)

  1. Open Eclipse
  2. Stare at the screen for a minute
  3. Google “Twitter oAuth Java”
  4. Found “Scribe” and downloaded the library
  5. Ran the sample Java code within Eclipse and confirmed it worked
  6. Ran the LiveCycle Component Development Tool and created the wrapper project
  7. “Stole” pieces of the Scribe sample code for the Livecycle component.
  8. Deployed and tested the component in a process (it actually worked first go! Gasp!)
  9. Wrote some documentation -> http://www.markszulc.com/blog/twitter-component-for-adobe-livecycle-es2-5/

Most of the time was spent futzing around trying to understand oAuth 2.0, so hopefully my docs above will make it easy to get the component up and running. The actual LiveCycle work took very little time.

Still to do

  1. Better error handling – Twitter codes are returned, but I’m assuming internet connectivity :-/
  2. More operations eg. direct tweet, reply etc
  3. Consider making a Facebook & Foursquare version

Any feature requests? If you use it (even for a demo) let me know!

Building a controlled Twitter solution using Adobe LiveCycle ES

My colleagues from Adobe’s Benelux technical team have come up with another great use case for my custom LiveCycle ES Twitter Component I built some time ago.

Anyone with a corporate shared Twitter account will understand the conflict between being open and allowing anyone to post a tweet vs making sure that only correct public information is exposed. This solution built out using Adobe LiveCycle ES & Flash Builder is one way of solving this issue.

Part 1 – Build a controlled tweet solution

Building a controlled Twitter solution using Adobe LiveCycle ES (part1) from Dr LiveCycle on Vimeo. Part 1 of a video that demonstrates how you can use LiveCycle ES to build a process Continue reading

Twitter Component for LiveCycle ES

After reading a couple of great articles recently I thought I’d give writing a component (or DSC – Document Service Component) for LiveCycle ES a go. For inspiration I read Mike Hodgson’s Devnet walkthrough article on how to build a component and Christoph Room’s sample for integrating LiveCycle ES with Adobe Share.

Twitter Component for LiveCycle ES

Since using the Twitter API has become the modern day “Hello World” I decided to give it a shot. After googling for 5 minutes I found the Think Tank Twitter java interface. A few lines of code and I had my class written ready for LiveCycle integration; Continue reading