public
Description: Ruby client for the Friend Feed API.
Homepage: http://rubyforge.org/projects/friend-feed/
Clone URL: git://github.com/crnixon/ruby_friend-feed.git
name age message
file History.txt Thu Mar 27 07:39:17 -0700 2008 renamed feed to client; updated docs [crnixon]
file Manifest.txt Thu Mar 27 07:39:17 -0700 2008 renamed feed to client; updated docs [crnixon]
file README.txt Thu Mar 27 07:39:17 -0700 2008 renamed feed to client; updated docs [crnixon]
file Rakefile Thu Mar 27 07:39:17 -0700 2008 renamed feed to client; updated docs [crnixon]
directory lib/ Thu Mar 27 07:39:17 -0700 2008 renamed feed to client; updated docs [crnixon]
directory tasks/ Wed Mar 26 21:32:54 -0700 2008 initial commit [crnixon]
directory test/ Wed Mar 26 21:32:54 -0700 2008 initial commit [crnixon]
README.txt
friend-feed
    by Clinton R. Nixon <crnixon@gmail.com>
    http://friend-feed.rubyforge.org

== DESCRIPTION:

Ruby client for the FriendFeed API.

== FEATURES/PROBLEMS:

* Needs tests
* Needs error handling
* Multi-user feeds do not work - not sure if it's on FF's end or mine

== SYNOPSIS:

  username = 'a_user'
  api_key = 'THISISMYAPIKEY'
  
  # username and api_key not needed for non-auth-required actions
  friend_feed = FriendFeed::Client.new(username, api_key)
  
  public = friend_feed.fetch_public_feed
  my_feed = friend_feed.fetch_home_feed
  petes_feed = friend_feed.fetch_user_feed 'pete'
  
  msg = feed.publish_message 'Hello world!'
  link = feed.publish_link 'Hello world!', 'http://example.com'
  feed.add_comment msg['id'], 'This is a comment.'
  feed.add_like link['id']
  feed.delete_like link['id']

== REQUIREMENTS:

* json gem

== INSTALL:

* sudo gem install friend-feed

== LICENSE:

(The MIT License)

Copyright (c) 2008 Clinton R. Nixon

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.