[twitter-dev] PostDating of twitter messages

2010-04-07 Thread eckley
Hey guys,

I'm working on a project at the moment that will involve a group of 8
people traveling across america. They want to use twitter to post
updates throughout the journey, however they are going to be a away
from internet access for some time. I was thinking we could have a
computer go with them that would recorded their tweets and them upload
them when they got back into internet range. However i can't find
anyway of postdating the tweets. Does anyone know if this is possible?

Cheers guys
Alex.


-- 
To unsubscribe, reply using remove me as the subject.


Re: [twitter-dev] Re: Profile avatars with AWS S3 versioning

2010-04-07 Thread Raffi Krikorian
actually, we do mind.  We've been working behind the scenes to upgrade  
our infrastructure - we want to allow rapid changing data to be  
present (and accurate) in our user representations. When that update  
is put in place, attempting to correct profile images is on our list.




On Apr 6, 2010, at 10:23 PM, Eric Woodward e...@nambu.com wrote:



Browsers are not the only thing to consider. If a standard URL is used
that never changes a desktop or mobile client will not know it has
changed. I will have to redownload it now and again to be sure, or
manually track and check these cache headers myself, which is
annoying.

Adding payload to the user object in the API response with the last
timestamp the avatar was changed would make it dead simple to know if
you have the latest one (already downloaded) or not. In my mind, this
is the proper solution that should have been implemented years ago.
These avatar issues have been an issue since day one, and no one at
Twitter has ever seemed to mind much (or it would have been fixed long
ago). They do have bigger ongoing problems, I will grant.

--ejw

Eric Woodward
e...@nambu.com


On Apr 5, 9:19 am, Abraham Williams 4bra...@gmail.com wrote:
There is now a petition going to get screen_name based  
profile_image_urls:http://act.ly/1vk


Abraham





On Fri, Feb 12, 2010 at 19:03, Andrew Badera and...@badera.us  
wrote:
On Fri, Feb 12, 2010 at 10:02 PM, Abraham Williams  
4bra...@gmail.com

wrote:

Now that Amazon S3 supports versioning couldn't profile avatars use

static

URLs and let browsers handle the caching with ETags?
More info on S3 Versioning:http://goo.gl/CMch
Abraham



--
Abraham Williams | Community Advocate |http://abrah.am
Project | Out Loud |http://outloud.labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.
Sent from Seattle, WA, United States



+1



--ab


--
Abraham Williams | Community Advocate |http://abrah.am
PoseurTech Labs | Projects |http://labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.



--
To unsubscribe, reply using remove me as the subject.


Re: [twitter-dev] PostDating of twitter messages

2010-04-07 Thread Thomas Woolway
Hi Alex,

You're not going to be able to do that through the API (or anyone else)-
it's a nice usecase, but allowing people to add tweets from 'back in time'
would get very confusing, very quickly.

Why not add a timestamp to the tweet body, to let people following know when
it was written?

Tom

On Wed, Apr 7, 2010 at 12:31 PM, eckley eck...@gmail.com wrote:

 Hey guys,

 I'm working on a project at the moment that will involve a group of 8
 people traveling across america. They want to use twitter to post
 updates throughout the journey, however they are going to be a away
 from internet access for some time. I was thinking we could have a
 computer go with them that would recorded their tweets and them upload
 them when they got back into internet range. However i can't find
 anyway of postdating the tweets. Does anyone know if this is possible?

 Cheers guys
 Alex.


 --
 To unsubscribe, reply using remove me as the subject.



[twitter-dev] Re: Low latency streaming filter updates

2010-04-07 Thread Toby Phipps
John,

Thanks for a quick and on the mark response. Your 10 minute window
suggestion makes a lot of sense, and a maximum of 20 reconnects within
that time should give us what we need for now. This approach does seem
a little outside the 2 minute minimum reconnect period rule as in
the API guide, but if it will not get us banned or frowned upon too
much then I have no issues.

Once we start making a little more noise and closer to launch, we'll
consider requesting firehose access, or even better, hope that
predicate changes without reconnect are ready by then! While I'm on
the topic of new features, let me put my hand up for logical AND
predicate support also!

Regards,
Toby.

On Apr 7, 5:17 am, John Kalucki j...@twitter.com wrote:
 Toby,

 This is indeed a problem. The ultimate solution, irrespective of
 practicality, is to arrange to take the entire firehose.

 Your connections are indeed limited by IP address -- additional accounts,
 past two, will not help much in this use case.

 You can, if so motivated, average your new connections over a larger period,
 allowing lower typical latency. Currently a 10 minute window is configured
 for IP limiting, but we may change that period without notice. You can
 connect quite a few times in a 10 minute window before getting limited by IP
 -- again, subject to change. If you allow, say, 20 connections in 10
 minutes, at any velocity, you should stop accepting new predicates, or only
 update once every 30 seconds until the 10 minute window rolls over. This
 should allow good liveness for many modest arrival rates and temporal
 arrival probability distributions.

 We really need to support updating predicates on live streams to make this
 use case generally practical, short of taking the firehose.

 -John Kaluckihttp://twitter.com/jkalucki
 Infrastructure, Twitter Inc.



 On Tue, Apr 6, 2010 at 11:21 AM, Toby Phipps tphi...@gmail.com wrote:
  Hi,

  I've been reading a lot in the Twitter Streaming API doc and in this
  group about techniques to handle filter updates. I've got a good
  picture of the best practices, but having a hard time applying them to
  my particular situation.

  In my case, I've got a filtered stream where the filters will be
  updated based on the current user activities on my site. The filter
  updates won't happen that frequently, but when they do, they have to
  happen with as little latency as possible. This isn't a big problem in
  probably 80% of the cases where the last filter update happened more
  than 2 minutes ago, as I can happily disconnect and reconnect
  immediately and stay within the rules.

  However when multiple filter updates happen to arrive within the 2
  minutes, that's where I have an issue. The unlucky user whose request
  came in just after a previous update happened gets stuck waiting the
  full 2 minutes before anything happens for them. They'll get bored,
  and walk away!

  The approaches to filter updates in the doc and in this group mainly
  talk about two concurrent streams - one primary stream with an
  elevated role and a second interim stream with default elevation.
  However, this approach works well in allowing filter changes with
  minimal interruption to the high-volume stream, but it does little or
  nothing to reduce the update latency. The worst case update latency is
  still 2 minutes for the poor sucker who came in just after a reconnect
  on the second (default elevation) stream.

  Some of the ideas I'm considering are:

  1. Running four concurrent streams under four different Twitter
  accounts and spreading the overall filter criteria between them all
  (without predicate overlap to prevent wastage). I round-robin any
  filter changes across the streams, so I should be able to average 4x
  less latency. This seems within the rules since I'm using four
  different accounts, but I'm concerned that unless I originate from
  four different IPs that it'll be seen as a grey area and I risk being
  banned.

  2. Bending the rules a little and bringing my minimum time before
  reconnect down to 30 seconds, hoping that if 80% or more of the time I
  respect the 2 minute minimum reconnect interval (and actually stay
  connected a LOT longer in most cases), I can get away with
  reconnecting a little more often during edge cases.

  3. Running a single stream, and when filter changes are needed and I'm
  still within the 2 minute reconnect window, faking a stream with
  multiple queries until the reconnect is allowable at which time I
  transition to the reconnected stream. While this might be strictly
  within the rules, I'm convinced that the multiple query hits while
  waiting for the reconnect window to open would have a higher impact on
  Twitter than an extra reconnect within the 2 minute window every now
  and then.

  Can anyone shed some light on which of these approaches is preferable,
  or propose a different/better one? The goal for me is being able to
  adapt the stream criteria to my 

Re: [twitter-dev] Re: Chirp is coming to San Francisco April 14 and 15

2010-04-07 Thread Abraham Williams
On Tue, Apr 6, 2010 at 22:39, M. Edward (Ed) Borasky zn...@comcast.netwrote:

 On 04/06/2010 05:21 PM, Jonathan Strauss wrote:
  Ok, I just threw this together super quickly:
 http://chirphackday.pbworks.com/
 
  Preliminary sections:
  * List of participants + areas of interests
  * Ideas + interested developers
  * Non-Twitter APIs that might be useful /shameless plug
 
  It's currently open to anyone to edit. Hopefully folks will find it
  useful and/or improve on it.
 
  @Doug: It would be great to have any more details about the Hack Day
  process (i.e. rules, etc) that are currently available added in the
  general info section at the top.

 I thought we were using Plancast for that. I don't have a problem with
 your site, but if we're using yours instead of Plancast, I'll delete my
 Plancast account - I've got way too many social media gizmo logins as
 it is. ;-)


Plancast is good for finding events and RSVPing but not for organizing
information about the events.

Abraham

-- 
Abraham Williams | Community Advocate | http://abrah.am
PoseurTech Labs | Projects | http://labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.


Re: [twitter-dev] Mobile view of twitter.com doesn't show This person has protected their tweets message

2010-04-07 Thread Josh Bleecher Snyder
 Have a look at the new http://mobile.twitter.com. It looks awesome and
 displays if profiles are protected.

It does look awesome!

The grammar freak in me feels compelled to point out that Whats being
said about... should be What's being said about...; that is, it's
missing the apostrophe in the contraction. Anyone at Twitter want to
make a 1 (or 5) character fix? :)

-josh


-- 
To unsubscribe, reply using remove me as the subject.


[twitter-dev] Streaming API with Chinese/Japanese language track predicates

2010-04-07 Thread Toby Phipps
Hi,

Has anyone managed to get Japanese or Chinese language track
predicates working with the Streaming API? No matter what I try, I
fail to get any matches using track and any Japanese character, or
word.

I note from the doc that Some UTF-8 keywords will not match
correctly- this is a known temporary defect, however this sounds more
like an edge case, maybe with with certain denormalized Unicode forms.
Does this really extend to pretty much any searching in Chinese/
Japanese?

Some of the predicates I've tried, all which result in no statuses
arriving:

日本 (Japan - shows up as being very frequent via the search API)
よ (A Japanese form of exclamation - again very popular in tweets)
ツイッター (Japanese for Twitter - literally tsu-i-tta)

Given the talk about a hash map being used for status matching, I'm
thinking that this could be because no wordbreaking (n-gram/
morphology) is performed against Chinese/Japanese tweets before they
get added to the hash map, and since most words aren't space-delimited
in these languages, if I don't manage to match an entire sentence, I
won't get a hit. However, all these searches work just fine via the
search API (which I understand is still on a different platform).

Any ideas?

Thanks,
Toby.


[twitter-dev] Fred Wilson article on Twitter API

2010-04-07 Thread Chad Etzel

As dougw pointed out, a timely article:

http://www.avc.com/a_vc/2010/04/the-twitter-platform.html

Chad



--
To unsubscribe, reply using remove me as the subject.


Re: [twitter-dev] Streaming API with Chinese/Japanese language track predicates

2010-04-07 Thread John Kalucki
We break the status text into tokens by whitespace and punctuation, then
apply the tokens to a hashmap of tracked terms. If the language doesn't have
whitespace, the only thing that will match is the entire Tweet.

I know that Search has struggled with this as well. I take it that the
solutions aren't easy. At some point we'll have to figure something similar
out for Streaming. I've filed a story to add support for these languages in
Track.

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


2010/4/7 Toby Phipps tphi...@gmail.com

 Hi,

 Has anyone managed to get Japanese or Chinese language track
 predicates working with the Streaming API? No matter what I try, I
 fail to get any matches using track and any Japanese character, or
 word.

 I note from the doc that Some UTF-8 keywords will not match
 correctly- this is a known temporary defect, however this sounds more
 like an edge case, maybe with with certain denormalized Unicode forms.
 Does this really extend to pretty much any searching in Chinese/
 Japanese?

 Some of the predicates I've tried, all which result in no statuses
 arriving:

 日本 (Japan - shows up as being very frequent via the search API)
 よ (A Japanese form of exclamation - again very popular in tweets)
 ツイッター (Japanese for Twitter - literally tsu-i-tta)

 Given the talk about a hash map being used for status matching, I'm
 thinking that this could be because no wordbreaking (n-gram/
 morphology) is performed against Chinese/Japanese tweets before they
 get added to the hash map, and since most words aren't space-delimited
 in these languages, if I don't manage to match an entire sentence, I
 won't get a hit. However, all these searches work just fine via the
 search API (which I understand is still on a different platform).

 Any ideas?

 Thanks,
 Toby.



[twitter-dev] ORA-29268: HTTP client error 400 - Bad Request

2010-04-07 Thread Nitin
Hi All-

I've been trying to get read the friends timeline using Oracle PL/
SQL's UTL_HTTP method but for some reason it throws a HTTP client 400
- Bad Request message at line #19 - line with the get_response()
function. This piece of code works perfectly well for others. I'm
using Oracle XE. Could you please help?

DECLARE
http_req utl_http.req;
http_resp utl_http.resp;
t_update_send VARCHAR2(200);
res_value VARCHAR2(4000);
XML_RETURN CLOB;
BEGIN
t_update_send := '--head';
http_req := utl_http.begin_request('http://twitter.com/statuses/
friends_timeline.xml',   'POST',   utl_http.http_version_1_1);
utl_http.set_response_error_check(TRUE);
utl_http.set_detailed_excp_support(TRUE);
utl_http.set_body_charset(http_req,   'UTF-8');
utl_http.set_header(http_req,   'User-Agent',   'Mozilla/4.0');
utl_http.set_header(http_req,   'Content-Type',   'application/x-www-
form-urlencoded');
utl_http.set_header(http_req,   'Content-Length',
to_char(LENGTH(t_update_send)));
utl_http.set_transfer_timeout(to_char('60'));
utl_http.set_authentication(http_req,   'nitin_pai',   'qwerty77',
'Basic');
utl_http.write_text(http_req, t_update_send);
http_resp := utl_http.get_response(http_req);

BEGIN
WHILE 1 = 1
LOOP
 utl_http.read_line(http_resp,   res_value,   TRUE);
 dbms_output.put_line(res_value);
 XML_RETURN := XML_RETURN || res_value;
END LOOP;
EXCEPTION
WHEN utl_http.end_of_body THEN
NULL;
END;

utl_http.end_response(http_resp);
END;


Thanks for your help!

-Nitin

PS: This code is sourced from http://apextoday.blogspot.com/search/label/Twitter


-- 
To unsubscribe, reply using remove me as the subject.


[twitter-dev] Re: Fred Wilson article on Twitter API

2010-04-07 Thread Mike Champion
Yeah, interesting post form Fred, especially coming a week before
Chirp.

Are there classes of killer apps that should be built but haven't
been? I left a comment on his blog that I would love an app that
somehow aggregated the recommendations from my twitter stream for
things like books, music, movies, etc. I tend to trust social
recommendations often times more than algorithmic ones.

And I certainly expect more and more great apps will be built around
data mining the tweet stream and the streaming API.

What would have to change for there to be 10X the number of (quality)
Twitter apps as there are now? A simpler way to make money? More
success stories? A fund for Twitter app developers? Changes/maturity
in the Twitter platform?

I'd be curious to hear what folks think.

Cheers,

-mike
--
Mike Champion
Engineering Lead
http://oneforty.com


On Apr 7, 12:12 pm, Chad Etzel jazzyc...@gmail.com wrote:
 As dougw pointed out, a timely article:

 http://www.avc.com/a_vc/2010/04/the-twitter-platform.html

 Chad


-- 
To unsubscribe, reply using remove me as the subject.


Re: [twitter-dev] Re: Fred Wilson article on Twitter API

2010-04-07 Thread Peter Denton
I think once the ad sharing platform is in place, you'll see more
clever/recommendation apps around products and services.
Being able to create/project a revenue stream, with low barrier to entry
(simply tying into the ad platform like AdSense), seems like it would create
a business-as-usual environment and market players at all levels would be
building around.

On Wed, Apr 7, 2010 at 11:53 AM, Mike Champion mike.champ...@gmail.comwrote:

 Yeah, interesting post form Fred, especially coming a week before
 Chirp.

 Are there classes of killer apps that should be built but haven't
 been? I left a comment on his blog that I would love an app that
 somehow aggregated the recommendations from my twitter stream for
 things like books, music, movies, etc. I tend to trust social
 recommendations often times more than algorithmic ones.

 And I certainly expect more and more great apps will be built around
 data mining the tweet stream and the streaming API.

 What would have to change for there to be 10X the number of (quality)
 Twitter apps as there are now? A simpler way to make money? More
 success stories? A fund for Twitter app developers? Changes/maturity
 in the Twitter platform?

 I'd be curious to hear what folks think.

 Cheers,

 -mike
 --
 Mike Champion
 Engineering Lead
 http://oneforty.com


 On Apr 7, 12:12 pm, Chad Etzel jazzyc...@gmail.com wrote:
  As dougw pointed out, a timely article:
 
  http://www.avc.com/a_vc/2010/04/the-twitter-platform.html
 
  Chad


 --
 To unsubscribe, reply using remove me as the subject.



Re: [twitter-dev] Streaming API with Chinese/Japanese language track predicates

2010-04-07 Thread John Kalucki
There are people here at Twitter who know this stuff inside and out. I just
haven't, yet, roped them in for a fix. Once we have a fix in hand, we'll
publish recommendations for everyone. Whatever our streaming servers have to
do, your streaming clients have to do, and we might as well pool our
efforts.

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



On Wed, Apr 7, 2010 at 12:08 PM, zn...@comcast.net wrote:


 - John Kalucki j...@twitter.com wrote:

  We break the status text into tokens by whitespace and punctuation,
  then apply the tokens to a hashmap of tracked terms. If the language
  doesn't have whitespace, the only thing that will match is the entire
  Tweet.
 
  I know that Search has struggled with this as well. I take it that the
  solutions aren't easy. At some point we'll have to figure something
  similar out for Streaming. I've filed a story to add support for these
  languages in Track.
 
  -John Kalucki
  http://twitter.com/jkalucki
  Infrastructure Twitter Inc.

 Thanks! I was just about to add CJK (Chinese - Japanese - Korean) regular
 expressions to my list of research topics! ;-) There must be something in
 the open source world we can (to use the tired old cliché) leverage off
 of. ;-) Oniguruma?? Namazu?

 I suppose we need to look at Cyrillic and right-to-left (Arabic and Hebrew)
 too?

 --
 M. Edward (Ed) Borasky
 http://borasky-research.net/smart-at-znmeb

 A mathematician is a device for turning coffee into theorems. ~ Paul
 Erdős



-- 
To unsubscribe, reply using remove me as the subject.


[twitter-dev] Re: Chirp is coming to San Francisco April 14 and 15

2010-04-07 Thread Orian Marx (@orian)
If nobody tweets about it it didn't really happen :-)

On Apr 7, 1:51 am, M. Edward (Ed) Borasky zn...@comcast.net wrote:
 On 04/06/2010 03:30 PM, Abraham Williams wrote: On Tue, Apr 6, 2010 at 
 15:06, Jonathan Strauss jonat...@snowballfactory.com
  wrote:

  Secondly, is there a wiki or something for coordinating among Chirp
  Hack Day participants?

  Twitter.com? :-P

 What if the brightest and best Twitter developers gathered for two days
 in Twitter's home town and *nobody* tweeted a single tweet about it?

 ;-)

 --
 M. Edward (Ed) Borasky
 borasky-research.net/m-edward-ed-borasky

 A mathematician is a device for turning coffee into theorems. ~ Paul Erdős


-- 
To unsubscribe, reply using remove me as the subject.


Re: [twitter-dev] Re: Mad about lists and cursors... please help

2010-04-07 Thread Mark McBride
Eugene, we're aware of the issue and will take a look at it today.

  ---Mark

http://twitter.com/mccv


On Wed, Apr 7, 2010 at 11:09 AM, eugene.man...@gmail.com 
eugene.man...@gmail.com wrote:

 I posted this issue to @twitterapi twice, but they ignored it.

 Dear API group, please address this question.

 Thank you!

 On Apr 6, 9:45 am, Spraycode joey.fernan...@gmail.com wrote:
  Has anyone been able to solve this issue?  This is still crippling us.
 
  Thanks!
 
  On Apr 2, 5:25 am, luisfigo rsoeg...@gmail.com wrote:
 
   Having the same problem...
 
   Triedhttp://api.twitter.com/1/avinashkaushik/lists/memberships.xml
   and get 0 for cursor. This guy is followed by ton of lists in fact
 
   Below is the snapshot of the end result I got... This is screwing up
   our app right now...
 
   .
   profile_background_image_url
 http://a1.twimg.com/profile_background_images/79104366/twitter_backgr...
   /profile_background_image_url
   profile_background_tilefalse/profile_background_tile
   notificationsfalse/notifications
   geo_enabledfalse/geo_enabled
   verifiedfalse/verified
   followingfalse/following
   statuses_count3208/statuses_count
   langen/lang
   contributors_enabledfalse/contributors_enabled
   /user
   /list
   /lists
   next_cursor0/next_cursor
   previous_cursor0/previous_cursor
   /lists_list
 
   On Apr 1, 6:00 pm, Diego Rin Martin diego@gmail.com wrote:
 
I think it's a API bug, even in the twitter page the paginator
 doesn't work
as expected, sometimes
appears, sometines not, and when appears it makes in a random manner.
 
i'm getting cursor 0 from API, using int or string representation,
 the bug
is in the API that sends
the cursor 0 randomly.
 
regards, diego.
 
On Thu, Apr 1, 2010 at 2:38 AM, jmathai jmat...@gmail.com wrote:
 Are you sure you're using the string representation of the cursor
 instead of the int?  The API's cursor exceeds PHP's max integer
 value
 (generally).
 
 jmathai ~ $ php -r '$x =
 json_decode(1);
 echo $x; echo \n;

 var_dump($x===1);
 var_dump($x===1.111E+52);'
 1.111E+52
 bool(false)
 bool(true)
 
 jmathai ~ $ php -r '$x =
 1; echo $x;
 echo
 \n;

 var_dump($x===1);
 var_dump($x===1.111E+52);'
 1.111E+52
 bool(true)
 bool(false)
 
 On Mar 31, 2:03 am, Diego Rin Martín diego@gmail.com wrote:
  Hi there,
 
  this is my first post to this group, i'm a spanish developer
 dealing
  with twitter api surprises, excuse my poor english, i'will do my
 best
  to comunicate nicest.
 
  So, to the problem, I'm trying to retrieve the lists for a user,
 via
 list/membershipsget method, and passing cursor as parameter, I'm
  having got random results, I explain myself, sometimes I made a
  request (for user edans, that have a huge amount of pages to
 paginate)
  and I get one page, I pass cursor -1 and I get cursor 0,
 sometimes I
  get one page, I pass cursor -1 i get cursor 1331431515904087602,
 then
  I pass it and I get 0, sometimes I get a random number of pages,
 but
  never, never, be able to retrieve the total amount of pages.
 
  I use php twitter-async classes to comunicate with API, I thought
 that
  it could be the cause of the problem, but using direct curl (via
 php5-
  curl extension) calls I'm having the same issues.
 
  Same using json or xml.
 
  I'm always getting 200 responses, so the call finish in a correct
 way.
 
  any clue?
 
  I'm turning mad.
 
  Thanks in advance.
  diego.
 
 --
 To unsubscribe, reply using remove me as the subject.



[twitter-dev] Re: Opt-in beta of Popular Tweets for the Search API now available

2010-04-07 Thread Dewald Pretorius
Jaanus,

Nobody intended to be mean, and nobody put into question whether
everyone at Twitter is doing a good job.

As Andrew noted, it's just that the job of Developer Advocate is not
being done at all. I see no malice in that. I believe it is just a
misunderstanding or a lack of understanding of the role.

To boil it down to the simplest of levels, an advocate is a person who
pleads for a cause or propounds an idea.

Hence, a developer advocate speaks, pleads, or argues in favor of
developers, particularly when their needs, wishes, desires, or
interests diverge from the needs, wishes, desires, or interests of
Twitter.

On Apr 7, 12:22 am, Jaanus jaa...@gmail.com wrote:
 My oh my, what discussion about advocacy and what not. I think Taylor,
 Raffi and everybody else from Twitter are doing a great job here and
 everyone is eager to learn and they know they have ways to go. Let's
 not get mean.

 I'm with those who say injecting popular searches into the search API
 results by Twitter still doesn't entirely make sense, given the way
 the rollout/communication is handled. Here is the problem/conversation
 in a nutshell:

 Twitter: We are going to inject popular search results into the
 search API results, changing previous behavior that just returned
 recent results.
 Developers: Wait a sec, this is a bad idea because of A, B and C.
 Maybe you can version the API better or some such.
 ... time passes, nothing happens ...
 Twitter: Hi, we're starting to roll this out now.

 I don't particularly care for the popular results either way and I
 trust Twitter that it is good for users in the grand scheme of things,
 but the API behavior change is disturbing. It would be great to work
 against a fixed API target so that those who want search to work in a
 particular way can just work against a given API version, but with
 search, this is not an option, you only have one endpoint that's in
 this kind of flux.

 What I'm saying is Twitter as a company could just earn more developer
 street cred and respect here by handling this in a more graceful way.
 There comes a point in time where the moving parts argument as an
 excuse to not follow good API practices gets somewhat old.

 rgds,
 Jaanus


-- 
To unsubscribe, reply using remove me as the subject.


Re: [twitter-dev] Re: Fred Wilson article on Twitter API

2010-04-07 Thread znmeb
- Mike Champion mike.champ...@gmail.com wrote:

 Yeah, interesting post form Fred, especially coming a week before
 Chirp.
 
 Are there classes of killer apps that should be built but haven't
 been? I left a comment on his blog that I would love an app that
 somehow aggregated the recommendations from my twitter stream for
 things like books, music, movies, etc. I tend to trust social
 recommendations often times more than algorithmic ones.

I think

a. That falls into what Fred calls the obvious ones.
b. Facebook has the pole position here and it's a waste of Twitter ecosystem 
resources to try and beat Facebook.

 And I certainly expect more and more great apps will be built around
 data mining the tweet stream and the streaming API.

Again, I think this is in Fred's obvious class. 

 What would have to change for there to be 10X the number of (quality)
 Twitter apps as there are now? A simpler way to make money? More
 success stories? A fund for Twitter app developers? Changes/maturity
 in the Twitter platform?

I'm not sure that question has an answer, and I'm not sure it's even the right 
one to ask. The question I'll throw out is, How can the Twitter ecosystem 
enhance the quality of life for the most people? Because when we get an answer 
to *that* question, the businesses and the money will follow. Business is about 
making peoples' lives *better*, solving real problems for real people, saving 
them money and time, and so on.

--
M. Edward (Ed) Borasky
borasky-research.net @znmeb

A mathematician is a device for turning coffee into theorems. ~ Paul Erdős


Re: [twitter-dev] Re: Opt-in beta of Popular Tweets for the Search API now available

2010-04-07 Thread Raffi Krikorian

 Hence, a developer advocate speaks, pleads, or argues in favor of
 developers, particularly when their needs, wishes, desires, or
 interests diverge from the needs, wishes, desires, or interests of
 Twitter.


(which taylor does, btw)

-- 
Raffi Krikorian
Twitter Platform Team
http://twitter.com/raffi


-- 
To unsubscribe, reply using remove me as the subject.


[twitter-dev] Re: Mad about lists and cursors... please help

2010-04-07 Thread eugene.man...@gmail.com
Thanks! Looking forward to the resolution.

On Apr 7, 12:43 pm, Mark McBride mmcbr...@twitter.com wrote:
 Eugene, we're aware of the issue and will take a look at it today.

   ---Mark

 http://twitter.com/mccv

 On Wed, Apr 7, 2010 at 11:09 AM, eugene.man...@gmail.com 

 eugene.man...@gmail.com wrote:
  I posted this issue to @twitterapi twice, but they ignored it.

  Dear API group, please address this question.

  Thank you!

  On Apr 6, 9:45 am, Spraycode joey.fernan...@gmail.com wrote:
   Has anyone been able to solve this issue?  This is still crippling us.

   Thanks!

   On Apr 2, 5:25 am, luisfigo rsoeg...@gmail.com wrote:

Having the same problem...

Triedhttp://api.twitter.com/1/avinashkaushik/lists/memberships.xml
and get 0 for cursor. This guy is followed by ton of lists in fact

Below is the snapshot of the end result I got... This is screwing up
our app right now...

.
profile_background_image_url
 http://a1.twimg.com/profile_background_images/79104366/twitter_backgr...
