[twitter-dev] Re: Extracting tweets of all twitter users from a particular region (say new york city).

2009-05-12 Thread Basha Shaik
Hi,

Using geocode we can get tweets. But latitude longitudes and radius has to
be specified. If we know only location Ex: princeton. Can we get tweets from
a location without spcifying latitudes and longitudes. how to get tweets in
such Situation.
can you explain with an Example.

Regards,

Mahaboob Basha Shaik
www.netelixir.com
Making Search Work


On Tue, Apr 28, 2009 at 3:37 AM, Chad Etzel jazzyc...@gmail.com wrote:


 well, the api wiki is down for maint, but you can use the geocode
 operator of the Search API to do this, yes.  check
 http://apiwiki.twitter.com/ when it's back up.
 -Chad

 On Mon, Apr 27, 2009 at 11:34 PM, Swiftguy121 vikram@gmail.com
 wrote:
 
  Hello All,
 
 
  Im twitter newbie.
 
 
  I would like to know how we can extract tweets of all twitter users
  from a particular region (say new york city).
 
  Is that possible using the twitter api ?
 
  Please help me out..thanks in advance!
 



[twitter-dev] Re: Extracting tweets of all twitter users from a particular region (say new york city).

2009-05-12 Thread Chad Etzel

You'll have to use some geocoding service (like google or yahoo) to
translate the location into a lat/lng pair before passing it into
twitter.
-Chad

On Tue, May 12, 2009 at 6:45 AM, Basha Shaik basha.neteli...@gmail.com wrote:
 Hi,

 Using geocode we can get tweets. But latitude longitudes and radius has to
 be specified. If we know only location Ex: princeton. Can we get tweets from
 a location without spcifying latitudes and longitudes. how to get tweets in
 such Situation.
 can you explain with an Example.

 Regards,

 Mahaboob Basha Shaik
 www.netelixir.com
 Making Search Work


 On Tue, Apr 28, 2009 at 3:37 AM, Chad Etzel jazzyc...@gmail.com wrote:

 well, the api wiki is down for maint, but you can use the geocode
 operator of the Search API to do this, yes.  check
 http://apiwiki.twitter.com/ when it's back up.
 -Chad

 On Mon, Apr 27, 2009 at 11:34 PM, Swiftguy121 vikram@gmail.com
 wrote:
 
  Hello All,
 
 
  Im twitter newbie.
 
 
  I would like to know how we can extract tweets of all twitter users
  from a particular region (say new york city).
 
  Is that possible using the twitter api ?
 
  Please help me out..thanks in advance!
 




[twitter-dev] Re: Deprecation of following and notification elements

2009-05-12 Thread Dave Mc

Doug,

I appreciate your taking the time to respond to my criticism. I
understand where you're coming from and if I was you I would probably
take the same view. I'm slow to go down the proxy route because this
would require server resources and, like most Twitter clients, my app
is non-commercial. Another issue with use of a proxy is that
Enterprise-managed mobile devices (e.g. BlackBerry devices that use a
BES) are often restricted to a white list of HTTP endpoints. It is
much easier to persuade an admin to allow twitter.com:80 than
proxy.dodgy.com:80.

Hey, here's a cheeky suggestion for Twitter: provide free VM-based
hosting for mobile proxies...

Regards,

Dave.

On May 12, 1:14 am, Doug Williams d...@twitter.com wrote:
 David,
 As with any solution there are compromises (the normal big three are time,
 resources, quality of service) and while this change may make your
 particular use of the API more difficult, it is not only important but also
 necessary given our architecture and growth. The API provides Twitter data
 in a format that is consistent with our strengths. It is up to the consuming
 application to make the data we freely provide useful in its independent
 context. This decoupling of data and application allows us to focus on data
 delivery while the developer attends to user experience. We aim to maximize
 performance for board array of use-cases and while at the same time
 minimizing operational and maintenance costs.

 There are many very successful mobile applications that run a proxy to get
 around the resource/time trade-off that this deprecation creates. If you are
 mobile heavy, it is suggested you do the same. A proxy is highly recommended
 for iPhone apps because it insulates the application changes in the Twitter
 API with the App Store acceptance delay.

 If anyone has an open source Twitter API proxy, please start another thread
 so mobile developers like David do not have to reinvent the wheel. In fact,
 there should be a FOSS project for mobile devs to rely on -- I've got a
 couple ideas to contribute. Again, please start a thread (and link back
 here) if you have code or interest in starting a proxy project.

 Thanks,
 Doug
 --

 Doug Williams
 Twitter Platform Supporthttp://twitter.com/dougw

 On Mon, May 11, 2009 at 4:38 PM, Dave Mc davidmccorm...@gmail.com wrote:

  To be blunt this is very unsatisfactory. Once again you guys are not
  being at all cognisant of the requirements of mobile Twitter client
  apps. These face much bigger problems than just the rate limit. They
  are constrained by physical limitations such as battery life, latency
  and bandwidth. And they also have to take account of carrier data
  charges. Every time something in your API requires an additional
  method call you are making life difficult for us mobile app developers
  who are trying to deliver a quality Twitter client to our users (who
  are also your users!).

  What annoys me too is that whenever a mobile-specific issue is raised
  your stock response is handle that in a proxy. Guys, that's just not
  good enough. The World is going mobile and the continuing development
  of your API needs to take account of this.

  Very unhappy about this!

  On May 11, 10:18 pm, Doug Williams d...@twitter.com wrote:
   Issues 419 [1] and 474 [2] are very popular, in the painful kind of way.
  The
   defects report that methods returning user objects (see users/show for an
   example [3]) are returning incorrect or invalid values for the
  following
   element.

   The fix for this inconsistency is in fact non trivial [4]. The problem
  lies
   within the interaction of the application logic, caching layer and
  database
   design. The persistent data behind following and notification values
  are
   separate from the user data in our architecture, so to keep these
  elements
   valid in cache alongside user objects adds a large amount of complexity.

   Developers made it obvious that these data are a priority and we want to
   ensure they available. We also want to guarantee they are accurate and
  that
   performance remains good. Given the problems explained above, we are
  going
   to be making a number of changes to the API so that you can rely on the
   following or notification data.

   Deprecations:
   The following elements are to be removed from all returned user objects
   returned by the API:

   1) following
   2) notifications

    This deprecation will not occur until we finish the following:

    Additions:
   To continue to provide access to this data we will be creating a new
  method:

    Issue 532 [4] outlines the need to perform a mutual following lookup. We
   will use a method similar to that described in this issue to deliver
   following, followedby, notification and pending (in the case of
   protected users) data with a single call.

   We realize this change will cause an increase in API usage for some
   applications. Therefore we are going to increase the default API 

[twitter-dev] Re: Regex for @replies

2009-05-12 Thread hjb


@Doug,

Is this behavour likely to remain? ( I noticed that @replies and -
@replies are successful )

That is to say, I'm sure @replies will work at some point via sms, but
can we rely on the fact that _...@replies do not? Is this related to
there being any chance of it being an email address?

Thanks,

Harry

On May 11, 6:26 pm, Doug Williams d...@twitter.com wrote:
 In my test posts @dougw and @DOUGW worked as mentions. t...@dougw and
 _...@dougw were not included  as mentions.

 Thanks,
 Doug
 --

 Doug Williams
 Twitter Platform Supporthttp://twitter.com/dougw

 On Mon, May 11, 2009 at 10:16 AM, CaMason stasisme...@googlemail.comwrote:



  Thanks Doug, that's a great help.

  How about preceding?

  i.e. should t...@dougw, _...@dougw or @dougw create mentions? The
  main concern here obviously is email addresses.

  And finally, are screen names case sensitive? :)

  Cheers

  On May 11, 6:07 pm, Doug Williams d...@twitter.com wrote:
   The classic definition of an @reply is any tweet that starts with @user.
  If
   you perfrom a to:user (e.g. to:dougw) query at search.twitter.com you
  will
   only get @replies. @replies were converted to mentions after we realized
   people didn't just @reply. Mentions are any tweet that contain @user
  within
   the text of the tweet.

   So @replies are a subset of mentions.

   Any non-alphanumeric (where alphanumeric is a-z, 0-9, or _) can terminate
   the username. For instance: hi @dougw, you look dapper today is a
  mention.

   Thanks,
   Doug
   --

   Doug Williams
   Twitter Platform Supporthttp://twitter.com/dougw

   On Mon, May 11, 2009 at 2:36 AM, stasisme...@googlemail.com 

   stasisme...@googlemail.com wrote:

Hi guys,

For an application I'm working on, we have a single table for 'tweets'
and another for DMs. We're linking TwitterUsers to Tweets with a
many:many, and a simple flag to specify if the tweet is a reply/
mention.

We first pull in messages from the user_timeline feed, then the
mentions feed. As such, we'd like to check if any of the messages in
user_timeline feed is actually a reply.

Could anybody clarify the exact rules that are used to determine
whether a string is a reply/mention?

i.e.
preceded by start-of-string or non-word character...
followed by space, comma, period or end of message...
case insensitive...
[not even sure if these are correct! :) ]

Currently I'm using:

/(?![^\W_])@%s(?![^\W_])/i

with %s replaced by the user's screen name. Perhaps one of the devs
could share the exact rules (or even the regex), or propose a nicer
mechanism for detecting replies.

(I did propose checking for replies before tweets, but these update
threads are run asynchronously).

Cheers




[twitter-dev] Can't Follow Any more users?

2009-05-12 Thread m1keb

We at @plodt cannot follow any more users and our users are wondering
what's going on :)  Applied for a whitelist exception but haven't
heard back.  How should we proceed?

thank you!


[twitter-dev] Re: Regex for @replies

2009-05-12 Thread CaMason

It looks like they're simply applying this regex as a test:

(?![\w])@username(?![\w])

Thus, if a character on either side is not (a-z, A-Z, 0-9, _) then it
is a mention. any 'word' character (a-z, A-Z, 0-9, _) on either side
of '@screenname' causes the mention to fail.

(I hope I got the regex explanation correct!).

-Craig


On May 12, 12:33 pm, hjb ha...@heatonmoor.com wrote:
 @Doug,

 Is this behavour likely to remain? ( I noticed that @replies and -
 @replies are successful )

 That is to say, I'm sure @replies will work at some point via sms, but
 can we rely on the fact that _...@replies do not? Is this related to
 there being any chance of it being an email address?

 Thanks,

 Harry

 On May 11, 6:26 pm, Doug Williams d...@twitter.com wrote:

  In my test posts @dougw and @DOUGW worked as mentions. t...@dougw and
  _...@dougw were not included  as mentions.

  Thanks,
  Doug
  --

  Doug Williams
  Twitter Platform Supporthttp://twitter.com/dougw

  On Mon, May 11, 2009 at 10:16 AM, CaMason stasisme...@googlemail.comwrote:

   Thanks Doug, that's a great help.

   How about preceding?

   i.e. should t...@dougw, _...@dougw or @dougw create mentions? The
   main concern here obviously is email addresses.

   And finally, are screen names case sensitive? :)

   Cheers

   On May 11, 6:07 pm, Doug Williams d...@twitter.com wrote:
The classic definition of an @reply is any tweet that starts with @user.
   If
