Thanks for you reply, Todd.
I rolled my own Twitter CFCs, based upon existing librarys and all
was fine until Twitter changed to OAuth.
Since then i am wrestling with OAuth, and i could not find a clean and
simple CFC as an example or starting point for OAuth.
Then i went the road of Raymond Camden,
http://www.coldfusionjedi.com/index.cfm/2010/9/7/Adding-support-for-automated-tweets-with-OAuth
I was hoping that javaloader was the solution for loading the
twitter4j Java library.
Also looked at
oauth.riaforge.org but it seems an overkill for just
logging into an API, with dozens of pages of code, an extra Database,
DAO etc.
OAuth is a great concept, but implemeting it is, uhh, arrgghh :)
On 24 jan, 16:19, todd sharp <
t...@cfsilence.com> wrote:
> Most shared hosts are probably blocking access to creating java objects (see
> other threads on this list).
>
> Any reason why you can't just use a straight ColdFusion twitter library?
> There are a bunch out in the Open Source world.
>
>
>
>
>
>
>
>
>
> On Mon, Jan 24, 2011 at 9:37 AM, dizid <
glasw...@gmail.com> wrote:
> > hi,
>
> > The example loadHelloWorld works fine on my local machine, but on my
> > webhost it gives an error:
>
> > Error Occurred While Processing Request
> > com.compoundtheory.classloader.NetworkClassLoader
>
> > The error occurred in D:\inetpub\calcumania\zonzoeker\JavaLoader.cfc:
> > line 137
> > Called from D:\inetpub\calcumania\zonzoeker\JavaLoader.cfc: line 51
> > Called from D:\inetpub\calcumania\zonzoeker\index2.cfm: line 28
> > 135 : var networkClassLoaderProxy = 0;
> > 136 :
> > 137 : networkClassLoaderClass =
>
> > getServerURLClassLoader().loadClass("com.compoundtheory.classloader.Network ClassLoader");
> > 138 :
> > 139 : networkClassLoaderProxy =
> > createJavaProxy(networkClassLoaderClass);
>
> > index2.cfm line 28:
> > //create the loader
> > loader = createObject("component", "JavaLoader").init(paths);
>
> > Maybe the webhost (
crystaltech.com ) has restrictions in place for
> > loading JavaClasses from other domains?
> > Any way around this? (my goal is to use twitter4j Java Library (for
> > OAuth) to do some automated tweets to my own account.
>
> --
> Todd Sharp
> Sharp Interactive, LLChttp://slidesix.com-- Multimedia Enabled Presentation Sharing
> IM:
cfsile...@gmail.com