From: Hypolite Petovan Date: Sat, 9 Oct 2021 02:22:26 +0000 (-0400) Subject: [twitter] Fix typo in remote API path for likes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=24740d0ba05d15f7a43ce98bebaec3715d93a401;p=friendica-addons.git [twitter] Fix typo in remote API path for likes --- diff --git a/twitter/twitter.php b/twitter/twitter.php index 3e5419f4..e07cc74f 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -630,7 +630,7 @@ function twitter_post_hook(App $a, array &$b) if ($b['verb'] == Activity::LIKE) { Logger::info('Like', ['uid' => $b['uid'], 'id' => twitter_get_id($b["thr-parent"])]); - twitter_api_post($b['deleted'] ? 'favorite/destroy' : 'favorite/create', twitter_get_id($b["thr-parent"]), $b["uid"]); + twitter_api_post($b['deleted'] ? 'favorites/destroy' : 'favorites/create', twitter_get_id($b["thr-parent"]), $b["uid"]); return; }