views:

455

answers:

2

I'm currently writing a program which uses Twitter to display your #nowplaying track from iTunes. As of now, we're using the basic Twitter authorization, however we'd like to use the oAuth implementation to make it better.

The language I'm using (AutoIt) does not really have the features needed to create a working oAuth system (unless anyone will prove me wrong, please do), so my idea is to create a PHP script that my application will contact and then send the tweet through to Twitter that way.

Now, I'm just asking whether this is possible and if it is a good idea. Or whether someone could help me write the AutoIt UDF for oAuth?

-James

+1  A: 

It is certainly possible to do the Twitter OAuth part via a PHP script, I've done it. Not familiar with AutoIt's capabilities however.

Don Neufeld
How were you able to handle the authorization window through your application?
James Brooks
A: 

You can take a look at this Twitter module for CodeIgniter. This module can handle authentication using oAuth method, then store the token from twitter in the session. With the token, all twitter api that require authentication can be called. You can learn how to do it by looking at the sample code, it's simple enough.

Donny Kurnia