projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36fa0cb
)
Add optional "source" parameter to update_status.
author
Kumar Appaiah
<a.kumar@alumni.iitm.ac.in>
Thu, 10 Dec 2009 05:18:52 +0000
(23:18 -0600)
committer
Joshua Roesslein
<jroesslein@gmail.com>
Thu, 10 Dec 2009 05:18:52 +0000
(23:18 -0600)
Note: source parameter only works with identi.ca API.
Twitter ignores this parameter.
Signed-off-by: Joshua Roesslein <jroesslein@gmail.com>
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 0b46c93396d87c8a48941ee181e2d09ebd00eef4..d479c33409bc662c4b1bb97d07e9fc45e2672c7d 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-104,7
+104,7
@@
class API(object):
path = '/statuses/update.json',
method = 'POST',
parser = parse_status,
- allowed_param = ['status', 'in_reply_to_status_id', 'lat', 'long'],
+ allowed_param = ['status', 'in_reply_to_status_id', 'lat', 'long'
, 'source'
],
require_auth = True
)