Twitter API FEED ajax injected. not working iphone or ipad but on browser


#1

Hello Guys New To the Forum…

developing a portfolio site for my self… ive got the twitter api json link injected to a main index page div. got it working on my macbook. but when i go to view the site on a iphone or ipad it does show the feed… please could any one shed some light on this…

thanks

my js code as follows

$.ajax({
type: “GET”,
url: “https://api.twitter.com/1/statuses/user_timeline/AllyCallow.json?callback=twitterCallback2&count=1”,
dataType: “script”
});


#2

You may be being rate limited in one environment versus the other.

One thing to keep in mind is you’re using a deprecated API that will stop working on May 7, 2013. You’ll want to look into using API v1.1 or Embedded Timelines instead.


#3

thanks for the reply ill look into and post my findings…


#4

Is there any tutorials or anything wanna. just input one tweet on to my website… injecting to a page with ajax… no luck though… any advice

$.ajax({
type: “GET”,
url: “https://api.twitter.com/1.1/statuses/show/210462857140252672.json”,
dataType: “script”
});