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

adding Mastodon social media account #456

Merged
merged 1 commit into from
Feb 20, 2023
Merged

Conversation

dimpase
Copy link
Member

@dimpase dimpase commented Feb 19, 2023

I haven't implemented "like" for it - not tried.

I haven't implemented  "like" for it - not tried.
@dimpase
Copy link
Member Author

dimpase commented Feb 19, 2023

PS. I'm setting up this account - ping me if you want access to it...

@dimpase
Copy link
Member Author

dimpase commented Feb 19, 2023

AFAIK, Mastodon does not do the silly "like" account things - a meaningful action w.r.t. to an account is to subscribe.

@haraldschilly haraldschilly merged commit 5cc391a into sagemath:master Feb 20, 2023
@haraldschilly
Copy link
Member

Ok, let's see where this goes. I'm not planning to be active, but I registered and my application is under review.

@dimpase
Copy link
Member Author

dimpase commented Feb 20, 2023

that's not deployed, right? I'd like to see if <a rel="me" href="https://mathstodon.xyz/@sagemath">{{ sage }} Mastodon page</a> gets the "green tick" of verified account.

@haraldschilly
Copy link
Member

@dimpase no, not yet, I can ping you here if it is live

@haraldschilly
Copy link
Member

@dimpase ok, deployed now. I don't know what you mean by such a "green tick", but the link is now here: https://www.sagemath.org/library-press.html

@dimpase
Copy link
Member Author

dimpase commented Feb 20, 2023

by a green tick, I mean how URLs look on e.g. https://mathstodon.xyz/@dimpase

@dimpase
Copy link
Member Author

dimpase commented Feb 20, 2023

I have working <a rel="me" href="[https://mathstodon.xyz/@dimpase](view-source:https://mathstodon.xyz/@dimpase)">Mastodon</a></li> on https://users.ox.ac.uk/~coml0531/

Mastodon says:

You can verify yourself as the owner of the links in your profile metadata. For that, the linked website must contain a link back to your Mastodon profile. The link back must have a rel="me" attribute. The text content of the link does not matter. 

so something seems to be blocking this authentication

@haraldschilly
Copy link
Member

@dimpase I'm not familiar with any of that, but this page says the profile has to link to a page, which in turn links back. I don't see a link to the sagemath website.

Also, I can add a "<link ... >" attribute to the header, then it doesn't matter to which page the profile links to.

@haraldschilly
Copy link
Member

ok, this change e6a4f47 is deployed. And besides that link on the profile, maybe it takes a while to scan these pages and update the database? I wouldn't be surprised if this verification does not happen in an instant.

@dimpase
Copy link
Member Author

dimpase commented Feb 20, 2023

I don't see a link to the sagemath website.

On view-source:https://mathstodon.xyz/@sagemath there is
<link href='https://www.sagemath.org' rel='me' type='text/html'>
(it's a part of "Profile Metadata")

@haraldschilly
Copy link
Member

OK, got it. Well, earlier that rel="me" link was only on the library-press page, but now it is also in the header and on each page. In particular: view-source:https://www.sagemath.org/ <link href="https://mathstodon.xyz/@sagemath" rel="me" />

So, with that, I think we can close this ticket and blame that server to either have a bug or it takes some time to recognize this. 🤷‍♂️

@dimpase
Copy link
Member Author

dimpase commented Feb 20, 2023 via email

@dimpase
Copy link
Member Author

dimpase commented Feb 21, 2023

OK, I fixed this by changing the rel URL on Mastodon side to https://www.sagemath.org/index.html.
All good now.

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

Successfully merging this pull request may close these issues.

2 participants