Plugin to update twitter status

Just uploaded version 0.1 of a Ruby on Rails plugin
“simple_twitter_post” to github:

Makes it easy to update the twitter status of a configurable account
with this interface:

p = SimpleTwitterPost::Base.new
p.post(“Welcome our new member ‘:user_name’. Profile is at :url”,
:user_name => user.name, :url => user.url)

Result: Natural version of this message appears in the Twitter time
line.

Notes:

  • The :url value is passed through tinyurl.com
  • If values of :user_name (or other keys) cause the message to exceed
    the 140 limit, they are truncated. The URL is not truncated, if
    possible.

More in the README file,

Uses Basic Authentication at the moment. Twitter says this will be
discontinued in a few weeks (http://dev.twitter.com/pages/oauth_faq)

This version is for feedback on the interface, see above. Incorporating
one of the twitter-gems for OAUTH to come.

Stephan

Stephan W. wrote:

http://github.com/stephan-buckmaster/simple_twitter_post

Uses Basic Authentication at the moment. Twitter says this will be
discontinued in a few weeks (http://dev.twitter.com/pages/oauth_faq)

I updated a week ago to OAuth (using grackle)

Stephan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs