stuffing twitter into a footer
Posted: Sun Jan 03, 2016 6:36 am
right now I have facebook working more or less the way i want
so now i wanted to bolt on twitter so that a user can tweet a page they are reading
i noticed some documentation on twitters developer but it was not nearly as good as facebook for clarity
this is what I am using for facebook, the rest is in a different file
this is simply left aligned so I was thinking, can I squeeze it in on the left or right side of this easily?
any code sample to cut and paste?
so now i wanted to bolt on twitter so that a user can tweet a page they are reading
i noticed some documentation on twitters developer but it was not nearly as good as facebook for clarity
this is what I am using for facebook, the rest is in a different file
Code: Select all
<div style="position: relative; margin: 5; padding: 0; border: 0px;">
<script type="text/javascript">document.write('<div class="fb-like" data-href="' + self.location.href + '" data-layout="standard" data-action="recommend" data-show-faces="false" data-share="true"></div>')
</script>
</div>
any code sample to cut and paste?