The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Still Plugging Away at the Twitter Interface

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Still Plugging Away at the Twitter Interface Posted: Nov 17, 2009 10:33 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Still Plugging Away at the Twitter Interface
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

It's not that working on the Twitter interface is hard, it's more that I work in an interrupt driven environment, and example code like this is of a pretty low priority. Anyway - I finished off the Account methods just now, although I'm getting a 500 from Twitter on image uploads (for the profile). I'm figuring that's their problem; a 500 does indicate a server issue, and the same code works fine with Facebook.

Anyway, here's an example of updating the profile data via their API:


model := TwitterModel new.
profile := ProfileUpdate new url: 'http://www.cincomsmalltalk.com/blog/blogView?content=bio'.
model updateProfile: profile.

Which works fine; I just used that twice, to set the profile url back and forth. I should have the entire public API covered shortly, at which point I'll see if I can get Twitter to list the Smalltalk library on their API Wiki.

In the meantime, I'd be very happy if someone were willing to implement OAuth :)

Technorati Tags: , ,

Read: Still Plugging Away at the Twitter Interface

Topic: I Was Feeling Left Out Previous Topic   Next Topic Topic: Publishers Need Google

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use