I'm current writing a script that will get any new post from my forum and post it to our Twitter account. I had this script working before, but since Twitter moved to OAuth I need some help.
Now if I use this code it does work. I don't see the difference since the StoredAccessToken, and StoredAccessSecret is always the same. But this code now the user need to Accept the application.
Kevin... you are correct.. they problem is with the session object... When I store the results in the session it works... but the problem is that my session will expire every 20 minutes... is it possible to store that permanently in the server?
These are variables you access as Application.VariableName similar to Session.VariableName. I am a bit of an old school ColdFusion developer (I need to get up-to-date as I miss CFML), so I would put them in the Application.CFM file.
It shows using the onApplicationStart function of Application.CFC. You will see in the code example that they set (at the start of the application) the values of two application scoped variables.