Skip to content
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

some Follow buttons do not work #197

Open
CaptSolo opened this issue Dec 20, 2022 · 3 comments
Open

some Follow buttons do not work #197

CaptSolo opened this issue Dec 20, 2022 · 3 comments

Comments

@CaptSolo
Copy link

Follow buttons for some of Mastodon servers (e.g. https://mastodon.ie or https://toot.lv) do not work.

These follow button links contain text "[object Object]" instead of the actual Mastodon URI to follow – like in this URL:
https://toot.lv/authorize_interaction?uri=https://[object%20Object]/@donncha

Screenshot:
image

@CaptSolo
Copy link
Author

Update:

It seems that the appearance of the domain name [object%20Object] in Follow buttons is not entirely based on the name of the Mastodon server - some users from a server may have a correct URL while other users from the same server have broken URLs.

@sur5r
Copy link

sur5r commented Jan 22, 2023

To me, it looks like this only happens if the account to be followed is on the same instance as the one to be followed from (one self).

@CaptSolo
Copy link
Author

To me, it looks like this only happens if the account to be followed is on the same instance as the one to be followed from (one self).

For me the problem appears for accounts from at least 7 different instances.

Also, quite often only a part of accounts from any given server will have this issue (e.g. the start of the account list is fine but the rest have broken links).

P.S. Here is an experimental workaround I wrote that processes a saved Fedifinder HTML file and fixes these issues: https://gist.github.com/CaptSolo/54bea0df4599882b40814e2635c931e3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants