diff options
author | zach <zach@controlyourself.ca> | 2008-10-16 22:36:38 -0400 |
---|---|---|
committer | zach <zach@controlyourself.ca> | 2008-10-16 22:36:38 -0400 |
commit | b2f0ad1cccc4bebbf264c4ab61a37173c9a565cc (patch) | |
tree | e0b7298a79dbd44710b385a4fdc5eac2f4785aa8 /actions/twitapifriendships.php | |
parent | 9b75a8ea9f7f274e1e410afa3f3cde793bdecdc3 (diff) |
Twitter-compatible API:
- Filled in favorites tags in statuses
- Filled in more tags in user/show, including undocumented features
- Better error handling and more consistent error messages
- Code clean-up and refactoring
- Removed huge obnoxious comments
darcs-hash:20081017023638-462f3-27b5d2709e423c616723d4bcfbc9d7d30a4ad161.gz
Diffstat (limited to 'actions/twitapifriendships.php')
-rw-r--r-- | actions/twitapifriendships.php | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php index 01aa5fa36..03dd8f063 100644 --- a/actions/twitapifriendships.php +++ b/actions/twitapifriendships.php @@ -89,18 +89,6 @@ class TwitapifriendshipsAction extends TwitterapiAction { } - //destroy - // - //Discontinues friendship with the user specified in the ID parameter as the authenticating user. Returns the un-friended user in the requested format when successful. Returns a string describing the failure condition when unsuccessful. - // - //URL: http://twitter.com/friendships/destroy/id.format - // - //Formats: xml, json - // - //Parameters: - // - //* id. Required. The ID or screen name of the user with whom to discontinue friendship. Ex: http://twitter.com/friendships/destroy/12345.json or http://twitter.com/friendships/destroy/bob.xml - function destroy($args, $apidata) { parent::handle($args); @@ -136,19 +124,6 @@ class TwitapifriendshipsAction extends TwitterapiAction { } - // Tests if a friendship exists between two users. - // - // - // URL: http://twitter.com/friendships/exists.format - // - // Formats: xml, json, none - // - // Parameters: - // - // * user_a. Required. The ID or screen_name of the first user to test friendship for. - // * user_b. Required. The ID or screen_name of the second user to test friendship for. - // * Ex: http://twitter.com/friendships/exists.xml?user_a=alice&user_b=bob - function exists($args, $apidata) { parent::handle($args); |