you perfrom a to:user (e.g. to:dougw) query at search.twitter.com you
   will
only get @replies. @replies were converted to mentions after we realized
people didn't just @reply. Mentions are any tweet that contain @user
   within
the text of the tweet.

So @replies are a subset of mentions.

Any non-alphanumeric (where alphanumeric is a-z, 0-9, or _) can 
terminate
the username. For instance: hi @dougw, you look dapper today is a
   mention.

Thanks,
Doug
--

Doug Williams
Twitter Platform Supporthttp://twitter.com/dougw

On Mon, May 11, 2009 at 2:36 AM, stasisme...@googlemail.com 

stasisme...@googlemail.com wrote:

 Hi guys,

 For an application I'm working on, we have a single table for 'tweets'
 and another for DMs. We're linking TwitterUsers to Tweets with a
 many:many, and a simple flag to specify if the tweet is a reply/
 mention.

 We first pull in messages from the user_timeline feed, then the
 mentions feed. As such, we'd like to check if any of the messages in
 user_timeline feed is actually a reply.

 Could anybody clarify the exact rules that are used to determine
 whether a string is a reply/mention?

 i.e.
 preceded by start-of-string or non-word character...
 followed by space, comma, period or end of message...
 case insensitive...
 [not even sure if these are correct! :) ]

 Currently I'm using:

 /(?![^\W_])@%s(?![^\W_])/i

 with %s replaced by the user's screen name. Perhaps one of the devs
 could share the exact rules (or even the regex), or propose a nicer
 mechanism for detecting replies.

 (I did propose checking for replies before tweets, but these update
 threads are run asynchronously).

 Cheers


[twitter-dev] Re: API Lock Out time for User Rate Limit

2009-05-12 Thread Cameron Kaiser

 I presume its the reset time specified in the rate limit query? So max
 is one hour...?

Yes.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- I'm a dyslexic amateur orthinologist. I just love word-botching. ---


[twitter-dev] Re: API Lock Out time for User Rate Limit

2009-05-12 Thread Abraham Williams
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0rate_limit_status

On Mon, May 11, 2009 at 23:09, markdsievers mark.siev...@gmail.com wrote:


 I presume its the reset time specified in the rate limit query? So max
 is one hour...?

 On May 12, 1:55 pm, Mark Sievers mark.siev...@gmail.com wrote:
  http://apiwiki.twitter.com/Rate-limiting
 
  The above page doesnt document what the effect is on the user if the
  User Rate limit of 100 reqs/ph is exceeded.
 
  From what I remember its an hour, but am having trouble finding this
  documented anywhere.
 
  Cheers
 
  M




-- 
Abraham Williams | http://the.hackerconundrum.com
Hacker | http://abrah.am | http://twitter.com/abraham
Web608 | Community Evangelist | http://web608.org
This email is: [ ] blogable [x] ask first [ ] private.


[twitter-dev] Re: Can't Follow Any more users?

2009-05-12 Thread m1keb

Ok, thanks.  It's been a couple of days but i'll give it a few more.

On May 12, 9:21 am, Abraham Williams 4bra...@gmail.com wrote:
 You can wait. @dougw clears out the whitelisting queue regularly. Or you can
 try to get more followers. That will increase the number you can follow.

 On Tue, May 12, 2009 at 07:42, m1keb mbuk...@gmail.com wrote:

  We at @plodt cannot follow any more users and our users are wondering
  what's going on :)  Applied for a whitelist exception but haven't
  heard back.  How should we proceed?

  thank you!

 --
 Abraham Williams |http://the.hackerconundrum.com
 Hacker |http://abrah.am|http://twitter.com/abraham
 Web608 | Community Evangelist |http://web608.org
 This email is: [ ] blogable [x] ask first [ ] private.
 Sent from Madison, WI, United States


[twitter-dev] Re: Send @replies/mentions via SMS?

2009-05-12 Thread TjL

On Tue, May 12, 2009 at 11:34 AM, Derek Gathright drg...@gmail.com wrote:
 If you (or anyone else) is still looking for something, I have a bot that I
 wrote a while back at twitter.com/dmreply.  Just request to follow, I'll
 approve, and then it will automatically forward any @replies to you via a
 DM.  Your account has to be public as it uses Twitter Search to retrieve the
 tweets.  Simple, requires no authentication info, unfollow at anytime to
 turn off the service.

That's how I started, but then I realized that people I have blocked
would be sent, and I have a (very) few followers whose updates are
protected, and I wouldn't see there.

Of course as soon as I finished this, I realized that what would be
*better* for my use would actually be email notification of
'mentions', so that's what I'm working on now. The nice thing is that
you're not bound to 140 characters in email, so I can also include
what the message was in_reply_to (I have a few followers who @reply
HOURS later and I often have no idea what they are referring to), and
hopefully even a link to @reply back to them, including a proper
in_reply_to also.



 I remembered trying to do it back in the Track days, but tracking @derek
 failed miserably as it dropped the @ and I instantly got swamped with tweets
 mentioning derek.

Yeah, I'm thinking about using the search API for a roll my own
track functionality too.

TjL


[twitter-dev] [OAuth] GET parameters

2009-05-12 Thread Dmitriy Vyukov

Hi!

I do following request:
http://twitter.com/statuses/friends_timeline.xml?since_id=1773396714count=20

When I include GET parameters (since_id, count) into OAuth signature
calculation I am getting HTTP 401 error. However when I do NOT include
GET parameters into OAuth signature calculation request succeeds.

So I guess, you are just excluding GET parameters from OAuth signature
calculation on your side. AFAIS, this is against OAuth spec.

Is there any plans for fixing this? As on option you may support both
variants for some time to not break old clients instantly.
Or I am just missing something?

Thank you.

--
Best regards,
Dmitriy V'jukov


[twitter-dev] Re: Send @replies/mentions via SMS?

2009-05-12 Thread Derek Gathright

 Yeah, I'm thinking about using the search API for a roll my own track
 functionality too.


Rebuilding Track is a fun little project.  I've done it various ways, but
the problem I always run into is the scalability once I publicize it.  Early
versions of my Twitter client (Tweenky) had the ability to track queries and
have them delivered via SMS, email, DM, and XMPP.  Having those delivery
options on a per query basis made it very powerful as some things you care
little about, but still wish to track (hourly aggregate by email).  Other
things have high priority and I want to be notified right away (via SMS).

So, if you feel like building your own Track, consider various delivery
methods per query, as well as keeping in mind the scalability if publicly
launching it, cause it's easy to do up until that point.  Most of my Twitter
stuff is just private little projects, for that reason.  Tweenky (
new.tweenky.com) being the exception, because now it's all written in
Javascript and doesn't use any server-side code, eliminating the scalability
issue. =)

Good luck.

On Tue, May 12, 2009 at 12:53 PM, TjL luo...@gmail.com wrote:


 On Tue, May 12, 2009 at 11:34 AM, Derek Gathright drg...@gmail.com
 wrote:
  If you (or anyone else) is still looking for something, I have a bot that
 I
  wrote a while back at twitter.com/dmreply.  Just request to follow, I'll
  approve, and then it will automatically forward any @replies to you via a
  DM.  Your account has to be public as it uses Twitter Search to retrieve
 the
  tweets.  Simple, requires no authentication info, unfollow at anytime to
  turn off the service.

 That's how I started, but then I realized that people I have blocked
 would be sent, and I have a (very) few followers whose updates are
 protected, and I wouldn't see there.

 Of course as soon as I finished this, I realized that what would be
 *better* for my use would actually be email notification of
 'mentions', so that's what I'm working on now. The nice thing is that
 you're not bound to 140 characters in email, so I can also include
 what the message was in_reply_to (I have a few followers who @reply
 HOURS later and I often have no idea what they are referring to), and
 hopefully even a link to @reply back to them, including a proper
 in_reply_to also.



  I remembered trying to do it back in the Track days, but tracking @derek
  failed miserably as it dropped the @ and I instantly got swamped with
 tweets
  mentioning derek.

 Yeah, I'm thinking about using the search API for a roll my own
 track functionality too.

 TjL



[twitter-dev] Re: Send @replies/mentions via SMS?

2009-05-12 Thread Derek Gathright

 and doesn't use any server-side code


Well, let me clarify, uses *very little* server-side code.  (before someone
corrects me)

On Tue, May 12, 2009 at 1:13 PM, Derek Gathright drg...@gmail.com wrote:

  Yeah, I'm thinking about using the search API for a roll my own track
 functionality too.


 Rebuilding Track is a fun little project.  I've done it various ways, but
 the problem I always run into is the scalability once I publicize it.  Early
 versions of my Twitter client (Tweenky) had the ability to track queries and
 have them delivered via SMS, email, DM, and XMPP.  Having those delivery
 options on a per query basis made it very powerful as some things you care
 little about, but still wish to track (hourly aggregate by email).  Other
 things have high priority and I want to be notified right away (via SMS).

 So, if you feel like building your own Track, consider various delivery
 methods per query, as well as keeping in mind the scalability if publicly
 launching it, cause it's easy to do up until that point.  Most of my Twitter
 stuff is just private little projects, for that reason.  Tweenky (
 new.tweenky.com) being the exception, because now it's all written in
 Javascript and doesn't use any server-side code, eliminating the scalability
 issue. =)

 Good luck.

 On Tue, May 12, 2009 at 12:53 PM, TjL luo...@gmail.com wrote:


 On Tue, May 12, 2009 at 11:34 AM, Derek Gathright drg...@gmail.com
 wrote:
  If you (or anyone else) is still looking for something, I have a bot
 that I
  wrote a while back at twitter.com/dmreply.  Just request to follow,
 I'll
  approve, and then it will automatically forward any @replies to you via
 a
  DM.  Your account has to be public as it uses Twitter Search to retrieve
 the
  tweets.  Simple, requires no authentication info, unfollow at anytime to
  turn off the service.

 That's how I started, but then I realized that people I have blocked
 would be sent, and I have a (very) few followers whose updates are
 protected, and I wouldn't see there.

 Of course as soon as I finished this, I realized that what would be
 *better* for my use would actually be email notification of
 'mentions', so that's what I'm working on now. The nice thing is that
 you're not bound to 140 characters in email, so I can also include
 what the message was in_reply_to (I have a few followers who @reply
 HOURS later and I often have no idea what they are referring to), and
 hopefully even a link to @reply back to them, including a proper
 in_reply_to also.



  I remembered trying to do it back in the Track days, but tracking @derek
  failed miserably as it dropped the @ and I instantly got swamped with
 tweets
  mentioning derek.

 Yeah, I'm thinking about using the search API for a roll my own
 track functionality too.

 TjL





[twitter-dev] Re: [OAuth] GET parameters

2009-05-12 Thread Josh Roesslein
Yeah it should include all GET parameters in the signature calculations.
Otherwise a man in the middle could modify the query and access the
protected data they want.

