friend-feed 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/Manifest.txt +1 -1
- data/README.txt +18 -2
- data/Rakefile +1 -0
- data/lib/friend-feed.rb +1 -1
- data/lib/friend-feed/{feed.rb → client.rb} +1 -1
- metadata +2 -2
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
data/README.txt
CHANGED
@@ -8,11 +8,27 @@ Ruby client for the FriendFeed API.
|
|
8
8
|
|
9
9
|
== FEATURES/PROBLEMS:
|
10
10
|
|
11
|
-
*
|
11
|
+
* Needs tests
|
12
|
+
* Needs error handling
|
13
|
+
* Multi-user feeds do not work - not sure if it's on FF's end or mine
|
12
14
|
|
13
15
|
== SYNOPSIS:
|
14
16
|
|
15
|
-
|
17
|
+
username = 'a_user'
|
18
|
+
api_key = 'THISISMYAPIKEY'
|
19
|
+
|
20
|
+
# username and api_key not needed for non-auth-required actions
|
21
|
+
friend_feed = FriendFeed::Client.new(username, api_key)
|
22
|
+
|
23
|
+
public = friend_feed.fetch_public_feed
|
24
|
+
my_feed = friend_feed.fetch_home_feed
|
25
|
+
petes_feed = friend_feed.fetch_user_feed 'pete'
|
26
|
+
|
27
|
+
msg = feed.publish_message 'Hello world!'
|
28
|
+
link = feed.publish_link 'Hello world!', 'http://example.com'
|
29
|
+
feed.add_comment msg['id'], 'This is a comment.'
|
30
|
+
feed.add_like link['id']
|
31
|
+
feed.delete_like link['id']
|
16
32
|
|
17
33
|
== REQUIREMENTS:
|
18
34
|
|
data/Rakefile
CHANGED
data/lib/friend-feed.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: friend-feed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clinton R. Nixon
|
@@ -35,8 +35,8 @@ files:
|
|
35
35
|
- Manifest.txt
|
36
36
|
- README.txt
|
37
37
|
- Rakefile
|
38
|
-
- lib/friend-feed/feed.rb
|
39
38
|
- lib/friend-feed.rb
|
39
|
+
- lib/friend-feed/client.rb
|
40
40
|
- tasks/ann.rake
|
41
41
|
- tasks/annotations.rake
|
42
42
|
- tasks/bones.rake
|