/profile_background_image_url
profile_background_tilefalse/profile_background_tile
notificationsfalse/notifications
geo_enabledfalse/geo_enabled
verifiedfalse/verified
followingfalse/following
statuses_count3208/statuses_count
langen/lang
contributors_enabledfalse/contributors_enabled
/user
/list
/lists
next_cursor0/next_cursor
previous_cursor0/previous_cursor
/lists_list

On Apr 1, 6:00 pm, Diego Rin Martin diego@gmail.com wrote:

 I think it's a API bug, even in the twitter page the paginator
  doesn't work
 as expected, sometimes
 appears, sometines not, and when appears it makes in a random manner.

 i'm getting cursor 0 from API, using int or string representation,
  the bug
 is in the API that sends
 the cursor 0 randomly.

 regards, diego.

 On Thu, Apr 1, 2010 at 2:38 AM, jmathai jmat...@gmail.com wrote:
  Are you sure you're using the string representation of the cursor
  instead of the int?  The API's cursor exceeds PHP's max integer
  value
  (generally).

  jmathai ~ $ php -r '$x =
  json_decode(1);
  echo $x; echo \n;

  var_dump($x===1);
  var_dump($x===1.111E+52);'
  1.111E+52
  bool(false)
  bool(true)

  jmathai ~ $ php -r '$x =
  1; echo $x;
  echo
  \n;

  var_dump($x===1);
  var_dump($x===1.111E+52);'
  1.111E+52
  bool(true)
  bool(false)

  On Mar 31, 2:03 am, Diego Rin Martín diego@gmail.com wrote:
   Hi there,

   this is my first post to this group, i'm a spanish developer
  dealing
   with twitter api surprises, excuse my poor english, i'will do my
  best
   to comunicate nicest.

   So, to the problem, I'm trying to retrieve the lists for a user,
  via
  list/membershipsget method, and passing cursor as parameter, I'm
   having got random results, I explain myself, sometimes I made a
   request (for user edans, that have a huge amount of pages to
  paginate)
   and I get one page, I pass cursor -1 and I get cursor 0,
  sometimes I
   get one page, I pass cursor -1 i get cursor 1331431515904087602,
  then
   I pass it and I get 0, sometimes I get a random number of pages,
  but
   never, never, be able to retrieve the total amount of pages.

   I use php twitter-async classes to comunicate with API, I thought
  that
   it could be the cause of the problem, but using direct curl (via
  php5-
   curl extension) calls I'm having the same issues.

   Same using json or xml.

   I'm always getting 200 responses, so the call finish in a correct
  way.

   any clue?

   I'm turning mad.

   Thanks in advance.
   diego.

  --
  To unsubscribe, reply using remove me as the subject.


Re: [twitter-dev] Re: Opt-in beta of Popular Tweets for the Search API now available

2010-04-07 Thread John Kalucki
I'd have to say that everyone from Twitter who posts on this list is very
much a Developer Advocate and brings the concerns and viewpoints of the
developer community as a whole into every meeting and decision. If there's
ever an internal tension between a competing priority and the developer
ecosystem, you can be assured that someone from this list will be taking the
ecosystem into account, if not explicitly taking the ecosystem's side.

OTOH, this is a complex system, a diverse ecosystem and a complicated
business. Most choices are win-win for everyone, but sometimes there are
shades of gray and there are some non-winners and sometimes even some
flat-out losers. In more than a few cases I hear gripes from some devs about
changes that are making other devs jump for joy.

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


On Wed, Apr 7, 2010 at 1:15 PM, Dewald Pretorius dpr...@gmail.com wrote:

 Jaanus,

 Nobody intended to be mean, and nobody put into question whether
 everyone at Twitter is doing a good job.

 As Andrew noted, it's just that the job of Developer Advocate is not
 being done at all. I see no malice in that. I believe it is just a
 misunderstanding or a lack of understanding of the role.

 To boil it down to the simplest of levels, an advocate is a person who
 pleads for a cause or propounds an idea.

 Hence, a developer advocate speaks, pleads, or argues in favor of
 developers, particularly when their needs, wishes, desires, or
 interests diverge from the needs, wishes, desires, or interests of
 Twitter.

 On Apr 7, 12:22 am, Jaanus jaa...@gmail.com wrote:
  My oh my, what discussion about advocacy and what not. I think Taylor,
  Raffi and everybody else from Twitter are doing a great job here and
  everyone is eager to learn and they know they have ways to go. Let's
  not get mean.
 
  I'm with those who say injecting popular searches into the search API
  results by Twitter still doesn't entirely make sense, given the way
  the rollout/communication is handled. Here is the problem/conversation
  in a nutshell:
 
  Twitter: We are going to inject popular search results into the
  search API results, changing previous behavior that just returned
  recent results.
  Developers: Wait a sec, this is a bad idea because of A, B and C.
  Maybe you can version the API better or some such.
  ... time passes, nothing happens ...
  Twitter: Hi, we're starting to roll this out now.
 
  I don't particularly care for the popular results either way and I
  trust Twitter that it is good for users in the grand scheme of things,
  but the API behavior change is disturbing. It would be great to work
  against a fixed API target so that those who want search to work in a
  particular way can just work against a given API version, but with
  search, this is not an option, you only have one endpoint that's in
  this kind of flux.
 
  What I'm saying is Twitter as a company could just earn more developer
  street cred and respect here by handling this in a more graceful way.
  There comes a point in time where the moving parts argument as an
  excuse to not follow good API practices gets somewhat old.
 
  rgds,
  Jaanus


 --
 To unsubscribe, reply using remove me as the subject.



Re: [twitter-dev] Re: Fred Wilson article on Twitter API

2010-04-07 Thread Lil Peck
On Wed, Apr 7, 2010 at 1:53 PM, Mike Champion mike.champ...@gmail.com wrote:

 I'd be curious to hear what folks think.



For me, the appeal of Twitter is its brevity and its simplicity for
integration with one's website.

I worry that once basic authentication is discontinued, that I will
have to stop using Twitter in my web based apps. Seems to me that
oauth is needlessly too complicated and bloated for many Twitter uses.

