Guten Morgen!
I’m working on an API client and faced two issues I would like to share here:
Issue 1
The request
GET https://micro.blog/users/discover/manton
returned a user with an invalid URL.
{
"name": "Larry Mintz",
"url": "http://www.artmajeur.com/azoth; http://presidentoftheearth.org",
"avatar": "https://micro.blog/DrFrankenshroom/avatar.jpg",
"username": "DrFrankenshroom",
"is_following": false,
"is_you": false
}
Issue 2
The request
GET https://micro.blog/posts/discover/music
returned an empty author url:
{
"id": "12040736",
"content_html": "<p>🎶 “Stones In My Passway” - John Mellencamp</p>\n\n<p><a href=\"https://song.link/i/1439948226\">song.link/i/1439948…</a></p>\n\n<p><img src=\"https://micro.blog/photos/1000x/https://SciPhi.micro.blog/uploads/2021/81746554d2.jpg\" width=\"512\" height=\"512\" alt=\"\"></p>\n",
"url": "https://SciPhi.micro.blog/2021/10/11/stones-in-my.html",
"date_published": "2021-10-11T13:22:49+00:00",
"author": {
"name": "Phi.Sanders",
"url": "",
"avatar": "https://www.gravatar.com/avatar/e59f6b41f418b9e6d37aad95db19ea7c?s=96&d=https%3A%2F%2Fmicro.blog%2Fimages%2Fblank_avatar.png",
"_microblog": {
"username": "SciPhi"
}
},
"_microblog": {
"date_relative": "2021-10-11 3:22 pm",
"is_favorite": false,
"is_bookmark": false,
"is_deletable": false,
"is_conversation": false
}
}
Let me know if you need additional information to reproduce these issues.
Cheers,
OC