Replace dfrn_request by subscribe URL when available for the follow link

- Falls back to the `/remote_follow` module available since Friendica version 2020.03
- Falls back to the profile URL
- Remove unused atlas dependency in a couple API controllers
This commit is contained in:
Hypolite Petovan 2022-05-07 15:52:55 -04:00
commit 2627b54349
12 changed files with 80 additions and 31 deletions

View file

@ -47,7 +47,9 @@ Example:
"dfrn_request": "https://friendica.mrpetovan.com/dfrn_request/hypolite",
"photo": "https://friendica.mrpetovan.com/photo/27330388315ae4ed2b03e3c116980490-4.jpg?ts=1541567135",
"tags": "videogame gaming boardgame politics philosophy development programming php",
"last_activity": "2018-45"
"last_activity": "2018-45",
"remote_follow": "https://friendica.mrpetovan.com/remote_follow/hypolite",
"subscribe": null
},
...
]