mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 01:43:42 +00:00
[twitter] Fix typo in remote API path for likes
This commit is contained in:
parent
21efea5b50
commit
24740d0ba0
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ function twitter_post_hook(App $a, array &$b)
|
||||||
if ($b['verb'] == Activity::LIKE) {
|
if ($b['verb'] == Activity::LIKE) {
|
||||||
Logger::info('Like', ['uid' => $b['uid'], 'id' => twitter_get_id($b["thr-parent"])]);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue