From 956a8f20c46e22636302bb3b614b275e4863f706 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Sun, 18 Mar 2018 01:03:49 +0100 Subject: [PATCH] - try to force twitter to use favorite id as a parameter not url subdir --- screenless/bureau/publicrelations/publicrelations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenless/bureau/publicrelations/publicrelations.py b/screenless/bureau/publicrelations/publicrelations.py index ac47971..99dc3e2 100644 --- a/screenless/bureau/publicrelations/publicrelations.py +++ b/screenless/bureau/publicrelations/publicrelations.py @@ -217,7 +217,7 @@ class PublicRelations(Bureau): """ shortcode, _ = data.split(".") tweet_id = self.get_tweet_id(shortcode) - self.t.t.favorites.create(id=tweet_id, _method="POST") + self.t.t.favorites.create(_id=tweet_id) def main():