aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2015-11-06 19:32:12 +0100
committerMarius Halden <marius.h@lden.org>2016-05-07 14:27:16 +0200
commitce4ce55ea34dc778a5a3d06cd13650b599c74a03 (patch)
tree20ce8a8a32787e05a8703fee933528e0833693c3
parentf6119b76d73b9cdff3cbfd902675a36bcacbcd48 (diff)
add some block/mute headers
-rw-r--r--protocols/twitter/twitter_lib.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/protocols/twitter/twitter_lib.h b/protocols/twitter/twitter_lib.h
index 6833d23d..c36d9aed 100644
--- a/protocols/twitter/twitter_lib.h
+++ b/protocols/twitter/twitter_lib.h
@@ -74,12 +74,16 @@
#define TWITTER_FAVORITE_DESTROY_URL "/favorites/destroy.json"
/* Block URLs */
+#define TWITTER_BLOCKS_LIST_URL "/blocks/list/"
+#define TWITTER_BLOCKS_IDS_URL "/blocks/ids/"
#define TWITTER_BLOCKS_CREATE_URL "/blocks/create/"
#define TWITTER_BLOCKS_DESTROY_URL "/blocks/destroy/"
/* Mute URLs */
-#define TWITTER_MUTES_CREATE_URL "/mutes/users/create.json"
-#define TWITTER_MUTES_DESTROY_URL "/mutes/users/destroy.json"
+#define TWITTER_MUTES_LIST_URL "/mutes/users/list/"
+#define TWITTER_MUTES_IDS_URL "/mutes/users/ids"
+#define TWITTER_MUTES_CREATE_URL "/mutes/users/create/"
+#define TWITTER_MUTES_DESTROY_URL "/muster/users/destroy/"
/* Report spam */
#define TWITTER_REPORT_SPAM_URL "/users/report_spam.json"