Re: [twitter-dev] Re: Entities not working?
Hi James, We haven't pulled the feature but I did notice the URL you've given is using the wrong domain. For API requests to Twitter you want to be using the http://api.twitter.com domain, which would make your request: http://api.twitter.com/1/statuses/friends_timeline.xml?include_entities=true Give that a go and let us know how it goes. Out of curiosity are you using basic or OAuth? Matt On Thu, Jun 10, 2010 at 5:34 AM, James wrote: > I can't get entities to show up at all simply browsing to > > http://twitter.com/statuses/friends_timeline.xml?include_entities=true > > Has this feature been pulled or am I doing something wrong? > > J > > > On May 29, 1:02 am, Ellsass wrote: > > I've retooled my app a bit to avoid using "count=X" in my REST > > requests, and I've been getting theentitiesvery consistently. > > > > Is no one else having issues using 'count' along with > > 'include_entities'? > > > > On May 28, 12:23 pm, Ellsass wrote: > > > > > > > > > Strangely, it's working along with the parameter since_id under some > > > conditions. > > > > > My web app initially loads home_timeline?count=100 (the app is in its > > > infancy and only I use it, otherwise I'd be using since_id and a > > > cache). Every three minutes thereafter, an ajax call gets new tweets > > > using home_timeline?since_id=[id]&include_entities=true. That works -- > > > it retrieves theentities. > > > > > However, if I manually refresh (i.e., call the exact same ajax > > > function explicitly rather than wait for the setTimeout to do it), I > > > get the error 500 page as the response, as described below. > > > > > On May 27, 9:40 pm, Ellsass wrote: > > > > > > For most of the day I was getting the newentitiesjust fine, but for > > > > the last hour or two my home_timeline XML request is met with the > > > > "Something is technically wrong." page as the response. > > > > > > I am using PHP & EpiTwitter. This works fine: > > > > $twitterInfo = $twitterObj->get_statusesHome_timeline(array("count" > => > > > > "$numTweets")); > > > > This was working for most of the day, but not recently: > > > > $twitterInfo = $twitterObj->get_statusesHome_timeline(array("count" > => > > > > "$numTweets" , "include_entities" => "true")); > -- Matt Harris Developer Advocate, Twitter http://twitter.com/themattharris
[twitter-dev] Re: Entities not working?
I can't get entities to show up at all simply browsing to http://twitter.com/statuses/friends_timeline.xml?include_entities=true Has this feature been pulled or am I doing something wrong? J On May 29, 1:02 am, Ellsass wrote: > I've retooled my app a bit to avoid using "count=X" in my REST > requests, and I've been getting theentitiesvery consistently. > > Is no one else having issues using 'count' along with > 'include_entities'? > > On May 28, 12:23 pm, Ellsass wrote: > > > > > Strangely, it's working along with the parameter since_id under some > > conditions. > > > My web app initially loads home_timeline?count=100 (the app is in its > > infancy and only I use it, otherwise I'd be using since_id and a > > cache). Every three minutes thereafter, an ajax call gets new tweets > > using home_timeline?since_id=[id]&include_entities=true. That works -- > > it retrieves theentities. > > > However, if I manually refresh (i.e., call the exact same ajax > > function explicitly rather than wait for the setTimeout to do it), I > > get the error 500 page as the response, as described below. > > > On May 27, 9:40 pm, Ellsass wrote: > > > > For most of the day I was getting the newentitiesjust fine, but for > > > the last hour or two my home_timeline XML request is met with the > > > "Something is technically wrong." page as the response. > > > > I am using PHP & EpiTwitter. This works fine: > > > $twitterInfo = $twitterObj->get_statusesHome_timeline(array("count" => > > > "$numTweets")); > > > This was working for most of the day, but not recently: > > > $twitterInfo = $twitterObj->get_statusesHome_timeline(array("count" => > > > "$numTweets" , "include_entities" => "true"));
[twitter-dev] Re: Entities not working?
I've retooled my app a bit to avoid using "count=X" in my REST requests, and I've been getting the entities very consistently. Is no one else having issues using 'count' along with 'include_entities'? On May 28, 12:23 pm, Ellsass wrote: > Strangely, it's working along with the parameter since_id under some > conditions. > > My web app initially loads home_timeline?count=100 (the app is in its > infancy and only I use it, otherwise I'd be using since_id and a > cache). Every three minutes thereafter, an ajax call gets new tweets > using home_timeline?since_id=[id]&include_entities=true. That works -- > it retrieves the entities. > > However, if I manually refresh (i.e., call the exact same ajax > function explicitly rather than wait for the setTimeout to do it), I > get the error 500 page as the response, as described below. > > On May 27, 9:40 pm, Ellsass wrote: > > > For most of the day I was getting the new entities just fine, but for > > the last hour or two my home_timeline XML request is met with the > > "Something is technically wrong." page as the response. > > > I am using PHP & EpiTwitter. This works fine: > > $twitterInfo = $twitterObj->get_statusesHome_timeline(array("count" => > > "$numTweets")); > > This was working for most of the day, but not recently: > > $twitterInfo = $twitterObj->get_statusesHome_timeline(array("count" => > > "$numTweets" , "include_entities" => "true"));
[twitter-dev] Re: Entities not working?
Strangely, it's working along with the parameter since_id under some conditions. My web app initially loads home_timeline?count=100 (the app is in its infancy and only I use it, otherwise I'd be using since_id and a cache). Every three minutes thereafter, an ajax call gets new tweets using home_timeline?since_id=[id]&include_entities=true. That works -- it retrieves the entities. However, if I manually refresh (i.e., call the exact same ajax function explicitly rather than wait for the setTimeout to do it), I get the error 500 page as the response, as described below. On May 27, 9:40 pm, Ellsass wrote: > For most of the day I was getting the new entities just fine, but for > the last hour or two my home_timeline XML request is met with the > "Something is technically wrong." page as the response. > > I am using PHP & EpiTwitter. This works fine: > $twitterInfo = $twitterObj->get_statusesHome_timeline(array("count" => > "$numTweets")); > This was working for most of the day, but not recently: > $twitterInfo = $twitterObj->get_statusesHome_timeline(array("count" => > "$numTweets" , "include_entities" => "true"));