Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2008
    Location
    New York
    Posts
    308
    Tokens
    0

    Default Twitter status on your site.

    I've been looking around the twitter API and examples and I cant seem to find one that shows your most recent update on your site via javascript/ajax. I want to display something like:

    "Hey heres a twitter update. ~ 3 minutes ago."
    ~ PixelPoco.com Co-Founder
    ~ Freelance Web developer.
    ~ Currently: Unavailable for work.



    Quote Originally Posted by Favourtism View Post
    i facebooked ur mum
    Lulz

  2. #2
    Join Date
    Feb 2006
    Location
    Scotland
    Posts
    2,087
    Tokens
    138

    Latest Awards:

    Default

    Easiest way to do it would be to use a widget from Twitter (www.twitter.com/badges)

    I believe this code here should do what you want (Just edit out where it says TWITTER USERNAME to your twitter username)

    HTML Code:
    <div id="twitter_div">
    <h2 style="display: none;" >Twitter Updates</h2>
    <ul id="twitter_update_list"></ul>
    <a href="http://twitter.com/TWITTER USERNAME" id="twitter-link" style="display:block;text-align:right;">follow me on Twitter</a>
    </div>
    <script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
    <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/TWITTER USERNAME.json?callback=twitterCallback2&amp;count=1"></script>

  3. #3
    Join Date
    Oct 2008
    Location
    New York
    Posts
    308
    Tokens
    0

    Default

    Thank you! I forgot about that. +rep =)
    ~ PixelPoco.com Co-Founder
    ~ Freelance Web developer.
    ~ Currently: Unavailable for work.



    Quote Originally Posted by Favourtism View Post
    i facebooked ur mum
    Lulz

  4. #4
    Join Date
    Jan 2009
    Location
    LDN & The South
    Posts
    147
    Tokens
    0

    Default

    the badges are ugly. if you go to the badge page on twitter.com then you can get text only ones, but I found it very difficult to utilize into my website as i wanted it in a marquee in a speach bubble, but i have no knowledge of php so I could not tweak it a whole lot

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •