-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bridgy Fed webmentions not working #8
Comments
Hi, this extra round is an attempt to get the author url not the source url of the mastodon post. Adding the Please do the following:
it should look something like this:
It seems like you don't get such a result. |
The URL I got was https://ap.brid.gy/convert/web/https:/mas.to/users/srijan/statuses/111300574765321090/activity , and even with ?format=json, it returns html, not json.
The links in the docs here: https://brid.gy/about#source-urls are of the format: But the link I got from webmention.io was of the form https://ap.brid.gy/convert/web/ORIGINAL_URL. So maybe that's the gap. Also pinging @snarfed for any pointers. |
Hi all! It looks like the main point of confusion here is that @mauricerenck is talking about Bridgy classic (https://brid.gy/), while @srijan is trying to debug a webmention from Bridgy Fed (https://fed.brid.gy/). Different services. Sorry for the similar naming! |
(@srijan, you were looking at Bridgy classic docs. Bridgy Fed docs are https://fed.brid.gy/docs . It doesn't support |
@snarfed - yeah, that's what I guessed. @mauricerenck - Moreover, it looks like for Bridgy Fed, at least, we don't need the extra round for the author URL because the author URL coming in the webmention is correct (at least it was for me). I think the workaround was added at a point when webmention.io was not parsing the author URL correctly from bridgy, but now it seems to be correct. |
Also, Bridgy fed webmentions were affected because the additional check uses this condition:
which matches the Bridgy fed URLs as well. |
Thank you both for clarification, I only realized the difference when you posted the response. I guess the best thing for now is to remove that part so it works for everyone and maybe add a better solution if this might still be needed for bridgy classic. |
the bridgy json request does not work with bridgy fed see issue #8
## [1.8.2](v1.8.1...v1.8.2) (2023-10-29) ### Bug Fixes * remove bridgy json request ([dbc7a5a](dbc7a5a)), closes [#8](#8)
It works now. Thanks :) |
Hi. I set this up, and looks like webmentions from mastodon via fed.brid.gy are not working.
I got this error:
Looking into
receiver.php
'sgetTransformedSourceUrl
function, the custom handling for bridgy might not be required.If I remove the if block
if (strpos($url, 'brid.gy') !== false)
, then it works fine.Do you remember the original reason for this if condition? Should I raise a PR to remove it?
The text was updated successfully, but these errors were encountered: