Re: [twitter-dev] Entities display_url and expanded_url

2010-09-13 Thread Taylor Singletary
Hi Rich,

You can't be guaranteed to always have a display_url (there will be many
historical tweets without it, or perhaps the service that negotiates
display_urls will be down), so you should code defensively, making use of
them when they are present but choosing an alternate display method when it
is absent.

display_url, as you've noted, is also a misnomer since the string contained
within the field is technically not a URL, but just a string to display
instead of the URL. expanded_url should always be safe to assume as actually
being a URL.

While it should be safe to assume that all t.co links will have an
expanded_url as well as a display_url, I'd still code defensively in the
event that something goes wrong.

Thanks,
Taylor


On Sat, Sep 11, 2010 at 5:28 AM, Rich rhyl...@gmail.com wrote:

 Hi

 I have a question for the API team.  I notice that display_url doesn't
 contain the protocol e.g. http:// or https:// yet expanded_url does.

 Would I be safe to assume that a urlhttp://t.co/xx/url would
 always contain an expanded_url as well as a display_url?

 Richard

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Entities display_url and expanded_url

2010-09-11 Thread Rich
Hi

I have a question for the API team.  I notice that display_url doesn't
contain the protocol e.g. http:// or https:// yet expanded_url does.

Would I be safe to assume that a urlhttp://t.co/xx/url would
always contain an expanded_url as well as a display_url?

Richard

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Entities?

2010-09-10 Thread Andrew W. Donoho
Folks,

