From: Hypolite Petovan Date: Sat, 9 Oct 2021 05:58:55 +0000 (-0400) Subject: [twitter] Fix typo in API path for unfollowing X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7cc6f3f4a31f8dd96d12d79776fac637fbbf1761;p=friendica-addons.git [twitter] Fix typo in API path for unfollowing --- diff --git a/twitter/twitter.php b/twitter/twitter.php index c443f0c2..1c54c9ae 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -170,7 +170,7 @@ function twitter_follow(App $a, array &$contact) function twitter_unfollow(App $a, array &$hook_data) { - $hook_data['result'] = twitter_api_contact('friendship/destroy', $hook_data['contact'], $hook_data['uid']); + $hook_data['result'] = twitter_api_contact('friendships/destroy', $hook_data['contact'], $hook_data['contact']['uid']); } function twitter_block(App $a, array &$hook_data)