I like it that Twitter has been a very simple service, and that
because of the limit of its scope, there are opportunities for
indepedent developers to create extensions for it.

I am not at all enchanted by Facebook and whatever I do with Facebook
is out of sheer necessity.


-- 
To unsubscribe, reply using remove me as the subject.


[twitter-dev] Re: Search API Changes: Popular Tweets vs. Recency

2010-04-07 Thread Jaanus
Thanks, good feedback.

Yep, it is always preferable to be explicit about specifying the
intent. API versioning and explicit options are both good ways of
doing that. The kerfuffle around the popular searches being injected
happened exactly because there was previously no way to specify
intent. Thus, there was an implicit intent in the search API behavior
that the developers came to trust. Now we feel as if a rug is somewhat
being pulled from under us.

To be fair, though, if popular tweets being included by default BREAKS
anybody's app in the technical sense, then maybe it's time to look in
the mirror or your code. My app won't be affected by it and will
continue to operate just fine. If I want, I could just add extra value
to my users by presenting the popular search somehow differently, but
if not, it continues to be just a bunch of results, all the same. Be
liberal in what you accept (http://en.wikipedia.org/wiki/
Robustness_principle) is a good rule to follow with Twitter API as
with any external data.


J


-- 
To unsubscribe, reply using remove me as the subject.


Re: [twitter-dev] Re: Fred Wilson article on Twitter API

2010-04-07 Thread Raffi Krikorian
i would love to know how we can make oauth simpler for people.  should we
provide better documentation?  examples?  libraries?

On Wed, Apr 7, 2010 at 3:07 PM, Lil Peck lilp...@gmail.com wrote:

 On Wed, Apr 7, 2010 at 1:53 PM, Mike Champion mike.champ...@gmail.com
 wrote:
 
  I'd be curious to hear what folks think.
 
 

 For me, the appeal of Twitter is its brevity and its simplicity for
 integration with one's website.

 I worry that once basic authentication is discontinued, that I will
 have to stop using Twitter in my web based apps. Seems to me that
 oauth is needlessly too complicated and bloated for many Twitter uses.

 I like it that Twitter has been a very simple service, and that
 because of the limit of its scope, there are opportunities for
 indepedent developers to create extensions for it.

 I am not at all enchanted by Facebook and whatever I do with Facebook
 is out of sheer necessity.


 --
 To unsubscribe, reply using remove me as the subject.




-- 
Raffi Krikorian
Twitter Platform Team
http://twitter.com/raffi


Re: [twitter-dev] Re: Fred Wilson article on Twitter API

2010-04-07 Thread Abraham Williams
I think an site explaining OAuth similar to
http://business.twitter.com/twitter101/ would go a long way.

Abraham

On Wed, Apr 7, 2010 at 15:30, Raffi Krikorian ra...@twitter.com wrote:

 i would love to know how we can make oauth simpler for people.  should we
 provide better documentation?  examples?  libraries?


 On Wed, Apr 7, 2010 at 3:07 PM, Lil Peck lilp...@gmail.com wrote:

 On Wed, Apr 7, 2010 at 1:53 PM, Mike Champion mike.champ...@gmail.com
 wrote:
 
  I'd be curious to hear what folks think.
 
 

 For me, the appeal of Twitter is its brevity and its simplicity for
 integration with one's website.

 I worry that once basic authentication is discontinued, that I will
 have to stop using Twitter in my web based apps. Seems to me that
 oauth is needlessly too complicated and bloated for many Twitter uses.

 I like it that Twitter has been a very simple service, and that
 because of the limit of its scope, there are opportunities for
 indepedent developers to create extensions for it.

 I am not at all enchanted by Facebook and whatever I do with Facebook
 is out of sheer necessity.


 --
 To unsubscribe, reply using remove me as the subject.




 --
 Raffi Krikorian
 Twitter Platform Team
 http://twitter.com/raffi




-- 
Abraham Williams | Community Advocate | http://abrah.am
PoseurTech Labs | Projects | http://labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.


Re: [twitter-dev] Re: Fred Wilson article on Twitter API

2010-04-07 Thread M. Edward (Ed) Borasky
On 04/07/2010 03:07 PM, Lil Peck wrote:

[snip]

 I worry that once basic authentication is discontinued, that I will
 have to stop using Twitter in my web based apps. Seems to me that
 oauth is needlessly too complicated and bloated for many Twitter uses.

oAuth is easy if you're using one of the common scripting languages
(Ruby, Python, Perl, PHP, .NET) to build your web application. They all
have libraries that do all the detailed oAuth processing for you.

[snip]

 
 I am not at all enchanted by Facebook and whatever I do with Facebook
 is out of sheer necessity.

Yeah - same here. I've been on LinkedIn since 2005 and Twitter since
2007. I just joined Facebook in 2009, and nearly all of my Facebook
friends are people I met through Twitter. ;-)

-- 
M. Edward (Ed) Borasky
borasky-research.net/m-edward-ed-borasky @znmeb

A mathematician is a device for turning coffee into theorems. ~ Paul Erdős


-- 
To unsubscribe, reply using remove me as the subject.


Re: [twitter-dev] Re: Fred Wilson article on Twitter API

2010-04-07 Thread M. Edward (Ed) Borasky
On 04/07/2010 03:30 PM, Raffi Krikorian wrote:
 i would love to know how we can make oauth simpler for people.  should we
 provide better documentation?  examples?  libraries?

I can't speak for all of the libraries, but certainly Marc Mims'
Net::Twitter makes it totally easy - plug-and-play if you're writing in
Perl. I've also used the Ruby twitter gem and it does oAuth in a
similarly simple way.

-- 
M. Edward (Ed) Borasky
borasky-research.net/m-edward-ed-borasky

A mathematician is a device for turning coffee into theorems. ~ Paul Erdős


