check out this JSP taglib: http://www.servletsuite.com/servlets/twittertag.htm
you can use it in CF as well On Mar 29, 10:32 pm, Craig328 <[email protected]> wrote: > I've been banging my head on this issue for the past 3-4 days to the > point that my skull has attained a soggy, squishy quality...so any > help would be most appreciated. > > I have a Twitter account that I want to post simple periodic updates > to from a website I own. I can successfully do this: > > <cfhttp url="http://twitter.com/account/verify_credentials.xml" > method="get" username="#variables.Tusername#" > password="#variables.Tpassword#"> > > That works everytime. However, this does not work: > > <cfhttp url="http://twitter.com/statuses/update.xml" method="POST" > username="#variables.Tusername#" password="#variables.Tpassword#" > charset="UTF-8"> > <cfhttpparam type="FORMFIELD" name="user" > value="#variables.Tusername#"> > <cfhttpparam type="FORMFIELD" name="password" > value="#variables.Tpassword#"> > <cfhttpparam type="FORMFIELD" name="status" > value="#variables.Tstatus#"> > </cfhttp> > > Not just that but any variation of the post to update.xml fails and > the fail reason is: "Could not authenticate you." I've tried it in > just about every combination I can think of. I've scoured Twitter's > API docs, Google and everywhere in between and can't get this to go. > I'm hoping someone can point me in the right direction. This seems a > really simply thing but it's driving me to distraction. I don't > believe there's a setting in Twitter itself that is causing the > issue...but perhaps I'm wrong. > > Any help/assistance would be most welcome and appreciated. Thanks in > advance.
