<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ali Murteza Yesil</title>
    <description>The latest articles on DEV Community by Ali Murteza Yesil (@murtezayesil).</description>
    <link>https://dev.to/murtezayesil</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F23766%2Fa3d6bd85-d43d-4aaa-b96f-fdd9e3c958ab.png</url>
      <title>DEV Community: Ali Murteza Yesil</title>
      <link>https://dev.to/murtezayesil</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/murtezayesil"/>
    <language>en</language>
    <item>
      <title>Verifying your Mastodon Account</title>
      <dc:creator>Ali Murteza Yesil</dc:creator>
      <pubDate>Wed, 01 Feb 2023 07:38:00 +0000</pubDate>
      <link>https://dev.to/murtezayesil/verifying-your-mastodon-account-2kdf</link>
      <guid>https://dev.to/murtezayesil/verifying-your-mastodon-account-2kdf</guid>
      <description>&lt;p&gt;Account verification is a very simple process that you can do yourself. Also it is a very important for proving that you own that Mastodon account. It baffles me that even tech literate people don't do it.&lt;/p&gt;

&lt;h2&gt;
  
  
  How verification works?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CyoLFMmN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://murtezayesil.me/resources/mastodon_account_verification-spiderman_meme.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CyoLFMmN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://murtezayesil.me/resources/mastodon_account_verification-spiderman_meme.jpeg" alt='Spiderman pointing at spiderman meme. First spiderman is labelled "your website" and second spiderman is labelled "your mastodon account"' width="499" height="238"&gt;&lt;/a&gt;&lt;br&gt;
If 2 entities are claiming that they own each other and if their claims match, we understand that both of these are owned by the same person.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;: If car with plate number "ABC 123" has a sign reading "I also own a house (10 Downing Street, London)" behind its back windshield and if the house at 10 Downing Street, London has a sign reading "I also own a car (ABC 123)" behind the window next to door, you know that the person who has key for the car and the person who has key for the house is the same person.&lt;/p&gt;

&lt;p&gt;Verification on Mastodon works the same way. Your Mastodon account should claim that you also own a website and your website should claim that you also own a Mastodon account. To make such claims in the internet, we add &lt;code&gt;rel="me"&lt;/code&gt; attribute to an HTML tag with &lt;code&gt;href="URL"&lt;/code&gt; attribute, turning that tag into a claim.&lt;/p&gt;
&lt;h2&gt;
  
  
  2 ways to add claim to your website
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Visible button&lt;/strong&gt;: If you want claim to be a button that leads people to your Mastodon profile, use an "a" anchor inside &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; section&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;rel=&lt;/span&gt;&lt;span class="s"&gt;"me"&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"https://fosstodon.org/@murtezayesil"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Mastodon&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Invisible claim&lt;/strong&gt;: If you want to make the claim but don't want to add a button, you can use link tag inside &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; section&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;link&lt;/span&gt; &lt;span class="na"&gt;rel=&lt;/span&gt;&lt;span class="s"&gt;"me"&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"https://fosstodon.org/@murtezayesil"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you also added your website's URL to your Mastodon account's profile metadata, server will attempt to read your website HTML and check if the claim is true.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9zuZiJRY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://murtezayesil.me/resources/mastodon-profile_metadata.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9zuZiJRY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://murtezayesil.me/resources/mastodon-profile_metadata.png" alt="My Mastodon profile's metadata. Label is Website and Content is https://murtezayesil.me/" width="702" height="285"&gt;&lt;/a&gt; &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xpHYErBk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://murtezayesil.me/resources/mastodon_verified_website.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xpHYErBk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://murtezayesil.me/resources/mastodon_verified_website.png" alt="My Mastodon profile has a green check mark next to my website because claim is verified" width="880" height="208"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: If you are using a CMS such as WordPress or DEV.to, you may need to find a way to insert custom HTML to head or body of your profile page. It may be even impossible depending on your hosting platform. Static Site Generators such as Jekyll, Hugo, Pelican and Publii are easier to work with since they allow adding custom HTML and even altering the theme.&lt;/p&gt;




&lt;p&gt;Originally posted on &lt;a href="https://murtezayesil.me/verifying-your-mastodon-account/"&gt;Murteza Yesil's blog&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>fediverse</category>
      <category>mastodon</category>
      <category>verification</category>
      <category>note</category>
    </item>
  </channel>
</rss>
