---
title: "Implement twitter follow plugin in your website"  
description: "In this article I am trying to use twitter follow plugin in a HTML page."  
author: "Vijay Shukla"  
published: 2013-05-18  
updated: 2019-09-07  
canonical: https://www.mindstick.com/articles/1305/implement-twitter-follow-plugin-in-your-website  
category: "api(s)"  
tags: ["api(s)"]  
reading_time: 2 minutes  

---

# Implement twitter follow plugin in your website

In this [article](https://yourviews.mindstick.com/view/81489/kashmir-now-after-an-year-of-abrogation-of-article-370) I [am trying](https://answers.mindstick.com/qa/36834/which-two-programming-languages-should-i-master-in-if-i-am-trying-to-get-into-google-or-facebook) to use twitter follow plugin in a HTML page.\

The Follow [Button](https://www.mindstick.com/articles/63/how-to-add-button-in-datagridview-in-csharp-dot-net) is allows users to easily follow a [Twitter account](https://www.mindstick.com/news/1174/us-law-maker-marjorie-taylor-greenes-s-twitter-account-blocked-for-covid-misinformation) from any webpage. The Follow Button uses the same [implementation](https://answers.mindstick.com/qa/44913/who-is-the-minister-of-statistics-and-programme-implementation) model as the Tweet Button, and its [integration](https://yourviews.mindstick.com/view/88515/common-mistakes-in-computer-integration-to-avoid) is just as simple.

##### Code: -

```
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Twitter Follow Button</title>
    <script type="text/javascript">
        !function (d, s, id) {
            var js, fjs = d.getElementsByTagName(s)[0];
            if (!d.getElementById(id)) {
                js = d.createElement(s);
                js.id = id; js.src = "//platform.twitter.com/widgets.js";
                fjs.parentNode.insertBefore(js, fjs);
            }
        }
    (document, "script", "twitter-wjs");
    </script>
</head>
<body>
    <a href="https://twitter.com/_mindstick_" class="twitter-follow-button" data-show-count="true" data-lang="en">Follow @mindstick</a>
</body>
</html>
```

##### data-show-count: -

When it value is false then User's followers count is not displayed with the Follow Button, and if you can enable the display of this number using the data-show-count [attribute](https://www.mindstick.com/blog/61/ado-dot-net-object-model-and-attributes)

##### data-lang: -

Here we give the [language](https://yourviews.mindstick.com/view/81607/hindi-language-in-pakistan-is-getting-killed) of follow button; we use 'en' for English and if you want to use another language then follow below link.

· [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)

##### Output: -

![Implement twitter follow plugin in your website](https://www.mindstick.com/mindstickarticle/298924ca-2287-4b42-adc2-e9ca9400b120/images/09db957a-3d90-4a67-943b-685c9f0cc5f6.png)

---

Original Source: https://www.mindstick.com/articles/1305/implement-twitter-follow-plugin-in-your-website

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