On Tue, May 12, 2009 at 12:55 PM, Dmitriy Vyukov dvyu...@gmail.com wrote:


 Hi!

 I do following request:

 http://twitter.com/statuses/friends_timeline.xml?since_id=1773396714count=20

 When I include GET parameters (since_id, count) into OAuth signature
 calculation I am getting HTTP 401 error. However when I do NOT include
 GET parameters into OAuth signature calculation request succeeds.

 So I guess, you are just excluding GET parameters from OAuth signature
 calculation on your side. AFAIS, this is against OAuth spec.

 Is there any plans for fixing this? As on option you may support both
 variants for some time to not break old clients instantly.
 Or I am just missing something?

 Thank you.

 --
 Best regards,
 Dmitriy V'jukov



[twitter-dev] Re: [OAuth] GET parameters

2009-05-12 Thread Matt Sanford


Hi there,

The parameters should be required for the OAuth signature. Can  
you please provide the request and response headers for an example?


Thanks;
 – Matt Sanford / @mzsanford
 Twitter Dev

On May 12, 2009, at 10:55 AM, Dmitriy Vyukov wrote:



Hi!

I do following request:
http://twitter.com/statuses/friends_timeline.xml?since_id=1773396714count=20

When I include GET parameters (since_id, count) into OAuth signature
calculation I am getting HTTP 401 error. However when I do NOT include
GET parameters into OAuth signature calculation request succeeds.

So I guess, you are just excluding GET parameters from OAuth signature
calculation on your side. AFAIS, this is against OAuth spec.

Is there any plans for fixing this? As on option you may support both
variants for some time to not break old clients instantly.
Or I am just missing something?

Thank you.

--
Best regards,
Dmitriy V'jukov




[twitter-dev] Bad Celebrity Search Results

2009-05-12 Thread rob

Hi,

I'm doing a project that deals specifically with P Diddy (twitter.com/
iamdiddy). When I do a search, no tweets newer than May 6th show up.
However, looking at his timeline, more recent tweets exist. This isn't
a problem with my tweets (twitter.com/robseward). Also, it appears
search is not returning accurate results for other celebrities online.
Does anyone know what's going on here? Is the problem isolated to
users with a high number of followers or is it something non celebrity-
related. Some examples below:


P Diddy:
http://search.twitter.com/search?q=from%3Aiamdiddy
http://twitter.com/iamdiddy

Ashton Kutcher:
http://search.twitter.com/search?q=from%3Aaplusk
http://twitter.com/aplusk

Shaq:
http://search.twitter.com/search?q=from=THE_REAL_SHAQ
twitter.com/THE_REAL_SHAQ


Me (not a celebrity. Accurate search results).
http://search.twitter.com/search?q=+from%3Arobseward
twitter.com/robseward



Rob


[twitter-dev] Re: Can't Follow Any more users?

2009-05-12 Thread Doug Williams
I clear out the whitelist queue daily (save weekends and the occasional
day). If you have not heard back then please contact us directly [1] because
it means there was a problem with our mailer.

Also, please take the time to read the copy above the form you filled out to
request whitelisting [2]. It contains the answer to your question.

1. http://apiwiki.twitter.com/Support
2. http://twitter.com/help/request_whitelisting

Thanks,
Doug
--

Doug Williams
Twitter Platform Support
http://twitter.com/dougw




On Tue, May 12, 2009 at 7:23 AM, Peter Denton petermden...@gmail.comwrote:

 my experience was that, even after whitelisting, until I had 1,800
 followers, I could not follow more than 2,000


 On Tue, May 12, 2009 at 6:55 AM, m1keb mbuk...@gmail.com wrote:


 Ok, thanks.  It's been a couple of days but i'll give it a few more.

 On May 12, 9:21 am, Abraham Williams 4bra...@gmail.com wrote:
  You can wait. @dougw clears out the whitelisting queue regularly. Or you
 can
  try to get more followers. That will increase the number you can follow.
 
  On Tue, May 12, 2009 at 07:42, m1keb mbuk...@gmail.com wrote:
 
   We at @plodt cannot follow any more users and our users are wondering
   what's going on :)  Applied for a whitelist exception but haven't
   heard back.  How should we proceed?
 
   thank you!
 
  --
  Abraham Williams |http://the.hackerconundrum.com
  Hacker |http://abrah.am|http://twitter.com/abraham
  Web608 | Community Evangelist |http://web608.org
  This email is: [ ] blogable [x] ask first [ ] private.
  Sent from Madison, WI, United States




 --
 Peter M. Denton
 www.twibs.com
 i...@twibs.com

 Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c





[twitter-dev] statuses user_timeline only returning profile info

2009-05-12 Thread dumbledad

Hi Folks,

I'm having trouble getting statuses/user_timeline to return anything
other than profile info (I want to retrieve tweets, both from 'my'
user and from one of their friends). Is that evidence I'm getting the
auth stuff wrong? It should be possible to return tweets from this
method call, right?

Cheers,

Tim.


[twitter-dev] Re: Getting id for last status

2009-05-12 Thread Yazmin

Sadly I need more clarification...and possibly a code example.

Using PHP, I know that I can successfully get a feed of a user's
latest statuses using this code:

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, $this-Username:$this-
Password);
$xml = curl_exec($ch);

$data = simplexml_load_string($xml);

However, when I send an update, the same code, with the addition of a
line for CURLOPT_POST, returns nothing for me:

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, $this-Username:$this-
Password);
curl_setopt($ch, CURLOPT_POST, 1);
$xml = curl_exec($ch);

$data = simplexml_load_string($xml);

I must be missing something here, right? So what am I not doing right?

Thanks!


On May 9, 3:57 pm, Chad Etzel jazzyc...@gmail.com wrote:
 When you post a newstatusupdate, the return value/information should
 contain the newidof the update.
 -Chad



[twitter-dev] Re: Getting id for last status

2009-05-12 Thread Peter Denton
Hello,
This does not directly answer your question, but I think it will help you
with many things. I would suggest using the class twitterPHP (
http://twitter.slawcup.com/twitter.class.phps) and execute cURL through the
class, that way you wont have many cURL calls. Just a suggestion.

On Tue, May 12, 2009 at 12:05 PM, Yazmin ywick...@gmail.com wrote:


 Sadly I need more clarification...and possibly a code example.

 Using PHP, I know that I can successfully get a feed of a user's
 latest statuses using this code:

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, $this-Username:$this-
 Password);
$xml = curl_exec($ch);

$data = simplexml_load_string($xml);

 However, when I send an update, the same code, with the addition of a
 line for CURLOPT_POST, returns nothing for me:

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, $this-Username:$this-
 Password);
curl_setopt($ch, CURLOPT_POST, 1);
$xml = curl_exec($ch);

$data = simplexml_load_string($xml);

 I must be missing something here, right? So what am I not doing right?

 Thanks!


 On May 9, 3:57 pm, Chad Etzel jazzyc...@gmail.com wrote:
  When you post a newstatusupdate, the return value/information should
  contain the newidof the update.
  -Chad
 




-- 
Peter M. Denton
www.twibs.com
i...@twibs.com

Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c


[twitter-dev] Sometimes Old Search Results

2009-05-12 Thread jgillman

I am using the following search query in my app but 9/10 times it
returns results that are 40+ minutes old.  Every once and a while it
will return results up to the second.  I am only making the request
once a minute (via a cron job) and double checking that the next tweet
I'm about to display has a time-stamp greater than the one I'm about
to post.  But this throws the whole thing out of whack when my first
request pulls tweets from 20-30 seconds ago and then the next one
pulls requests 20-30 MINTUES ago.

I'm absolutely beside myself as to why this is happening as I get the
same results (sometimes old, sometimes new) when I do the request in
my browser and just look at the returned xml.

Here is the query I'm using:
http://search.twitter.com/search.atom?ors=relax+swim+summer+vacation+concert+drink+refreshinglang=encount=45

I've also tried using rpp=45 and since_id=last_ID_pulled but neither
have produced results that are any more consistent.

-Joel


[twitter-dev] Re: Sometimes Old Search Results

2009-05-12 Thread Matt Sanford


Hi there,

This is a server side problem we're working on. Some of the  
servers are lagging and we're trying to fix it as fast as we can.


Thanks;
 – Matt Sanford / @mzsanford
 Twitter Dev

On May 12, 2009, at 12:41 PM, jgillman wrote:



I am using the following search query in my app but 9/10 times it
returns results that are 40+ minutes old.  Every once and a while it
will return results up to the second.  I am only making the request
once a minute (via a cron job) and double checking that the next tweet
I'm about to display has a time-stamp greater than the one I'm about
to post.  But this throws the whole thing out of whack when my first
request pulls tweets from 20-30 seconds ago and then the next one
pulls requests 20-30 MINTUES ago.

I'm absolutely beside myself as to why this is happening as I get the
same results (sometimes old, sometimes new) when I do the request in
my browser and just look at the returned xml.

Here is the query I'm using:
http://search.twitter.com/search.atom?ors=relax+swim+summer+vacation+concert+drink+refreshinglang=encount=45

I've also tried using rpp=45 and since_id=last_ID_pulled but neither
have produced results that are any more consistent.

-Joel




[twitter-dev] Re: Getting id for last status

2009-05-12 Thread Abraham Williams
What do you get if you add:

var_dump($data);

On Tue, May 12, 2009 at 14:05, Yazmin ywick...@gmail.com wrote:


 Sadly I need more clarification...and possibly a code example.

 Using PHP, I know that I can successfully get a feed of a user's
 latest statuses using this code:

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, $this-Username:$this-
 Password);
$xml = curl_exec($ch);

$data = simplexml_load_string($xml);

 However, when I send an update, the same code, with the addition of a
 line for CURLOPT_POST, returns nothing for me:

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, $this-Username:$this-
 Password);
curl_setopt($ch, CURLOPT_POST, 1);
$xml = curl_exec($ch);

$data = simplexml_load_string($xml);

 I must be missing something here, right? So what am I not doing right?

 Thanks!


 On May 9, 3:57 pm, Chad Etzel jazzyc...@gmail.com wrote:
  When you post a newstatusupdate, the return value/information should
  contain the newidof the update.
  -Chad
 




-- 
Abraham Williams | http://the.hackerconundrum.com
Hacker | http://abrah.am | http://twitter.com/abraham
Web608 | Community Evangelist | http://web608.org
This email is: [ ] blogable [x] ask first [ ] private.
Sent from Madison, Wisconsin, United States


[twitter-dev] Re: Getting id for last status

2009-05-12 Thread Yazmin

A var_dump($data) produces:

bool(false)

If I add:

$Headers = curl_getinfo($ch);
var_dump($Headers);

A var_dump($Headers) produces:

array(19) {
  [url]=
  string(59) http://twitter.com/statuses/update.xml?status=testing
+1+2+3
  [http_code]=
  int(0)
  [header_size]=
  int(0)
  [request_size]=
  int(218)
  [filetime]=
  int(-1)
  [ssl_verify_result]=
  int(0)
  [redirect_count]=
  int(0)
  [total_time]=
  float(0.122609)
  [namelookup_time]=
  float(1.8E-5)
  [connect_time]=
  float(0.122528)
  [pretransfer_time]=
  float(0.122531)
  [size_upload]=
  float(0)
  [size_download]=
  float(0)
  [speed_download]=
  float(0)
  [speed_upload]=
  float(0)
  [download_content_length]=
  float(0)
  [upload_content_length]=
  float(-1)
  [starttransfer_time]=
  float(0.122605)
  [redirect_time]=
  float(0)



On May 12, 4:06 pm, Abraham Williams 4bra...@gmail.com wrote:
 What do you get if you add:

 var_dump($data);



 On Tue, May 12, 2009 at 14:05, Yazmin ywick...@gmail.com wrote:

  Sadly I need more clarification...and possibly a code example.

  Using PHP, I know that I can successfully get a feed of a user's
  latest statuses using this code:

                 $ch = curl_init();
                 curl_setopt($ch, CURLOPT_URL, $url);
                 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
                 curl_setopt($ch, CURLOPT_USERPWD, $this-Username:$this-
  Password);
                 $xml = curl_exec($ch);

                 $data = simplexml_load_string($xml);

  However, when I send an update, the same code, with the addition of a
  line for CURLOPT_POST, returns nothing for me:

                 $ch = curl_init();
                 curl_setopt($ch, CURLOPT_URL, $url);
                 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
                 curl_setopt($ch, CURLOPT_USERPWD, $this-Username:$this-
  Password);
                 curl_setopt($ch, CURLOPT_POST, 1);
                 $xml = curl_exec($ch);

                 $data = simplexml_load_string($xml);

  I must be missing something here, right? So what am I not doing right?

  Thanks!

  On May 9, 3:57 pm, Chad Etzel jazzyc...@gmail.com wrote:
   When you post a newstatusupdate, the return value/information should
   contain the newidof the update.
   -Chad

 --
 Abraham Williams |http://the.hackerconundrum.com
 Hacker |http://abrah.am|http://twitter.com/abraham
 Web608 | Community Evangelist |http://web608.org
 This email is: [ ] blogable [x] ask first [ ] private.
 Sent from Madison, Wisconsin, United States


[twitter-dev] Re: Getting id for last status

2009-05-12 Thread Abraham Williams
Can you verify that the update is actually getting posted to twitter.com and
var_dump(curl_getinfo($ch, CURLINFO_HTTP_CODE))


On Tue, May 12, 2009 at 15:19, Yazmin ywick...@gmail.com wrote:


 A var_dump($data) produces:

 bool(false)

 If I add:

$Headers = curl_getinfo($ch);
var_dump($Headers);

 A var_dump($Headers) produces:

 array(19) {
  [url]=
  string(59) http://twitter.com/statuses/update.xml?status=testing
 +1+2+3
  [http_code]=
  int(0)
  [header_size]=
  int(0)
  [request_size]=
  int(218)
  [filetime]=
  int(-1)
  [ssl_verify_result]=
  int(0)
  [redirect_count]=
  int(0)
  [total_time]=
  float(0.122609)
  [namelookup_time]=
  float(1.8E-5)
  [connect_time]=
  float(0.122528)
  [pretransfer_time]=
  float(0.122531)
  [size_upload]=
  float(0)
  [size_download]=
  float(0)
  [speed_download]=
  float(0)
  [speed_upload]=
  float(0)
  [download_content_length]=
  float(0)
  [upload_content_length]=
  float(-1)
  [starttransfer_time]=
  float(0.122605)
  [redirect_time]=
  float(0)



 On May 12, 4:06 pm, Abraham Williams 4bra...@gmail.com wrote:
  What do you get if you add:
 
  var_dump($data);
 
 
 
  On Tue, May 12, 2009 at 14:05, Yazmin ywick...@gmail.com wrote:
 
   Sadly I need more clarification...and possibly a code example.
 
   Using PHP, I know that I can successfully get a feed of a user's
   latest statuses using this code:
 
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($ch, CURLOPT_USERPWD,
 $this-Username:$this-
   Password);
  $xml = curl_exec($ch);
 
  $data = simplexml_load_string($xml);
 
   However, when I send an update, the same code, with the addition of a
   line for CURLOPT_POST, returns nothing for me:
 
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($ch, CURLOPT_USERPWD,
 $this-Username:$this-
   Password);
  curl_setopt($ch, CURLOPT_POST, 1);
  $xml = curl_exec($ch);
 
  $data = simplexml_load_string($xml);
 
   I must be missing something here, right? So what am I not doing right?
 
   Thanks!
 
   On May 9, 3:57 pm, Chad Etzel jazzyc...@gmail.com wrote:
When you post a newstatusupdate, the return value/information should
contain the newidof the update.
-Chad
 
  --
  Abraham Williams |http://the.hackerconundrum.com
  Hacker |http://abrah.am|http://twitter.com/abraham
  Web608 | Community Evangelist |http://web608.org
  This email is: [ ] blogable [x] ask first [ ] private.
  Sent from Madison, Wisconsin, United States




-- 
Abraham Williams | http://the.hackerconundrum.com
Hacker | http://abrah.am | http://twitter.com/abraham
Web608 | Community Evangelist | http://web608.org
This email is: [ ] blogable [x] ask first [ ] private.
Sent from Madison, Wisconsin, United States


[twitter-dev] Re: Getting id for last status

2009-05-12 Thread Yazmin

That returned:

int(0)

I also checked the Twitter account and I see the new status updated.


On May 12, 4:35 pm, Abraham Williams 4bra...@gmail.com wrote:
 Can you verify that the update is actually getting posted to twitter.com and
 var_dump(curl_getinfo($ch, CURLINFO_HTTP_CODE))



 On Tue, May 12, 2009 at 15:19, Yazmin ywick...@gmail.com wrote:

  A var_dump($data) produces:

  bool(false)

  If I add:

         $Headers = curl_getinfo($ch);
         var_dump($Headers);

  A var_dump($Headers) produces:

  array(19) {
   [url]=
   string(59) http://twitter.com/statuses/update.xml?status=testing
  +1+2+3
   [http_code]=
   int(0)
   [header_size]=
   int(0)
   [request_size]=
   int(218)
   [filetime]=
   int(-1)
   [ssl_verify_result]=
   int(0)
   [redirect_count]=
   int(0)
   [total_time]=
   float(0.122609)
   [namelookup_time]=
   float(1.8E-5)
   [connect_time]=
   float(0.122528)
   [pretransfer_time]=
   float(0.122531)
   [size_upload]=
   float(0)
   [size_download]=
   float(0)
   [speed_download]=
   float(0)
   [speed_upload]=
   float(0)
   [download_content_length]=
   float(0)
   [upload_content_length]=
   float(-1)
   [starttransfer_time]=
   float(0.122605)
   [redirect_time]=
   float(0)

  On May 12, 4:06 pm, Abraham Williams 4bra...@gmail.com wrote:
   What do you get if you add:

   var_dump($data);

   On Tue, May 12, 2009 at 14:05, Yazmin ywick...@gmail.com wrote:

Sadly I need more clarification...and possibly a code example.

Using PHP, I know that I can successfully get a feed of a user's
latest statuses using this code:

               $ch = curl_init();
               curl_setopt($ch, CURLOPT_URL, $url);
               curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
               curl_setopt($ch, CURLOPT_USERPWD,
  $this-Username:$this-
Password);
               $xml = curl_exec($ch);

               $data = simplexml_load_string($xml);

However, when I send an update, the same code, with the addition of a
line for CURLOPT_POST, returns nothing for me:

               $ch = curl_init();
               curl_setopt($ch, CURLOPT_URL, $url);
               curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
               curl_setopt($ch, CURLOPT_USERPWD,
  $this-Username:$this-
Password);
               curl_setopt($ch, CURLOPT_POST, 1);
               $xml = curl_exec($ch);

               $data = simplexml_load_string($xml);

I must be missing something here, right? So what am I not doing right?

Thanks!

On May 9, 3:57 pm, Chad Etzel jazzyc...@gmail.com wrote:
 When you post a newstatusupdate, the return value/information should
 contain the newidof the update.
 -Chad

   --
   Abraham Williams |http://the.hackerconundrum.com
   Hacker |http://abrah.am|http://twitter.com/abraham
   Web608 | Community Evangelist |http://web608.org
   This email is: [ ] blogable [x] ask first [ ] private.
   Sent from Madison, Wisconsin, United States

 --
 Abraham Williams |http://the.hackerconundrum.com
 Hacker |http://abrah.am|http://twitter.com/abraham
 Web608 | Community Evangelist |http://web608.org
 This email is: [ ] blogable [x] ask first [ ] private.
 Sent from Madison, Wisconsin, United States


[twitter-dev] Re: Sometimes Old Search Results

2009-05-12 Thread jgillman

Thanks Matt!

I wasn't sure if I was just going crazy from looking at code all day
or not.


[twitter-dev] Re: Getting id for last status

2009-05-12 Thread Abraham Williams
Well this leads me to believe that the var_dumps are somehow getting called
on a curl request other then the one posting the status update.
CURLINFO_HTTP_CODE should only return int(200) when an update is successful.


On Tue, May 12, 2009 at 15:49, Yazmin ywick...@gmail.com wrote:


 That returned:

 int(0)

 I also checked the Twitter account and I see the new status updated.


 On May 12, 4:35 pm, Abraham Williams 4bra...@gmail.com wrote:
  Can you verify that the update is actually getting posted to twitter.comand
  var_dump(curl_getinfo($ch, CURLINFO_HTTP_CODE))
 
 
 
  On Tue, May 12, 2009 at 15:19, Yazmin ywick...@gmail.com wrote:
 
   A var_dump($data) produces:
 
   bool(false)
 
   If I add:
 
  $Headers = curl_getinfo($ch);
  var_dump($Headers);
 
   A var_dump($Headers) produces:
 
   array(19) {
[url]=
string(59) http://twitter.com/statuses/update.xml?status=testing
   +1+2+3
[http_code]=
int(0)
[header_size]=
int(0)
[request_size]=
int(218)
[filetime]=
int(-1)
[ssl_verify_result]=
int(0)
[redirect_count]=
int(0)
[total_time]=
float(0.122609)
[namelookup_time]=
float(1.8E-5)
[connect_time]=
float(0.122528)
[pretransfer_time]=
float(0.122531)
[size_upload]=
float(0)
[size_download]=
float(0)
[speed_download]=
float(0)
[speed_upload]=
float(0)
[download_content_length]=
float(0)
[upload_content_length]=
float(-1)
[starttransfer_time]=
float(0.122605)
[redirect_time]=
float(0)
 
   On May 12, 4:06 pm, Abraham Williams 4bra...@gmail.com wrote:
What do you get if you add:
 
var_dump($data);
 
On Tue, May 12, 2009 at 14:05, Yazmin ywick...@gmail.com wrote:
 
 Sadly I need more clarification...and possibly a code example.
 
 Using PHP, I know that I can successfully get a feed of a user's
 latest statuses using this code:
 
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD,
   $this-Username:$this-
 Password);
$xml = curl_exec($ch);
 
$data = simplexml_load_string($xml);
 
 However, when I send an update, the same code, with the addition of
 a
 line for CURLOPT_POST, returns nothing for me:
 
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD,
   $this-Username:$this-
 Password);
curl_setopt($ch, CURLOPT_POST, 1);
$xml = curl_exec($ch);
 
$data = simplexml_load_string($xml);
 
 I must be missing something here, right? So what am I not doing
 right?
 
 Thanks!
 
 On May 9, 3:57 pm, Chad Etzel jazzyc...@gmail.com wrote:
  When you post a newstatusupdate, the return value/information
 should
  contain the newidof the update.
  -Chad
 
--
Abraham Williams |http://the.hackerconundrum.com
Hacker |http://abrah.am|http://twitter.com/abraham
Web608 | Community Evangelist |http://web608.org
This email is: [ ] blogable [x] ask first [ ] private.
Sent from Madison, Wisconsin, United States
 
  --
  Abraham Williams |http://the.hackerconundrum.com
  Hacker |http://abrah.am|http://twitter.com/abraham
  Web608 | Community Evangelist |http://web608.org
  This email is: [ ] blogable [x] ask first [ ] private.
  Sent from Madison, Wisconsin, United States




-- 
Abraham Williams | http://the.hackerconundrum.com
Hacker | http://abrah.am | http://twitter.com/abraham
Web608 | Community Evangelist | http://web608.org
This email is: [ ] blogable [x] ask first [ ] private.
Sent from Madison, Wisconsin, United States


[twitter-dev] Re: Getting id for last status

2009-05-12 Thread Yazmin

Thank you. I'm not even sure what to do with that. I'm looking at this
class and there are no other curl requests getting executed but the
ones I posted. (Obviously that must not be the case since we *know*
that a successful updated returns 200, but right now I'm just not
seeing it where this class would be going to execute another curl
command.)

I'm going to take a break and see what I can see when I next pick this
up.

On May 12, 5:36 pm, Abraham Williams 4bra...@gmail.com wrote:
 Well this leads me to believe that the var_dumps are somehow getting called
 on a curl request other then the one posting the status update.
 CURLINFO_HTTP_CODE should only return int(200) when an update is successful.



 On Tue, May 12, 2009 at 15:49, Yazmin ywick...@gmail.com wrote:

  That returned:

  int(0)

  I also checked the Twitter account and I see the new status updated.

  On May 12, 4:35 pm, Abraham Williams 4bra...@gmail.com wrote:
   Can you verify that the update is actually getting posted to 
   twitter.comand
   var_dump(curl_getinfo($ch, CURLINFO_HTTP_CODE))

   On Tue, May 12, 2009 at 15:19, Yazmin ywick...@gmail.com wrote:

A var_dump($data) produces:

bool(false)

If I add:

       $Headers = curl_getinfo($ch);
       var_dump($Headers);

A var_dump($Headers) produces:

array(19) {
 [url]=
 string(59) http://twitter.com/statuses/update.xml?status=testing
+1+2+3
 [http_code]=
 int(0)
 [header_size]=
 int(0)
 [request_size]=
 int(218)
 [filetime]=
 int(-1)
 [ssl_verify_result]=
 int(0)
 [redirect_count]=
 int(0)
 [total_time]=
 float(0.122609)
 [namelookup_time]=
 float(1.8E-5)
 [connect_time]=
 float(0.122528)
 [pretransfer_time]=
 float(0.122531)
 [size_upload]=
 float(0)
 [size_download]=
 float(0)
 [speed_download]=
 float(0)
 [speed_upload]=
 float(0)
 [download_content_length]=
 float(0)
 [upload_content_length]=
 float(-1)
 [starttransfer_time]=
 float(0.122605)
 [redirect_time]=
 float(0)

On May 12, 4:06 pm, Abraham Williams 4bra...@gmail.com wrote:
 What do you get if you add:

 var_dump($data);

 On Tue, May 12, 2009 at 14:05, Yazmin ywick...@gmail.com wrote:

  Sadly I need more clarification...and possibly a code example.

  Using PHP, I know that I can successfully get a feed of a user's
  latest statuses using this code:

                 $ch = curl_init();
                 curl_setopt($ch, CURLOPT_URL, $url);
                 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
                 curl_setopt($ch, CURLOPT_USERPWD,
$this-Username:$this-
  Password);
                 $xml = curl_exec($ch);

                 $data = simplexml_load_string($xml);

  However, when I send an update, the same code, with the addition of
  a
  line for CURLOPT_POST, returns nothing for me:

                 $ch = curl_init();
                 curl_setopt($ch, CURLOPT_URL, $url);
                 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
                 curl_setopt($ch, CURLOPT_USERPWD,
$this-Username:$this-
  Password);
                 curl_setopt($ch, CURLOPT_POST, 1);
                 $xml = curl_exec($ch);

                 $data = simplexml_load_string($xml);

  I must be missing something here, right? So what am I not doing
  right?

  Thanks!

  On May 9, 3:57 pm, Chad Etzel jazzyc...@gmail.com wrote:
   When you post a newstatusupdate, the return value/information
  should
   contain the newidof the update.
   -Chad

 --
 Abraham Williams |http://the.hackerconundrum.com
 Hacker |http://abrah.am|http://twitter.com/abraham
 Web608 | Community Evangelist |http://web608.org
 This email is: [ ] blogable [x] ask first [ ] private.
 Sent from Madison, Wisconsin, United States

   --
   Abraham Williams |http://the.hackerconundrum.com
   Hacker |http://abrah.am|http://twitter.com/abraham
   Web608 | Community Evangelist |http://web608.org
   This email is: [ ] blogable [x] ask first [ ] private.
   Sent from Madison, Wisconsin, United States

 --
 Abraham Williams |http://the.hackerconundrum.com
 Hacker |http://abrah.am|http://twitter.com/abraham
 Web608 | Community Evangelist |http://web608.org
 This email is: [ ] blogable [x] ask first [ ] private.
 Sent from Madison, Wisconsin, United States


[twitter-dev] Re: Getting id for last status

2009-05-12 Thread Abraham Williams
I just have to double check this but are you absolutely certain the status
is getting posted? If you are posting with the same text as the previous
status it gets discarded. Double check the timestamp of the last post.
Sorry. Had to ask the is it plugged in question.

On Tue, May 12, 2009 at 17:01, Yazmin ywick...@gmail.com wrote:


 Thank you. I'm not even sure what to do with that. I'm looking at this
 class and there are no other curl requests getting executed but the
 ones I posted. (Obviously that must not be the case since we *know*
 that a successful updated returns 200, but right now I'm just not
 seeing it where this class would be going to execute another curl
 command.)

 I'm going to take a break and see what I can see when I next pick this
 up.

 On May 12, 5:36 pm, Abraham Williams 4bra...@gmail.com wrote:
  Well this leads me to believe that the var_dumps are somehow getting
 called
  on a curl request other then the one posting the status update.
  CURLINFO_HTTP_CODE should only return int(200) when an update is
 successful.
 
 
 
  On Tue, May 12, 2009 at 15:49, Yazmin ywick...@gmail.com wrote:
 
   That returned:
 
   int(0)
 
   I also checked the Twitter account and I see the new status updated.
 
   On May 12, 4:35 pm, Abraham Williams 4bra...@gmail.com wrote:
Can you verify that the update is actually getting posted to
 twitter.comand
var_dump(curl_getinfo($ch, CURLINFO_HTTP_CODE))
 
On Tue, May 12, 2009 at 15:19, Yazmin ywick...@gmail.com wrote:
 
 A var_dump($data) produces:
 
 bool(false)
 
 If I add:
 
$Headers = curl_getinfo($ch);
var_dump($Headers);
 
 A var_dump($Headers) produces:
 
 array(19) {
  [url]=
  string(59) http://twitter.com/statuses/update.xml?status=testing
 +1+2+3
  [http_code]=
  int(0)
  [header_size]=
  int(0)
  [request_size]=
  int(218)
  [filetime]=
  int(-1)
  [ssl_verify_result]=
  int(0)
  [redirect_count]=
  int(0)
  [total_time]=
  float(0.122609)
  [namelookup_time]=
  float(1.8E-5)
  [connect_time]=
  float(0.122528)
  [pretransfer_time]=
  float(0.122531)
  [size_upload]=
  float(0)
  [size_download]=
  float(0)
  [speed_download]=
  float(0)
  [speed_upload]=
  float(0)
  [download_content_length]=
  float(0)
  [upload_content_length]=
  float(-1)
  [starttransfer_time]=
  float(0.122605)
  [redirect_time]=
  float(0)
 
 On May 12, 4:06 pm, Abraham Williams 4bra...@gmail.com wrote:
  What do you get if you add:
 
  var_dump($data);
 
  On Tue, May 12, 2009 at 14:05, Yazmin ywick...@gmail.com
 wrote:
 
   Sadly I need more clarification...and possibly a code example.
 
   Using PHP, I know that I can successfully get a feed of a
 user's
   latest statuses using this code:
 
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($ch, CURLOPT_USERPWD,
 $this-Username:$this-
   Password);
  $xml = curl_exec($ch);
 
  $data = simplexml_load_string($xml);
 
   However, when I send an update, the same code, with the
 addition of
   a
   line for CURLOPT_POST, returns nothing for me:
 
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($ch, CURLOPT_USERPWD,
 $this-Username:$this-
   Password);
  curl_setopt($ch, CURLOPT_POST, 1);
  $xml = curl_exec($ch);
 
  $data = simplexml_load_string($xml);
 
   I must be missing something here, right? So what am I not doing
   right?
 
   Thanks!
 
   On May 9, 3:57 pm, Chad Etzel jazzyc...@gmail.com wrote:
When you post a newstatusupdate, the return value/information
   should
contain the newidof the update.
-Chad
 
  --
  Abraham Williams |http://the.hackerconundrum.com
  Hacker |http://abrah.am|http://twitter.com/abraham
  Web608 | Community Evangelist |http://web608.org
  This email is: [ ] blogable [x] ask first [ ] private.
  Sent from Madison, Wisconsin, United States
 
--
Abraham Williams |http://the.hackerconundrum.com
Hacker |http://abrah.am|http://twitter.com/abraham
Web608 | Community Evangelist |http://web608.org
This email is: [ ] blogable [x] ask first [ ] private.
Sent from Madison, Wisconsin, United States
 
  --
  Abraham Williams |http://the.hackerconundrum.com
  Hacker |http://abrah.am|http://twitter.com/abraham
  Web608 | Community Evangelist |http://web608.org
  This email is: [ ] blogable [x] ask first [ ] private.
  Sent from Madison, Wisconsin, United States





[twitter-dev] Planned site maintenance May 13, 2009 at Noon Pacific

2009-05-12 Thread Doug Williams
The maintenance originally scheduled for Monday May 11 has been rescheduled
for Wednesday, May 13, at Noon Pacific. Follow the status blog for details:

http://status.twitter.com/post/106892554/planned-maintenance-on-wednesday-noon-pacific

Thanks,
Doug
--

Doug Williams
Twitter Platform Support
http://twitter.com/dougw


[twitter-dev] Source request - no wait, listen...

2009-05-12 Thread Chad Etzel

I know this may be goofy, but I think it would be awesome...

You (twitter) should make a rule that when @Astro_Mike posts, it should say:

xx minutes ago from SPACE!

zomg that would rock.

-Chad


[twitter-dev] Re: Regex for @replies

2009-05-12 Thread moz

ericdoesdot...@gmail.com wrote:

Such a regular expression is used in the Twitter client that I am 
related to development. This regular expression. It is the one of .NET 
Framework2.0 and VisualBasic.NET2005.

Dim id As New Regex(@[a-zA-Z0-9_]+)


[twitter-dev] Re: Regex for @replies

2009-05-12 Thread Doug Williams
Harry,
There is nothing on the product roadmap that would lead to me believe any of
the findings here will change.

Thanks,
Doug
--

Doug Williams
Twitter Platform Support
http://twitter.com/dougw




On Tue, May 12, 2009 at 4:33 AM, hjb ha...@heatonmoor.com wrote:



 @Doug,

 Is this behavour likely to remain? ( I noticed that @replies and -
 @replies are successful )

 That is to say, I'm sure @replies will work at some point via sms, but
 can we rely on the fact that _...@replies do not? Is this related to
 there being any chance of it being an email address?

 Thanks,

 Harry

 On May 11, 6:26 pm, Doug Williams d...@twitter.com wrote:
  In my test posts @dougw and @DOUGW worked as mentions. t...@dougw and
  _...@dougw were not included  as mentions.
 
  Thanks,
  Doug
  --
 
  Doug Williams
  Twitter Platform Supporthttp://twitter.com/dougw
 
  On Mon, May 11, 2009 at 10:16 AM, CaMason stasisme...@googlemail.com
 wrote:
 
 
 
   Thanks Doug, that's a great help.
 
   How about preceding?
 
   i.e. should t...@dougw, _...@dougw or @dougw create mentions? The
   main concern here obviously is email addresses.
 
   And finally, are screen names case sensitive? :)
 
   Cheers
 
   On May 11, 6:07 pm, Doug Williams d...@twitter.com wrote:
The classic definition of an @reply is any tweet that starts with
 @user.
   If
you perfrom a to:user (e.g. to:dougw) query at search.twitter.comyou
   will
only get @replies. @replies were converted to mentions after we
 realized
people didn't just @reply. Mentions are any tweet that contain @user
   within
the text of the tweet.
 
So @replies are a subset of mentions.
 
Any non-alphanumeric (where alphanumeric is a-z, 0-9, or _) can
 terminate
the username. For instance: hi @dougw, you look dapper today is a
   mention.
 
Thanks,
Doug
--
 
Doug Williams
Twitter Platform Supporthttp://twitter.com/dougw
 
On Mon, May 11, 2009 at 2:36 AM, stasisme...@googlemail.com 
 
stasisme...@googlemail.com wrote:
 
 Hi guys,
 
 For an application I'm working on, we have a single table for
 'tweets'
 and another for DMs. We're linking TwitterUsers to Tweets with a
 many:many, and a simple flag to specify if the tweet is a reply/
 mention.
 
 We first pull in messages from the user_timeline feed, then the
 mentions feed. As such, we'd like to check if any of the messages
 in
 user_timeline feed is actually a reply.
 
 Could anybody clarify the exact rules that are used to determine
 whether a string is a reply/mention?
 
 i.e.
 preceded by start-of-string or non-word character...
 followed by space, comma, period or end of message...
 case insensitive...
 [not even sure if these are correct! :) ]
 
 Currently I'm using:
 
 /(?![^\W_])@%s(?![^\W_])/i
 
 with %s replaced by the user's screen name. Perhaps one of the devs
 could share the exact rules (or even the regex), or propose a nicer
 mechanism for detecting replies.
 
 (I did propose checking for replies before tweets, but these update
 threads are run asynchronously).
 
 Cheers
 
 



[twitter-dev] Re: Source request - no wait, listen...

2009-05-12 Thread Doug Williams
Wait, no really...

I have a NASA contact that worked with us to make tweets flow from space.
I'll ping him and see if we can get a source parameter patched into the
update logic.

Yay geeks!

Thanks,
Doug
--

Doug Williams
Twitter Platform Support
http://twitter.com/dougw



On Tue, May 12, 2009 at 3:52 PM, Chad Etzel jazzyc...@gmail.com wrote:


 I know this may be goofy, but I think it would be awesome...

 You (twitter) should make a rule that when @Astro_Mike posts, it should
 say:

 xx minutes ago from SPACE!

 zomg that would rock.

 -Chad



[twitter-dev] About the phenomenon of change line of no intention when it contributes entering

2009-05-12 Thread moz

Because the following phenomenon was discovered, it reports.

When the URI shortening conversion is done by the server side of Twitter
when contributing, changing line that the contributor doesn't intend
might enter it.

Concretely, changing line enters between sentences continuously written
half angle space when writing putting half angle space just behind URI
and continuing sentences. This phenomenon was confirmed in both the
contribution with API and the contribution from the Web interface.

This phenomenon is expected to be corrected.



[twitter-dev] Re: About the phenomenon of change line of no intention when it contributes entering

2009-05-12 Thread Nick Arnett
2009/5/12 moz syo...@gmail.com


 Because the following phenomenon was discovered, it reports.


Because the preceding syntax was observed to be stilted, it is wondered if
human is reporting or AI.

Nick


[twitter-dev] Re: Getting id for last status

2009-05-12 Thread Yazmin

Oh no worries. I appreciate you asking regardless.

I did read about the status not getting posted if it was the same, so
while I was doing these tests, I would go back to the Twitter account
and delete the duplicate status, or change the value of the status
text that I was posting.

On May 12, 6:31 pm, Abraham Williams 4bra...@gmail.com wrote:
 I just have to double check this but are you absolutely certain the status
 is getting posted? If you are posting with the same text as the previous
 status it gets discarded. Double check the timestamp of the last post.
 Sorry. Had to ask the is it plugged in question.



 On Tue, May 12, 2009 at 17:01, Yazmin ywick...@gmail.com wrote:

  Thank you. I'm not even sure what to do with that. I'm looking at this
  class and there are no other curl requests getting executed but the
  ones I posted. (Obviously that must not be the case since we *know*
  that a successful updated returns 200, but right now I'm just not
  seeing it where this class would be going to execute another curl
  command.)

  I'm going to take a break and see what I can see when I next pick this
  up.

  On May 12, 5:36 pm, Abraham Williams 4bra...@gmail.com wrote:
   Well this leads me to believe that the var_dumps are somehow getting
  called
   on a curl request other then the one posting the status update.
   CURLINFO_HTTP_CODE should only return int(200) when an update is
  successful.

   On Tue, May 12, 2009 at 15:49, Yazmin ywick...@gmail.com wrote:

That returned:

int(0)

I also checked the Twitter account and I see the new status updated.

On May 12, 4:35 pm, Abraham Williams 4bra...@gmail.com wrote:
 Can you verify that the update is actually getting posted to
  twitter.comand
 var_dump(curl_getinfo($ch, CURLINFO_HTTP_CODE))

 On Tue, May 12, 2009 at 15:19, Yazmin ywick...@gmail.com wrote:

  A var_dump($data) produces:

  bool(false)

  If I add:

         $Headers = curl_getinfo($ch);
         var_dump($Headers);

  A var_dump($Headers) produces:

  array(19) {
   [url]=
   string(59) http://twitter.com/statuses/update.xml?status=testing
  +1+2+3
   [http_code]=
   int(0)
   [header_size]=
   int(0)
   [request_size]=
   int(218)
   [filetime]=
   int(-1)
   [ssl_verify_result]=
   int(0)
   [redirect_count]=
   int(0)
   [total_time]=
   float(0.122609)
   [namelookup_time]=
   float(1.8E-5)
   [connect_time]=
   float(0.122528)
   [pretransfer_time]=
   float(0.122531)
   [size_upload]=
   float(0)
   [size_download]=
   float(0)
   [speed_download]=
   float(0)
   [speed_upload]=
   float(0)
   [download_content_length]=
   float(0)
   [upload_content_length]=
   float(-1)
   [starttransfer_time]=
   float(0.122605)
   [redirect_time]=
   float(0)

  On May 12, 4:06 pm, Abraham Williams 4bra...@gmail.com wrote:
   What do you get if you add:

   var_dump($data);

   On Tue, May 12, 2009 at 14:05, Yazmin ywick...@gmail.com
  wrote:

Sadly I need more clarification...and possibly a code example.

Using PHP, I know that I can successfully get a feed of a
  user's
latest statuses using this code:

               $ch = curl_init();
               curl_setopt($ch, CURLOPT_URL, $url);
               curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
               curl_setopt($ch, CURLOPT_USERPWD,
  $this-Username:$this-
Password);
               $xml = curl_exec($ch);

               $data = simplexml_load_string($xml);

However, when I send an update, the same code, with the
  addition of
a
line for CURLOPT_POST, returns nothing for me:

               $ch = curl_init();
               curl_setopt($ch, CURLOPT_URL, $url);
               curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
               curl_setopt($ch, CURLOPT_USERPWD,
  $this-Username:$this-
Password);
               curl_setopt($ch, CURLOPT_POST, 1);
               $xml = curl_exec($ch);

               $data = simplexml_load_string($xml);

I must be missing something here, right? So what am I not doing
right?

Thanks!

On May 9, 3:57 pm, Chad Etzel jazzyc...@gmail.com wrote:
 When you post a newstatusupdate, the return value/information
should
 contain the newidof the update.
 -Chad

   --
   Abraham Williams |http://the.hackerconundrum.com
   Hacker |http://abrah.am|http://twitter.com/abraham
   Web608 | Community Evangelist |http://web608.org
   This email is: [ ] blogable [x] ask first [ ] private.
   Sent from Madison, Wisconsin, United States

 --
 Abraham Williams |http://the.hackerconundrum.com
 Hacker 

[twitter-dev] Re: About the phenomenon of change line of no intention when it contributes entering

2009-05-12 Thread Peter Denton
#nationalMushrooomDay ?

On Tue, May 12, 2009 at 4:34 PM, Nick Arnett nick.arn...@gmail.com wrote:



 2009/5/12 moz syo...@gmail.com


 Because the following phenomenon was discovered, it reports.


 Because the preceding syntax was observed to be stilted, it is wondered if
 human is reporting or AI.

 Nick




-- 
Peter M. Denton
www.twibs.com
i...@twibs.com

Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c


[twitter-dev] Re: Getting id for last status

2009-05-12 Thread Peter Denton
was that the problem? I ran a test with that script under a few different
accounts and it was working fine. Did you try posting from another server?

On Tue, May 12, 2009 at 4:38 PM, Yazmin ywick...@gmail.com wrote:


 Oh no worries. I appreciate you asking regardless.

 I did read about the status not getting posted if it was the same, so
 while I was doing these tests, I would go back to the Twitter account
 and delete the duplicate status, or change the value of the status
 text that I was posting.

 On May 12, 6:31 pm, Abraham Williams 4bra...@gmail.com wrote:
  I just have to double check this but are you absolutely certain the
 status
  is getting posted? If you are posting with the same text as the previous
  status it gets discarded. Double check the timestamp of the last post.
  Sorry. Had to ask the is it plugged in question.
 
 
 
  On Tue, May 12, 2009 at 17:01, Yazmin ywick...@gmail.com wrote:
 
   Thank you. I'm not even sure what to do with that. I'm looking at this
   class and there are no other curl requests getting executed but the
   ones I posted. (Obviously that must not be the case since we *know*
   that a successful updated returns 200, but right now I'm just not
   seeing it where this class would be going to execute another curl
   command.)
 
   I'm going to take a break and see what I can see when I next pick this
   up.
 
   On May 12, 5:36 pm, Abraham Williams 4bra...@gmail.com wrote:
Well this leads me to believe that the var_dumps are somehow getting
   called
on a curl request other then the one posting the status update.
CURLINFO_HTTP_CODE should only return int(200) when an update is
   successful.
 
On Tue, May 12, 2009 at 15:49, Yazmin ywick...@gmail.com wrote:
 
 That returned:
 
 int(0)
 
 I also checked the Twitter account and I see the new status
 updated.
 
 On May 12, 4:35 pm, Abraham Williams 4bra...@gmail.com wrote:
  Can you verify that the update is actually getting posted to
   twitter.comand
  var_dump(curl_getinfo($ch, CURLINFO_HTTP_CODE))
 
  On Tue, May 12, 2009 at 15:19, Yazmin ywick...@gmail.com
 wrote:
 
   A var_dump($data) produces:
 
   bool(false)
 
   If I add:
 
  $Headers = curl_getinfo($ch);
  var_dump($Headers);
 
   A var_dump($Headers) produces:
 
   array(19) {
[url]=
string(59) 
 http://twitter.com/statuses/update.xml?status=testing
   +1+2+3
[http_code]=
int(0)
[header_size]=
int(0)
[request_size]=
int(218)
[filetime]=
int(-1)
[ssl_verify_result]=
int(0)
[redirect_count]=
int(0)
[total_time]=
float(0.122609)
[namelookup_time]=
float(1.8E-5)
[connect_time]=
float(0.122528)
[pretransfer_time]=
float(0.122531)
[size_upload]=
float(0)
[size_download]=
float(0)
[speed_download]=
float(0)
[speed_upload]=
float(0)
[download_content_length]=
float(0)
[upload_content_length]=
float(-1)
[starttransfer_time]=
float(0.122605)
[redirect_time]=
float(0)
 
   On May 12, 4:06 pm, Abraham Williams 4bra...@gmail.com
 wrote:
What do you get if you add:
 
var_dump($data);
 
On Tue, May 12, 2009 at 14:05, Yazmin ywick...@gmail.com
   wrote:
 
 Sadly I need more clarification...and possibly a code
 example.
 
 Using PHP, I know that I can successfully get a feed of a
   user's
 latest statuses using this code:
 
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD,
   $this-Username:$this-
 Password);
$xml = curl_exec($ch);
 
$data = simplexml_load_string($xml);
 
 However, when I send an update, the same code, with the
   addition of
 a
 line for CURLOPT_POST, returns nothing for me:
 
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD,
   $this-Username:$this-
 Password);
curl_setopt($ch, CURLOPT_POST, 1);
$xml = curl_exec($ch);
 
$data = simplexml_load_string($xml);
 
 I must be missing something here, right? So what am I not
 doing
 right?
 
 Thanks!
 
 On May 9, 3:57 pm, Chad Etzel jazzyc...@gmail.com wrote:
  When you post a newstatusupdate, the return
 value/information
 should
  contain the newidof the update.
  -Chad
 
--
Abraham 

[twitter-dev] Re: all replies by friends

2009-05-12 Thread Doug Williams
This setting is set to be removed momentarily. Watch blog.twitter.com for
notes about the deprecation when the deploy happens.

You heard it here first.

Thanks,
Doug
--

Doug Williams
Twitter Platform Support
http://twitter.com/dougw


On Mon, May 11, 2009 at 3:06 PM, Doug Williams d...@twitter.com wrote:

 The default is: show me: @replies to the people that I'm following. The
 vast majority of our users keep this default. If this setting is indeed
 removed this is the behavior we will use.

 Note: I will update the thread when/if this setting is axed (even though
 it's not really an API decision) to close the loop.

 Thanks,
 Doug
 --

 Doug Williams
 Twitter Platform Support
 http://twitter.com/dougw


 Wait, did the default not used to be Show all @ replies (it is the
 first option in the dropdown box)?  Did that change? Personally, I
 like seeing all of them as it leads me to follow new and interesting
 people...

 If this goes away, is everyone going to be set to only show @replies
 to people I follow ?
 --
 Do you follow me? http://twitter.com/dougw




 On Mon, May 11, 2009 at 2:43 PM, voorwiel voorw...@gmail.com wrote:


 OK, thanks for the heads up.

 On May 11, 11:30 pm, Doug Williams d...@twitter.com wrote:
  We have had a debate internally (today) where we have all but decided to
  remove this setting in the near future. I would not create any
 application
  that relied on this. Almost all of our users leave it at the default
 (only
  show @replies to people I follow) so the cost of maintaining the setting
  does not translate to value in the product.
 
  Thanks,
  Doug
  --
 
  Doug Williams
  Twitter Platform Supporthttp://twitter.com/dougw
 
 
 
  On Mon, May 11, 2009 at 12:57 PM, voorwiel voorw...@gmail.com wrote:
 
   Thanks, I'm familiar with the setting.
 
   Somehow the setting does not have any effect with the account I'm
   testing with: not when logged in to twitter.com, and not when using
   statuses/friends_timeline. Chad's posting made me do some tests with
   two other accounts: there the setting works as it should.
 
   The only difference between the accounts I can think of is that the
   misbehaving account is the one I used when applying for a higher rate
   limit (20,000). Could there be a relation?
 
   thanks, Jack
 
   On May 11, 8:38 pm, Doug Williams d...@twitter.com wrote:
There is a setting to change this behavior:
 
   http://help.twitter.com/forums/23786/entries/14595
 
Thanks,
Doug
--
 
Doug Williams
Twitter Platform Supporthttp://twitter.com/dougw
 
On Mon, May 11, 2009 at 10:44 AM, Chad Etzel jazzyc...@gmail.com
   wrote:
 
 I'm confused now.  I just pulled my friends_timeline and it is
 definitely showing @replies from my friends to people I don't
 follow.
 i.e. I'm getting the firehose as it pertains to my
 friends_timeline are you saying you're not seeing the same
 thing?
 
 -Chad
 
 On Mon, May 11, 2009 at 1:36 PM, voorwiel voorw...@gmail.com
 wrote:
 
  On May 10, 12:00 am, Abraham Williams 4bra...@gmail.com
 wrote:
  I would think that statuses/friends_timeline [1] would not be
   effected
 by
  @-reply settings [2]. If it is your only option is to use the
 search
 method
  you mentioned. The down side of this is protected accounts are
 not
 included.
 
  Indeed it isn't affected by the setting. I wonder whether it is
 a
  policy decision not to include statuses directed at non-friends
 in
  statuses/friends_timeline. I'm actually hoping that it is not in
 the
  otherwise excellent documentation simply because someone forgot
 to
  include it :)
 
  greetings, Jack





[twitter-dev] Re: About the phenomenon of change line of no intention when it contributes entering

2009-05-12 Thread explicious

naw,
i *think* he's talking about mangled shortened URLs.
i had to make my thingy adapt to these, because I noticed stuff like

http://example.com/R5dEI want to show you this link
ie, something drops the newline and mashes the Url together. or
something like that. It's an easy cake fix on the shortened-url server
end of things. And I don't think it's a twitter thingy, it's probably
one of those link invader sites.


Waitman




On May 12, 4:39 pm, Peter Denton petermden...@gmail.com wrote:
 #nationalMushrooomDay ?

 On Tue, May 12, 2009 at 4:34 PM, Nick Arnett nick.arn...@gmail.com wrote:

  2009/5/12 moz syo...@gmail.com

  Because the following phenomenon was discovered, it reports.

  Because the preceding syntax was observed to be stilted, it is wondered if
  human is reporting or AI.

  Nick

 --
 Peter M. Dentonwww.twibs.com
 i...@twibs.com

 Twibs makes Top 20 apps on Twitter -http://tinyurl.com/bopu6c


[twitter-dev] Re: About the phenomenon of change line of no intention when it contributes entering

2009-05-12 Thread moz

Nick Arnett wrote:

I'm sorry. I get help of the translation software because it is not good 
at English.


[twitter-dev] Re: About the phenomenon of change line of no intention when it contributes entering

2009-05-12 Thread moz

explicious wrote:

Thank you. As a result, URL is not damaged when supplementing. However, 
I think that it is strange that newline enters without permission. 
Changing line of the problem can be confirmed by seeing the HTML source 
by displaying the status of the problem by Web browser.

sample post This doesn't contain newline:
test 
http://status.twitter.com/post/106892554/planned-maintenance-on-wednesday-noon-pacific
 

test

Expected results:
test http://bit.ly/Ixhea test


It actually becomes it so:
test http://bit.ly/Ixhea
test


[twitter-dev] Re: About the phenomenon of change line of no intention when it contributes entering

2009-05-12 Thread Nick Arnett

That's actually what I thought.  I hope you realize I meant it only as
humor, not criticism.

Nick

On 5/12/09, moz syo...@gmail.com wrote:

 Nick Arnett wrote:

 I'm sorry. I get help of the translation software because it is not good
 at English.



[twitter-dev] Re: About the phenomenon of change line of no intention when it contributes entering

2009-05-12 Thread Peter Denton
Yes, me as well. Just humor for the group from the translator service,
nothing personal to you!

On Tue, May 12, 2009 at 6:01 PM, Nick Arnett nick.arn...@gmail.com wrote:


 That's actually what I thought.  I hope you realize I meant it only as
 humor, not criticism.

 Nick

 On 5/12/09, moz syo...@gmail.com wrote:
 
  Nick Arnett wrote:
 
  I'm sorry. I get help of the translation software because it is not good
  at English.
 




-- 
Peter M. Denton
www.twibs.com
i...@twibs.com

Twibs makes Top 20 apps on Twitter - http://tinyurl.com/bopu6c


[twitter-dev] Re: Developing Group Management Add-On for TweetDeck

2009-05-12 Thread subbob

Joe - It does not provide any additional functionality in the sending
or receiving of Tweets.

For the purpose of explaining what I'm thinking of doing, assume you
have three groups: A, B  C

Group A: Your A-list, you always want to see what they say.

Group C: High volume, little value-added people you are following.
For the most part, they just add noise and lower your Signal to Noise
ratio.

Group B: Everyone else.

As it is designed now, when you are creating Groups, you chose from
the entire list of those you are following.  So there's no paring down
of the list as you create groups.

In the application I envision, each person you follow is assigned to
a group.  Once assigned, they are removed from the unassigned list.
This would make creating and managing groups much easier.

Also, right now if you ever close a column, your group configuration
is deleted - if you have a lot of contacts that would require quite a
bit of work to recreate. With this application, the group
configurations could be written out into a separate file, so you could
restore it easily.


On May 10, 3:01 pm, Joe Flesh flesh...@gmail.com wrote:
 Hi Bob

 What functionality would the group management tool provide? Would you be
 able to send tweets directly to a group, for example? Isn't that
 functionality already in tweetdeck? I'm confused.


[twitter-dev] New Public Streaming API Resource - Follow

2009-05-12 Thread John Kalucki

Note: The Streaming API is currently under a limited alpha test,
details below.

The /follow Streaming API resource is now publicly available. This
resource streams near-real-time public updates posted by an arbitrary
set of users. Streaming by user_id may be interesting to a variety of
developers who wish to provide a nearly instantaneous experience
without the drawbacks of continuous polling, polling rate limits, auto-
following and follow limits.

For example, a desktop client could simulate a user's /home timeline,
minus private updates and mentions, via the /follow resource.
Continuous polling would no longer be necessary or desired. Upon
receipt of a new streamed message, the REST API may be periodically
polled to back-fill mentions, private statuses and other updates not
available via the Streaming API.

This stream may also be interesting to service developers that follow
their subscribers solely to receive their replies or for data mining
purposes. Auto-following, following limit and rate limit hassles could
be exchanged for real-time streaming subscriber updates.

Currently this resource is limited to following 200 user_ids.
Developers requiring considerably more followings and/or back-filling
via the count parameter should consider applying for the restricted
/shadow resource.

Feedback is encouraged as we determine the ease-of-use, value, tuning
and operational viability of this resource. With any luck, streaming
might also be easier on the Twitter service. Our flock of orange whale-
hoisting birds are pretty tuckered out.


Important Alpha Test Note:
The Streaming API (aka Hosebird) is currently under an alpha test. All
developers using the Streaming API must tolerate possible unannounced
and extended periods of unavailability, especially during off-hours,
Pacific Time. New features, resources and policies are being deployed
on very little, if any, notice. Any developer may experiment with the
unrestricted resources and provide feedback via this list. Access to
restricted resources is extremely limited and is only granted on a
case-by-case basis after acceptance of an additional terms of service
document. Documentation is available: 
http://apiwiki.twitter.com/Streaming-API-Documentation.



[twitter-dev] Re: New Public Streaming API Resource - Follow

2009-05-12 Thread Chad Etzel

Hi John,

/follow looks very interesting.  Since you're asking for feedback

I'm copying the follow parameter example documentation:

Example: Create a file called 'follow' that contains, exactly and
excluding the quotation marks: follow=12 13 15 16 20 87. Execute:
curl -d @following http://stream.twitter.com/follow.json
-uAnyTwitterUser:Password.You will receive JSON updates from Jack Biz,
Crystal, Ev, Krissy, but not from Jeremy, as he's a private user.

I'm assuming that follow is just a POSTDATA variable in the normal
case (you're just using curl's file posting ability in the example)?

In the example, should the file be called following instead of
follow (since you are using -d @following in the curl line)?

Thanks,
-Chad

On Tue, May 12, 2009 at 11:24 PM, John Kalucki jkalu...@gmail.com wrote:

 Note: The Streaming API is currently under a limited alpha test,
 details below.

 The /follow Streaming API resource is now publicly available. This
 resource streams near-real-time public updates posted by an arbitrary
 set of users. Streaming by user_id may be interesting to a variety of
 developers who wish to provide a nearly instantaneous experience
 without the drawbacks of continuous polling, polling rate limits, auto-
 following and follow limits.

 For example, a desktop client could simulate a user's /home timeline,
 minus private updates and mentions, via the /follow resource.
 Continuous polling would no longer be necessary or desired. Upon
 receipt of a new streamed message, the REST API may be periodically
 polled to back-fill mentions, private statuses and other updates not
 available via the Streaming API.

 This stream may also be interesting to service developers that follow
 their subscribers solely to receive their replies or for data mining
 purposes. Auto-following, following limit and rate limit hassles could
 be exchanged for real-time streaming subscriber updates.

 Currently this resource is limited to following 200 user_ids.
 Developers requiring considerably more followings and/or back-filling
 via the count parameter should consider applying for the restricted
 /shadow resource.

 Feedback is encouraged as we determine the ease-of-use, value, tuning
 and operational viability of this resource. With any luck, streaming
 might also be easier on the Twitter service. Our flock of orange whale-
 hoisting birds are pretty tuckered out.


 Important Alpha Test Note:
 The Streaming API (aka Hosebird) is currently under an alpha test. All
 developers using the Streaming API must tolerate possible unannounced
 and extended periods of unavailability, especially during off-hours,
 Pacific Time. New features, resources and policies are being deployed
 on very little, if any, notice. Any developer may experiment with the
 unrestricted resources and provide feedback via this list. Access to
 restricted resources is extremely limited and is only granted on a
 case-by-case basis after acceptance of an additional terms of service
 document. Documentation is available: 
 http://apiwiki.twitter.com/Streaming-API-Documentation.




[twitter-dev] Help with API to reply to a tweet

2009-05-12 Thread Doug

Hi folks... Im hoping someone can help me.  I've read the docs and
have experimented with code a bit but am having trouble creating a
reply to a twitter post.  My code has the user name and the post #, I
just find myself guessing as to the format.

I know the user must be @user referenced in the message.  I know the
message id must be referenced via in_reply_to_status_id however
thats all the document on status updating says.

If I can post a tweet from code as such:
URL = http://twitter.com/statuses/update.xml;
Data = status=my text message here

Then how does a reply look like?  Is the URL the same?  Where and how
does in_reply_to_status_id appear in the data string?

thanks VERY much!
-d


[twitter-dev] Re: Help with API to reply to a tweet

2009-05-12 Thread Chad Etzel

URL = http://twitter.com/statuses/update.xml;
Data = in_reply_to_status_id=status=my text message here


On Tue, May 12, 2009 at 11:31 PM, Doug doug_d...@yahoo.com wrote:

 Hi folks... Im hoping someone can help me.  I've read the docs and
 have experimented with code a bit but am having trouble creating a
 reply to a twitter post.  My code has the user name and the post #, I
 just find myself guessing as to the format.

 I know the user must be @user referenced in the message.  I know the
 message id must be referenced via in_reply_to_status_id however
 thats all the document on status updating says.

 If I can post a tweet from code as such:
 URL = http://twitter.com/statuses/update.xml;
 Data = status=my text message here

 Then how does a reply look like?  Is the URL the same?  Where and how
 does in_reply_to_status_id appear in the data string?

 thanks VERY much!
 -d



[twitter-dev] Streaming API's XML format

2009-05-12 Thread Ianiv Schweber

Currently the spritzer stream looks like:

?xml version=1.0 encoding=UTF-8?
status  /status
\n
?xml version=1.0 encoding=UTF-8?
status  /status
\n
...

I'm wondering why it contains a stream of XML documents instead of
just one never ending document with the same format as the public
timeline:

?xml version=1.0 encoding=UTF-8?
statuses
status.../status
status.../status
status.../status
...

To me it seems like it would be a lot easier just passing a stream
like this to a parser. Instead, with the current stream of documents
one has to look out for new prologs, split the stream at that point,
parse that doc, reset the parser and continue. Not an insurmountable
problem, but it seems like a lot of extra work that shouldn't really
be needed.

Just wondering what everyone else thinks.

Ianiv Schweber


[twitter-dev] Re: all replies by friends

2009-05-12 Thread MobaTalk

I don't think this page http://help.twitter.com/forums/23786/entries/14595
is describing what I am seeing on my Notices tab - but I think that I
am using the new interface for Twitter so maybe things are just out of
sync while the new interface is rolled out for all users.

There sure does seem to be a revolt in the process about the @replies
changes right now, however.
I took a screenshot of my interface and posted it to the Twitterstream
so that they might understand that they are being converted over. hth

On May 12, 7:01 pm, Doug Williams d...@twitter.com wrote:
 This setting is set to be removed momentarily. Watch blog.twitter.com for
 notes about the deprecation when the deploy happens.

 You heard it here first.

 Thanks,
 Doug
 --

 Doug Williams
 Twitter Platform Supporthttp://twitter.com/dougw

 On Mon, May 11, 2009 at 3:06 PM, Doug Williams d...@twitter.com wrote:
  The default is: show me: @replies to the people that I'm following. The
  vast majority of our users keep this default. If this setting is indeed
  removed this is the behavior we will use.

  Note: I will update the thread when/if this setting is axed (even though
  it's not really an API decision) to close the loop.

  Thanks,
  Doug
  --

  Doug Williams
  Twitter Platform Support
 http://twitter.com/dougw

  Wait, did the default not used to be Show all @ replies (it is the
  first option in the dropdown box)?  Did that change? Personally, I
  like seeing all of them as it leads me to follow new and interesting
  people...

  If this goes away, is everyone going to be set to only show @replies
  to people I follow ?
  --
  Do you follow me?http://twitter.com/dougw

  On Mon, May 11, 2009 at 2:43 PM, voorwiel voorw...@gmail.com wrote:

  OK, thanks for the heads up.

  On May 11, 11:30 pm, Doug Williams d...@twitter.com wrote:
   We have had a debate internally (today) where we have all but decided to
   remove this setting in the near future. I would not create any
  application
   that relied on this. Almost all of our users leave it at the default
  (only
   show @replies to people I follow) so the cost of maintaining the setting
   does not translate to value in the product.

   Thanks,
   Doug
   --

   Doug Williams
   Twitter Platform Supporthttp://twitter.com/dougw

   On Mon, May 11, 2009 at 12:57 PM, voorwiel voorw...@gmail.com wrote:

Thanks, I'm familiar with the setting.

Somehow the setting does not have any effect with the account I'm
testing with: not when logged in to twitter.com, and not when using
statuses/friends_timeline. Chad's posting made me do some tests with
two other accounts: there the setting works as it should.

The only difference between the accounts I can think of is that the
misbehaving account is the one I used when applying for a higher rate
limit (20,000). Could there be a relation?

thanks, Jack

On May 11, 8:38 pm, Doug Williams d...@twitter.com wrote:
 There is a setting to change this behavior:

http://help.twitter.com/forums/23786/entries/14595

 Thanks,
 Doug
 --

 Doug Williams
 Twitter Platform Supporthttp://twitter.com/dougw

 On Mon, May 11, 2009 at 10:44 AM, Chad Etzel jazzyc...@gmail.com
wrote:

  I'm confused now.  I just pulled my friends_timeline and it is
  definitely showing @replies from my friends to people I don't
  follow.
  i.e. I'm getting the firehose as it pertains to my
  friends_timeline are you saying you're not seeing the same
  thing?

  -Chad

  On Mon, May 11, 2009 at 1:36 PM, voorwiel voorw...@gmail.com
  wrote:

   On May 10, 12:00 am, Abraham Williams 4bra...@gmail.com
  wrote:
   I would think that statuses/friends_timeline [1] would not be
effected
  by
   @-reply settings [2]. If it is your only option is to use the
  search
  method
   you mentioned. The down side of this is protected accounts are
  not
  included.

   Indeed it isn't affected by the setting. I wonder whether it is
  a
   policy decision not to include statuses directed at non-friends
  in
   statuses/friends_timeline. I'm actually hoping that it is not in
  the
   otherwise excellent documentation simply because someone forgot
  to
   include it :)

   greetings, Jack


[twitter-dev] Re: all replies by friends

2009-05-12 Thread Chad Etzel

In regard to Doug's recent tweet regarding this change:
http://twitter.com/dougw/status/1781551902

As much as I hate for people to be upset with Twitter, I am partially
happy to see I'm not the only one upset by this behavior change...  I
could *swear* that show all @replies was the default at some point
(maybe a long time ago when I joined).  Now my friend's timeline is
just a closed loop, and for (at least) the power users and people that
understood the setting, the timeline has gotten a lot less interesting
to watch.

I know I'm screaming into the wind... I'm just glad I'm not alone.

-Chad