SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Guru
    Join Date
    Nov 2008
    Posts
    619
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    twitter not showing tweets

    hi all

    this was working fine few days back

    Code:
    		<div id="twitter_m">
    		   <div id="twitter_container">
    		       <ul id="twitter_update_list">
    			   <li style="display:none"></li>
    			   </ul>
    		   </div>
    		   <div id="twitter_b"></div>
    		</div>
    Code:
    <script src="http://twitter.com/javascripts/blogger.js" type="text/javascript"></script>
    <script src="http://twitter.com/statuses/user_timeline/username.json?callback=twitterCallback2&amp;count=2" type="text/javascript"></script>
    but now nothing show up. all blank.

    vineet

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,183
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Try this link instead as its the valid way to make a call to the Twitter API.

    Code:
    https://api.twitter.com/1/statuses/user_timeline.json?screen_name=username_here&count=4
    Blog/Portfolio | Evolution Xtreme | DFG Design | DFG Hosting | CSS-Tricks | Stack Overflow | Paul Irish
    Having lame problems with your code? Let us help by using a jsFiddle

  3. #3
    SitePoint Guru
    Join Date
    Nov 2008
    Posts
    619
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by chris.upjohn View Post
    Try this link instead as its the valid way to make a call to the Twitter API.

    Code:
    https://api.twitter.com/1/statuses/user_timeline.json?screen_name=username_here&count=4
    thanks chris

    its working fine now

    vineet

  4. #4
    SitePoint Enthusiast gilmeragency's Avatar
    Join Date
    Oct 2012
    Location
    Palm Springs, CA
    Posts
    34
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    This post caught my eye. Can either of you demonstrate the full version of this code used to display the latest tweet in a div for me? Thanks so much!


Bookmarks

Posting Permissions

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