TomboFry / microlight

A fully IndieWeb-compatible PHP blogging engine
GNU Affero General Public License v3.0
37 stars 3 forks source link

Posting favourites with Quill doesn’t work #26

Closed TomboFry closed 5 years ago

TomboFry commented 5 years ago

Whether it’s a webmention issue or if it’s simply not parsing the payload provided by Quill, the micropub endpoint fails when posting a favourite using Quill. On mobile, at least, the error message is very vague, so some investigation needs to take place.

For reference, this is the URL I tried to post as a favourite.

It could also be a server issue while attempting to fetch the source contents.

UPDATE: It seemed to like my own post just fine. See this post. (This is all being done on mobile at the moment so all this text is basically a way for me to jot notes down for when I get to actually fixing the issue)

TomboFry commented 5 years ago

Quill does not wrap the like-of value in an array like the spec suggests you should, therefore I have made it optional in this micropub API.

However, it seems with the YouTube URL provided in the issue description, the POST values are always blank? :confused:

Either way, it works using other micropub clients.