aaronpk / webmention.io

Easily enable webmentions on any web site
https://webmention.io/
Other
774 stars 38 forks source link

Webmention API not fetching any data #179

Closed logicman closed 2 years ago

logicman commented 2 years ago

Hello, I just setup webmentions and signed up for Bridgy as well. I can see my tweet likes on the Webmention dashboard. That means its working.

However, when I run this API, it gives me empty children.

https://webmention.io/api/mentions.jf2?domain=sahilparikh.com&token=XXX

{
  "type": "feed",
  "name": "Webmentions",
  "children": []
}

Any idea what I am doing wrong? Thanks.

logicman commented 2 years ago

This works if I remove the domain param in the GET call...

https://webmention.io/api/mentions.jf2?token=XXX

Is that ok?

aaronpk commented 2 years ago

Do the webmentions returned match the domain you are expecting?

Probably the most common reason for this is you end up logged in as a different domain, such as with a www prefix, which is seen as a totally different user.

logicman commented 2 years ago

Ah yes. That was it! I had messed up the redirects! Fixed now and works! Thanks for the speedy response.

So, all the WM that I had for *.dev domain is lost since .com is the primary domain as of today?