-- 
To unsubscribe, reply using remove me as the subject.


Re: [twitter-dev] Re: Opt-in beta of Popular Tweets for the Search API now available

2010-04-07 Thread Allan Hoving
The interesting thing I'm finding is that if I try to do anything that
elevates popular or relevant tweets, it causes the results to appear
less dynamic, more static, less lively, more dead. And that's bad for the
user experience.
Allan Hoving
http://www.thefrequency.tv

On Wed, Apr 7, 2010 at 6:09 PM, John Kalucki j...@twitter.com wrote:

 I'd have to say that everyone from Twitter who posts on this list is very
 much a Developer Advocate and brings the concerns and viewpoints of the
 developer community as a whole into every meeting and decision. If there's
 ever an internal tension between a competing priority and the developer
 ecosystem, you can be assured that someone from this list will be taking the
 ecosystem into account, if not explicitly taking the ecosystem's side.

 OTOH, this is a complex system, a diverse ecosystem and a complicated
 business. Most choices are win-win for everyone, but sometimes there are
 shades of gray and there are some non-winners and sometimes even some
 flat-out losers. In more than a few cases I hear gripes from some devs about
 changes that are making other devs jump for joy.

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



 On Wed, Apr 7, 2010 at 1:15 PM, Dewald Pretorius dpr...@gmail.com wrote:

 Jaanus,

 Nobody intended to be mean, and nobody put into question whether
 everyone at Twitter is doing a good job.

 As Andrew noted, it's just that the job of Developer Advocate is not
 being done at all. I see no malice in that. I believe it is just a
 misunderstanding or a lack of understanding of the role.

 To boil it down to the simplest of levels, an advocate is a person who
 pleads for a cause or propounds an idea.

 Hence, a developer advocate speaks, pleads, or argues in favor of
 developers, particularly when their needs, wishes, desires, or
 interests diverge from the needs, wishes, desires, or interests of
 Twitter.

 On Apr 7, 12:22 am, Jaanus jaa...@gmail.com wrote:
  My oh my, what discussion about advocacy and what not. I think Taylor,
  Raffi and everybody else from Twitter are doing a great job here and
  everyone is eager to learn and they know they have ways to go. Let's
  not get mean.
 
  I'm with those who say injecting popular searches into the search API
  results by Twitter still doesn't entirely make sense, given the way
  the rollout/communication is handled. Here is the problem/conversation
  in a nutshell:
 
  Twitter: We are going to inject popular search results into the
  search API results, changing previous behavior that just returned
  recent results.
  Developers: Wait a sec, this is a bad idea because of A, B and C.
  Maybe you can version the API better or some such.
  ... time passes, nothing happens ...
  Twitter: Hi, we're starting to roll this out now.
 
  I don't particularly care for the popular results either way and I
  trust Twitter that it is good for users in the grand scheme of things,
  but the API behavior change is disturbing. It would be great to work
  against a fixed API target so that those who want search to work in a
  particular way can just work against a given API version, but with
  search, this is not an option, you only have one endpoint that's in
  this kind of flux.
 
  What I'm saying is Twitter as a company could just earn more developer
  street cred and respect here by handling this in a more graceful way.
  There comes a point in time where the moving parts argument as an
  excuse to not follow good API practices gets somewhat old.
 
  rgds,
  Jaanus


 --
 To unsubscribe, reply using remove me as the subject.





[twitter-dev] Re: Mobile view of twitter.com doesn't show This person has protected their tweets message

2010-04-07 Thread Richard Barnett
On Apr 8, 1:41 am, Abraham Williams 4bra...@gmail.com wrote:
 Have a look at the new http://mobile.twitter.com. It looks awesome and
 displays if profiles are protected.

It does look awesome; unfortunately it uses a bunch of Javascript
which (in general) many low-end mobile browsers can't handle.

I need a mobile-optimised Javascript-free page that displays the
protected message.

-- Richard


Re: [twitter-dev] Re: Fred Wilson article on Twitter API

2010-04-07 Thread Lil Peck
On Wed, Apr 7, 2010 at 5:30 PM, Raffi Krikorian ra...@twitter.com wrote:
 i would love to know how we can make oauth simpler for people.  should we
 provide better documentation?  examples?  libraries?



Here is the Classic ASP code (by Ariel Saputra) that my site uses:

function asp_twitter_update(strMsg,strUser,strPass)
dim oXml,strFlickrUrl
strFlickrUrl = http://twitter.com/statuses/update.xml;
set oXml = Server.CreateObject(Msxml2.ServerXMLHTTP.3.0)
oXml.Open POST, strFlickrUrl, false, strUser, strPass
oXml.setRequestHeader Content-Type, 
application/x-www-form-urlencoded
oXml.Send status=  server.URLencode(strMsg)
asp_twitter_update = oXml.responseText
Set oXml = nothing
end function


Whenever a visitor to my site posts a new classified ad, the Classic
ASP script automatically, invisibly, seamlessly sends out a tweet
through the site's Twitter account that announces the new ad. Users
need not have a Twitter account of their own and need not know or
understand anything about Twitter, because the tweets are sent without
their having to do anything other than submit their classified ad via
my site's Classic ASP form.

It was so easy to incorporate that bit of code into my form! I would
be grateful for suggestions of how to accomplish the same thing with
Classic ASP and oauth. Actually, to do this for Classic ASP/oauth is
something of a holy grail for those of us who use Classic ASP; as
there are lots of us who are concerned about this issue.


[twitter-dev] OAuth Revoke Token?

2010-04-07 Thread Ryan Amos
Is there anyway to send a request to revoke a token completely without
requiring the user goto their connections page on twitter?


We allow our users to revoke access via our application, but that only
revokes it on our side.  The application would still show up on their
twitter.com connections page.

Google has one by sending a request to:
https://www.google.com/accounts/accounts/AuthSubRevokeToken


-- 
To unsubscribe, reply using remove me as the subject.