An iframe to embed facebook, twitter, google plus buttons which can be customised with url parameters.
##EMBEDDING INTO A PAGE
You need to insert the iframe with your HTML page.
<iframe width="450" height="100" src="http://fahimchowdhury.com/services/social/socialplugin.html?url=fahimchowdhury.com" frameborder="0" scrolling="no" allowTransparency="true"></iframe>
##CONFIGURE SOCIAL BUTTONS
To configure the buttons add the following parameters to the source of the iframe, for example:
src="http://fahimchowdhury.com/services/social/socialplugin.html?url=myurl&facebookWidth=200"
Parameter | Description |
url | provide the url to like or tweet |
facebookWidth | set the Facebook button width |
facebookHeight | set the Facebook button height |
twitterHeight | set the Twitter button height |
twitterWidth | set the Twitter button width |
googleSize | set the Google Plus button size (small,medium,standard,tall) |
googleplus | set this to false to not show the google plus button |
##DEMO
example