help

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

help

Sebastian Feijoo
Hello,
 We are working on a project for the University. We need to develop a tool that can communicate with Twitter. More in detail, it has to post the changes made to packages / bundles in a twitter account. We were investigating the Twitter API, the package Twitter which is posted on the Cincom public repository and the package OAuth. However, we could not make the tool work. 
This is a simple example of what we want:

"create settings file"

settings := OAuth.Settings new.
settings username: 'username'.
settings password: 'password'.
settings consumerKey: 'xxxxxxxxxxxxxxxxxxxx'.
settings consumerSecret: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'.
settings requestTokenUrl: 'https://api.twitter.com/oauth/request_token'.
settings requestAuthorizationUrl: 'https://api.twitter.com/oauth/authorize'.
settings requestAccessTokenUrl: 'https://api.twitter.com/oauth/access_token'.

"get an interface"
model := TwitterModel new: settings.

"set status"
model setStatusTo: 'The package XXXX has been changed'.

We appreciate any help or idea


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: help

jarober
I had the Twitter interface working before they went to OAuth.  I then started working on OAuth, but never completed it.

On Sep 22, 2011, at 7:03 PM, Sebastian Feijoo wrote:

Hello,
 We are working on a project for the University. We need to develop a tool that can communicate with Twitter. More in detail, it has to post the changes made to packages / bundles in a twitter account. We were investigating the Twitter API, the package Twitter which is posted on the Cincom public repository and the package OAuth. However, we could not make the tool work. 
This is a simple example of what we want:

"create settings file"

settings := OAuth.Settings new.
settings username: 'username'.
settings password: 'password'.
settings consumerKey: 'xxxxxxxxxxxxxxxxxxxx'.
settings consumerSecret: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'.
settings requestTokenUrl: 'https://api.twitter.com/oauth/request_token'.
settings requestAuthorizationUrl: 'https://api.twitter.com/oauth/authorize'.
settings requestAccessTokenUrl: 'https://api.twitter.com/oauth/access_token'.

"get an interface"
model := TwitterModel new: settings.

"set status"
model setStatusTo: 'The package XXXX has been changed'.

We appreciate any help or idea

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc