Module: Tuiter::SocialGraphMethods
- Included in:
- Client
- Defined in:
- lib/tuiter/methods/social_graph.rb
Instance Method Summary collapse
Instance Method Details
#followers_ids ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/tuiter/methods/social_graph.rb', line 9 def followers_ids if res = @request_handler.get("http://twitter.com/followers/ids/#{username}.json").body return JSON.parse(res) else return nil end end |
#friends_ids ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/tuiter/methods/social_graph.rb', line 17 def friends_ids if res = @request_handler.get("http://twitter.com/friends/ids/#{username}.json").body return JSON.parse(res) else return nil end end |