Integration with Social media made a lot easier these days. It is and was easy before just to add share/like buttons in our website. But being able to even change the UI/Design of the buttons was not that easy then.
After not finding a good workaround people are found to keep the iframe hidden over the “new design” button so that unknowingly the user clicks the button inside the `iframe` thinking that they are clicking the beautifully designed button.
This type of implementation are often called a Hack as they are not officially declared way of doing things however they are eventually discovered by people with hacker mind set.
Simple Social buttons
In case of Twitter
- make sure you pre-pended http:// or https:// before the URL