Entities are still borked. And have been, by my reckoning, for over 12 
hours now. As my iPad product uses entities and is now crashing in the field, I 
would like Twitter to do one of two things. Obviously, fixing entities is my 
preferred choice. Failing that though, please turn entities off. (c...@tter 
falls back to its own parsing code when entities are not present.  I am sure 
other products do the same. Hence, this stops my apps in the field from 
crashing. (BTW, my alpha builds now catch this error and won't crash in future 
releases.)

I have posted both sample data and notes to both this list and the 
issues tracker. It is issue 1875 and is at URL: 
http://code.google.com/p/twitter-api/issues/detail?id=1875q=label%3APriority-Minorcolspec=ID%20Stars%20Type%20Status%20Priority%20Summary%20Opened%20Modified%20Component

Anon,
Andrew

Andrew W. Donoho
Donoho Design Group, L.L.C.
a...@ddg.com, +1 (512) 750-7596

Knowing is not enough; we must apply. 
Willing is not enough; we must do.
-- Johann Wolfgang von Goethe

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Entities?

2010-09-10 Thread Taylor Singletary
We'll have entities support working better soon, it took time to identify
the cause of sporadic missing entities. As you've noted, it's always a good
idea to code defensively both for fields that may not exist yet, and
especially in the case of something new like entities, for the event that
they'll be missing. As you may have noticed, features of Twitter get turned
off now and then for maintenance, performance reasons, or other issues.

Taylor

On Fri, Sep 10, 2010 at 9:21 AM, Andrew W. Donoho
andrew.don...@gmail.comwrote:

 Folks,

Entities are still borked. And have been, by my reckoning, for over
 12 hours now. As my iPad product uses entities and is now crashing in the
 field, I would like Twitter to do one of two things. Obviously, fixing
 entities is my preferred choice. Failing that though, please turn entities
 off. (c...@tter falls back to its own parsing code when entities are not
 present.  I am sure other products do the same. Hence, this stops my apps in
 the field from crashing. (BTW, my alpha builds now catch this error and
 won't crash in future releases.)

I have posted both sample data and notes to both this list and the
 issues tracker. It is issue 1875 and is at URL: 
 http://code.google.com/p/twitter-api/issues/detail?id=1875q=label%3APriority-Minorcolspec=ID%20Stars%20Type%20Status%20Priority%20Summary%20Opened%20Modified%20Component
 

 Anon,
 Andrew
 
 Andrew W. Donoho
 Donoho Design Group, L.L.C.
 a...@ddg.com, +1 (512) 750-7596

 Knowing is not enough; we must apply.
Willing is not enough; we must do.
-- Johann Wolfgang von Goethe

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Entities support in Streaming API

2010-08-28 Thread M. Edward (Ed) Borasky
Everything looks good here for entities on user streams. Is this now  
live permanently, or will there be another non-entities period I need  
to watch out for?


--
M. Edward (Ed) Borasky
http://borasky-research.net http://twitter.com/znmeb

A mathematician is a device for turning coffee into theorems. - Paul Erdos


Quoting Matt Harris thematthar...@twitter.com:


We've got a few checks left to do before fully enabling this so we are
going to wait until tomorrow. We'll post an update to @twitterapi and
the mailing list with details shortly.

Matt

On Wed, Aug 25, 2010 at 2:12 PM, worksapp v...@worksapp.com wrote:

Is Entities support in Streaming API going live today? If yes, any
specific time for go live that Twitter team would want to share.


Thank you

--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker:   
http://code.google.com/p/twitter-api/issues/list
Change your membership to this group:   
http://groups.google.com/group/twitter-development-talk?hl=en






--


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris

--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group:   
http://groups.google.com/group/twitter-development-talk?hl=en






--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Entities support in Streaming API

2010-08-28 Thread John Kalucki
Our intention is to now leave entities on permanently on the Streaming API.

-John


On Sat, Aug 28, 2010 at 11:53 AM, M. Edward (Ed) Borasky 
zn...@borasky-research.net wrote:

 Everything looks good here for entities on user streams. Is this now live
 permanently, or will there be another non-entities period I need to watch
 out for?

 --
 M. Edward (Ed) Borasky
 http://borasky-research.net http://twitter.com/znmeb

 A mathematician is a device for turning coffee into theorems. - Paul
 Erdos



 Quoting Matt Harris thematthar...@twitter.com:

  We've got a few checks left to do before fully enabling this so we are
 going to wait until tomorrow. We'll post an update to @twitterapi and
 the mailing list with details shortly.

 Matt

 On Wed, Aug 25, 2010 at 2:12 PM, worksapp v...@worksapp.com wrote:

 Is Entities support in Streaming API going live today? If yes, any
 specific time for go live that Twitter team would want to share.


 Thank you

 --
 Twitter developer documentation and resources:
 http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en




 --


 Matt Harris
 Developer Advocate, Twitter
 http://twitter.com/themattharris

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en




 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Entities support in Streaming API

2010-08-28 Thread Vivek Puri
Support for expanded_url seems pretty  limited. Does twitter team plan
to work on that



On Aug 28, 2010, at 2:53 PM, M. Edward (Ed) Borasky
zn...@borasky-research.net wrote:

 Everything looks good here for entities on user streams. Is this now live 
 permanently, or will there be another non-entities period I need to watch out 
 for?

 --
 M. Edward (Ed) Borasky
 http://borasky-research.net http://twitter.com/znmeb

 A mathematician is a device for turning coffee into theorems. - Paul Erdos


 Quoting Matt Harris thematthar...@twitter.com:

 We've got a few checks left to do before fully enabling this so we are
 going to wait until tomorrow. We'll post an update to @twitterapi and
 the mailing list with details shortly.

 Matt

 On Wed, Aug 25, 2010 at 2:12 PM, worksapp v...@worksapp.com wrote:
 Is Entities support in Streaming API going live today? If yes, any
 specific time for go live that Twitter team would want to share.


 Thank you

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:  
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:  
 http://groups.google.com/group/twitter-development-talk?hl=en




 --


 Matt Harris
 Developer Advocate, Twitter
 http://twitter.com/themattharris

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:  
 http://groups.google.com/group/twitter-development-talk?hl=en




 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk?hl=en

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Entities support in Streaming API

2010-08-28 Thread zn...@borasky-research.net
Personally, if all URLs are encoded within Twitter's t.co infrastructure, I'd 
rather have them coded, with an API to decode them and gather analytics. I 
don't want to have the overhead of my own mapper when I only care about a few 
links.


- Reply message -
From: Vivek Puri v...@vivekpuri.com
Date: Sat, Aug 28, 2010 3:14 pm
Subject: [twitter-dev] Entities support in Streaming API
To: twitter-development-talk@googlegroups.com 
twitter-development-talk@googlegroups.com

Support for expanded_url seems pretty  limited. Does twitter team plan
to work on that



On Aug 28, 2010, at 2:53 PM, M. Edward (Ed) Borasky
zn...@borasky-research.net wrote:

 Everything looks good here for entities on user streams. Is this now live 
 permanently, or will there be another non-entities period I need to watch out 
 for?

 --
 M. Edward (Ed) Borasky
 http://borasky-research.net http://twitter.com/znmeb

 A mathematician is a device for turning coffee into theorems. - Paul Erdos


 Quoting Matt Harris thematthar...@twitter.com:

 We've got a few checks left to do before fully enabling this so we are
 going to wait until tomorrow. We'll post an update to @twitterapi and
 the mailing list with details shortly.

 Matt

 On Wed, Aug 25, 2010 at 2:12 PM, worksapp v...@worksapp.com wrote:
 Is Entities support in Streaming API going live today? If yes, any
 specific time for go live that Twitter team would want to share.


 Thank you

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:  
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:  
 http://groups.google.com/group/twitter-development-talk?hl=en




 --


 Matt Harris
 Developer Advocate, Twitter
 http://twitter.com/themattharris

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:  
 http://groups.google.com/group/twitter-development-talk?hl=en




 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk?hl=en

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Entities support in Streaming API

2010-08-25 Thread worksapp
Is Entities support in Streaming API going live today? If yes, any
specific time for go live that Twitter team would want to share.


Thank you

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Entities support in Streaming API

2010-08-25 Thread Matt Harris
We've got a few checks left to do before fully enabling this so we are
going to wait until tomorrow. We'll post an update to @twitterapi and
the mailing list with details shortly.

Matt

On Wed, Aug 25, 2010 at 2:12 PM, worksapp v...@worksapp.com wrote:
 Is Entities support in Streaming API going live today? If yes, any
 specific time for go live that Twitter team would want to share.


 Thank you

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk?hl=en




-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Entities support on the Streaming API

2010-08-23 Thread Matt Harris
Hey Developers,

Many of you have been asking about entities support in the Streaming
API and today i'm pleased tell you that it's happening. At 1pm PDT
(9pm UTC) tomorrow (Tuesday 24th August 2010) we will be enabling
entities through the Streaming API for 10 minutes. This change does
not affect the REST or Search APIs.

We don't expect this to affect any applications but if there are
problems please feedback to us through this mailing list. If
everything goes well we will enable entities again on Wednesday 25th
August 2010 and leave them on.

You can learn more about entities on our developer resources site:
  http://dev.twitter.com/pages/tweet_entities

Best,

Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris


Re: [twitter-dev] Entities support on the Streaming API

2010-08-23 Thread M. Edward (Ed) Borasky

Does that include user streams (I hope I hope I hope)??

--
M. Edward (Ed) Borasky
http://borasky-research.net http://twitter.com/znmeb

A mathematician is a device for turning coffee into theorems. - Paul Erdos


Quoting Matt Harris thematthar...@twitter.com:


Hey Developers,

Many of you have been asking about entities support in the Streaming
API and today i'm pleased tell you that it's happening. At 1pm PDT
(9pm UTC) tomorrow (Tuesday 24th August 2010) we will be enabling
entities through the Streaming API for 10 minutes. This change does
not affect the REST or Search APIs.

We don't expect this to affect any applications but if there are
problems please feedback to us through this mailing list. If
everything goes well we will enable entities again on Wednesday 25th
August 2010 and leave them on.

You can learn more about entities on our developer resources site:
  http://dev.twitter.com/pages/tweet_entities

Best,

Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris







Re: [twitter-dev] Entities support on the Streaming API

2010-08-23 Thread John Kalucki
User Streams is an endpoint on the Streaming API, so, yes, it gets the same
data.

-John Kalucki
http://twitter.com/jkalucki
Twitter, Inc.


On Mon, Aug 23, 2010 at 5:48 PM, M. Edward (Ed) Borasky 
zn...@borasky-research.net wrote:

 Does that include user streams (I hope I hope I hope)??

 --
 M. Edward (Ed) Borasky
 http://borasky-research.net http://twitter.com/znmeb

 A mathematician is a device for turning coffee into theorems. - Paul
 Erdos



 Quoting Matt Harris thematthar...@twitter.com:

  Hey Developers,

 Many of you have been asking about entities support in the Streaming
 API and today i'm pleased tell you that it's happening. At 1pm PDT
 (9pm UTC) tomorrow (Tuesday 24th August 2010) we will be enabling
 entities through the Streaming API for 10 minutes. This change does
 not affect the REST or Search APIs.

 We don't expect this to affect any applications but if there are
 problems please feedback to us through this mailing list. If
 everything goes well we will enable entities again on Wednesday 25th
 August 2010 and leave them on.

 You can learn more about entities on our developer resources site:
  http://dev.twitter.com/pages/tweet_entities

 Best,

 Matt Harris
 Developer Advocate, Twitter
 http://twitter.com/themattharris







[twitter-dev] Entities not working?

2010-05-27 Thread Ellsass
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));