Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html dir="ltr" lang="en">
- <head>
- <title> Twitter </title>
- <style>
- * { margin: 0; padding: 0; }
- body {
- }
- .tweet {
- position: relative;
- width: 200px;
- height: 200px;
- padding: 25px;
- background: #f1f1f1;
- margin: 25px;
- }
- .tweetTime {
- position: absolute;
- bottom: 0;
- left: 0;
- display: block;
- width: 100%;
- height: 20px;
- background: #ccc;
- }
- </style>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script>
- <script src="jquery.twitter.rt.js"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- GetTwitterFeedIncRT('mytwitterusername', 1, 'tweet-one');
- GetTwitterFeedIncRT('mytwitterusername', 1, 'tweet-two');
- });
- </script>
- </head>
- <body>
- <h1>Twitter Test</h1>
- <div class="tweet" id="tweet-one">
- </div>
- <div class="tweet" id="tweet-two">
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement