Skip to content

Nasri Messarra

Associate Professor, Senior Expert in Digital Communication

Menu
  • Home
  • Social Media
  • Office and Web tools
  • Multimedia
  • USJ
  • About Me
Menu

Create a simple Twitter Follow

Posted on May 16, 2013May 6, 2023 by N.A.M.

This is a good method to create a follow button that can be integrated almost anywhere: website, WordPress blog, other blogs or sites.

If you don’t want to read the full article, this is the iframe based code. Just replace “nasrimessarra” with your twitter username:
<iframe allowtransparency=”true” frameborder=”0″ scrolling=”no” src=”//platform.twitter.com/widgets/follow_button.html?screen_name=nasrimessarra”  style=”width:300px; height:20px;”></iframe>

The javascript code is:
<a href=”https://twitter.com/nasrimessarra” data-show-count=”false” data-lang=”en”>Follow @nasrimessarra</a>

    <script>!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>

For the full article, follow this link: https://dev.twitter.com/docs/follow-button

Sample (Javascript):
Follow @nasrimessarra

Leave a Reply Cancel reply

You must be logged in to post a comment.

Nasri Messarra
View this post on Instagram

A post shared by Nasri Messarra | Photography (@nasri.messarra)

© 2023 Nasri Messarra | Powered by Superbs Personal Blog theme