Quantcast
Channel: Twitter | MarkSzulc.com
Viewing all articles
Browse latest Browse all 6

Twitter Component v2.0 for Adobe LiveCycle ES2 released!

0
0

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://13.211.228.135/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!

The post Twitter Component v2.0 for Adobe LiveCycle ES2 released! first appeared on MarkSzulc.com.

Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images