projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2acaae
)
Fix create/destory favorites for v1.1.
author
Joshua Roesslein
<jroesslein@gmail.com>
Sun, 20 Jan 2013 22:17:24 +0000
(14:17 -0800)
committer
Joshua Roesslein
<jroesslein@gmail.com>
Sun, 20 Jan 2013 22:17:24 +0000
(14:17 -0800)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 2ffd21b647b413f4d6c9b9bbc63eb294991524c8..7d6dc5c3ba7a0966d9165c24a53decf603636a33 100644
(file)
--- a/
tweepy/api.py
+++ b/
tweepy/api.py
@@
-432,7
+432,7
@@
class API(object):
""" favorites/create """
create_favorite = bind_api(
- path = '/favorites/create
/{id}
.json',
+ path = '/favorites/create.json',
method = 'POST',
payload_type = 'status',
allowed_param = ['id'],
@@
-441,8
+441,8
@@
class API(object):
""" favorites/destroy """
destroy_favorite = bind_api(
- path = '/favorites/destroy
/{id}
.json',
- method = '
DELETE
',
+ path = '/favorites/destroy.json',
+ method = '
POST
',
payload_type = 'status',
allowed_param = ['id'],
require_auth = True