Skip to content

Commit

Permalink
Allow API.send_direct_message() to accept either user/screen_name/use…
Browse files Browse the repository at this point in the history
…r_id
  • Loading branch information
joshthecoder committed Dec 9, 2009
1 parent 6f25df1 commit fdb8c69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -21,6 +21,7 @@ during upgrade will be listed here.
+ API
- retweet() method now works correctly
- Added local trends method: trends_available() and trends_location()
- send_direct_message() now accepts either a user/screen_name/user_id for recipient of DM
+ tweepy.debug() enables httplib debug mode
+ New Sphinx documentation (Thanks Kumar!) in doc/

Expand Down
2 changes: 1 addition & 1 deletion tweepy/api.py
Expand Up @@ -188,7 +188,7 @@ def me(self):
path = '/direct_messages/new.json',
method = 'POST',
parser = parse_dm,
allowed_param = ['user', 'text'],
allowed_param = ['user', 'screen_name', 'user_id', 'text'],
require_auth = True
)

Expand Down

0 comments on commit fdb8c69

Please sign in to comment.