[twitter-dev] Re: Why does changing this one char invalidate this message

2010-03-23 Thread Oli
Thanks for persisting with this - it seems to work from OSX, so I can
work from here. Thanks again.

On Mar 22, 4:59 pm, Mark McBride mmcbr...@twitter.com wrote:
 I tested this by

 1) Replacing the basic auth header with my own
 2) Opening a connection via telnet on OS X

   telnet twitter.com 80

 3) Pasting in the sample
 4) Looking at the response

 And it works for me.  Note that if I do it a second time I get a 200 and an
 empty response, as you're going to twitter.com instead of api.twitter.com.

   ---Mark

 http://twitter.com/mccv

 On Mon, Mar 22, 2010 at 8:09 AM, Oli oliverst...@gmail.com wrote:
  Hi again Mark. I have just used realterm to connect instead of
  hyperterminal (shows every char including hidden ones) and I have had
  success with my first example, however I am still struggling to get
  the full example working (I had tried to simplify to a working/non-
  working example as much as possible). Could you give this a quick try
  please?

  POSThttp://twitter.com/statuses/update.jsonHTTP/1.1
  Host: twitter.com
  Authorization: Basic xxx
  Content-type: application/x-www-form-urlencoded
  Content-length: 47
  Connection: Close

  status=ALARM%3A+Test_Unit+t1%3A+35litres+2425+C

  If you have success, could you let me know exactly how you have tested
  this (software etc) so I can duplicate it?

  I really appreciate your help and advice on this - It's one of the
  final sticking problems of this project.

  Many thanks

  On Mar 19, 5:51 pm, Mark McBride mmcbr...@twitter.com wrote:
   Now that I'm clear...

   1) It works for me using telnet.  This may or may not be subtly different
   from hyperterminal.
   2) Note that if you do this repeatedly with the same status text you'll
  get
   rejections due to duplicate tweets.  On twitter.com this returns a 200
  with
   no response body.  You shouldn't be using this endpoint anyway, please
  use
   api.twitter.com instead.

     ---Mark

  http://twitter.com/mccv

   On Fri, Mar 19, 2010 at 10:33 AM, Oli oliverst...@gmail.com wrote:
Hi Mark, thanks for your response but I think you may be mistaken.

In the first call, I do send 36 bytes I state prior to sending -
status=ALAhM%3A+Test_Unit+t1%3A35tej
In the second call, I do send the 35 bytes I state prior to sending -
status=ALAhM%3A+Test_Unit+t1%3A35te

Additionally, I am 100% sure there are no spaces at the end / other
chars that are hidden.

I am dealing with the raw socket and to rule out any software mishap I
have been testing manually using hyperterminal (winsock) to diagnose
the problem.

I'm at a dead end on this until somebody can figure out what I am
doing wrong / if there is genuinely a problem elsewhere. Thanks again

On Mar 19, 4:58 pm, Mark McBride mmcbr...@twitter.com wrote:
 On to the real problem, are you using a library to make that POST
request,
 or raw sockets?  What is likely happening is you're telling the
  server to
 expect 36 bytes of info in the first call.  You send 35.  The server
waits
 and waits then hangs up.  In the second call you're telling the
  server to
 expect 35, you send 35, the server does it's deal, and everybody is
happy.

   ---Mark

http://twitter.com/mccv

 On Fri, Mar 19, 2010 at 9:55 AM, Mark McBride mmcbr...@twitter.com
wrote:
  Missed the part about the one letter change.  Clever!

    ---Mark

 http://twitter.com/mccv

  On Fri, Mar 19, 2010 at 9:54 AM, Mark McBride 
  mmcbr...@twitter.com
wrote:

  You'll almost certainly want to change the password on that
  account
  immediately, as the basic auth header is easily decrypted.

    ---Mark

 http://twitter.com/mccv

  On Fri, Mar 19, 2010 at 9:20 AM, Oli oliverst...@gmail.com
  wrote:

  Also worth noting: there was no error returned - it hung up after
  3/4
  seconds. If you connect to twitter.com port 80 using
  hyperterminal /
  winsock, you can copy and paste (replacing the authorisation, and
  enabling append line feeds onto line ends in hyperterminal
  options)
my
  examples and see this for yourself.

  Any other ideas? I would really appreciate any comments on this
issue.

  On Mar 19, 3:16 pm, Oli oliverst...@gmail.com wrote:
   Hi there,

   I've just been playing about and have come across a curious bug
  (I
   have changed one letter of the hashcode) - connecting and
  sending

   POSThttp://twitter.com/statuses/update.jsonHTTP/1.1
   Host: twitter.com
   Authorization: Basic bWz0cm9uMjpwb2tlcmNoYW1wMQ==
   Content-type: application/x-www-form-urlencoded
   Content-length: 36
   Connection: Close

   status=ALAhM%3A+Test_Unit+t1%3A35tej

   DOESN'T WORK but

   POSThttp://twitter.com/statuses/update.jsonHTTP/1.1
   Host: twitter.com
   Authorization: Basic bWz0cm9uMjpwb2tlcmNoYW1wMQ==
   Content-type: 

[twitter-dev] reducing traffic back from twitter

2010-03-23 Thread Oli
I'm posting to twitter using a battery powered GSM device over GPRS.
The thing is, I'm trying to minimise the traffic being sent over the
connection to use as little energy as possible.

When posting a status update, I get a reasonable amount of data
returned - 1-2K (although insignificant in modern terms) which I would
like to reduce if possible. Is there any way without cutting off the
connection as soon as the data is sent to reduce this (ideally to just
a message meaning 'OK' or 'NOT OK'). Perhaps there are some parameters
that I can specify on the request to do this?

Many thanks in advance

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Re: 403 on duplicate post - when?

2010-03-23 Thread Dewald Pretorius
Mark,

Here is what appears to happen.

When you try and duplicate the newest tweet (N), you get the expected
new behavior with a 403 and Status is a duplicate.

When you try and duplicate tweet N-1, you get the old behavior with
200 OK and the details of tweet N.

I have not tested tweet N-2, N-3, etc.

On Mar 22, 6:27 pm, Mark McBride mmcbr...@twitter.com wrote:
 I just tried it and got a 403.  Can you give me a screen name you're using,
 the data posted, and the data returned?

   ---Mark

 http://twitter.com/mccv



 On Mon, Mar 22, 2010 at 2:14 PM, Dewald Pretorius dpr...@gmail.com wrote:
  Yes, I just tried it again.

  URL:https://api.twitter.com/1/statuses/update.json

  Headers:

  Date: Mon, 22 Mar 2010 21:09:39 GMT
  Server: hi
  Status: 200 OK
  X-Transaction: 1269292179-62279-30903
  ETag: 05ef33cb30cec1cfa0c5887d4862c9df
  Last-Modified: Mon, 22 Mar 2010 21:09:39 GMT
  X-Runtime: 0.26340
  Content-Type: application/json; charset=utf-8
  Content-Length: 1274
  Pragma: no-cache
  X-Revision: DEV
  Expires: Tue, 31 Mar 1981 05:00:00 GMT
  Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-
  check=0
  Set-Cookie: guest_id=1269292179683; path=/
  Set-Cookie: lang=en; path=/
  Set-Cookie: [snipped]
  Vary: Accept-Encoding
  Connection: close

  The id and text returned were the latest successful tweet, not the
  duplicate text I was trying to post.

  On Mar 22, 6:08 pm, Mark McBride mmcbr...@twitter.com wrote:
   On api.twitter.com/1/statuses/update.json?

     ---Mark

  http://twitter.com/mccv

   On Mon, Mar 22, 2010 at 1:58 PM, Dewald Pretorius dpr...@gmail.com
  wrote:
When is the change going live to return a 403 response code on a
duplicate post?

I'm still getting the old behavior. A 200 OK is returned with the
details of the latest successful tweet on the account.

To unsubscribe from this group, send email to twitter-development-talk+
unsubscribegooglegroups.com or reply to this email with the words
  REMOVE
ME as the subject.- Hide quoted text -

   - Show quoted text -

  To unsubscribe from this group, send email to twitter-development-talk+
  unsubscribegooglegroups.com or reply to this email with the words REMOVE
  ME as the subject.- Hide quoted text -

 - Show quoted text -

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Is it possible to get statuses since a date/time?

2010-03-23 Thread bigcheez
The api statuses/user_timeline.xml?since_id=12345 parameter is
useless.
I would like to get a user's statuses since a given date or time.
Is this possible?

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] can we authenticate user without redirecting to the twitter in rails app.

2010-03-23 Thread bhagi
can we avoid redirection to the twitter for the authentication of the
user.
i m using oauth library and ruby on rails as a platform.
kindly give me is there any apis r there?

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Re: Almost real time

2010-03-23 Thread Alberty Pascal
Repeated automated searches should not be run against search.twitter.com

So what would you recommend as search method to get potentially huge
amount of tweets (note that I need AND and OR criterias)

Thanks

On Mar 23, 12:42 am, John Kalucki j...@twitter.com wrote:
 Pick the lowest frequency term to track upon, then post-filter on your end.
 Repeated automated searches should not be run against search.twitter.com

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

 On Mon, Mar 22, 2010 at 3:30 PM, Alberty Pascal 
 alberty.pas...@gmail.comwrote:



  Hi all,

  while it's not possible to use AND search predicate in filter
  streaming, how it could be possible to get back almost real time
  search results ?

  My goal is to be sure that I got all the tweets for a complex search
  as fast as possible.

  Get a small amount (rpp) of tweets very often (every 10 seconds ?) ?
  Work with pagination ? How to be sure that I got every tweets ?

  Thanks

  To unsubscribe from this group, send email to twitter-development-talk+
  unsubscribegooglegroups.com or reply to this email with the words REMOVE
  ME as the subject.

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] getting authenticated user's rate-limit-using rest API.

2010-03-23 Thread Rushikesh Bhanage
Hi there,
  Yes I got your point Sir and that's the problem automatic switching of
user does not take place. Yes authentication is essential, but can I do that
using rate_limit_status method(passing user name and password to method) for
these two users or OAuth is the option, but it's not possible in this
case(have already implemented OAuth in app), because this is going to be
automatically. Above two user names will be white listed A/C's(that I am
going to do as this problem will get solved on current requests).  I read
Twitter api documentation, in that I got clue to pass unm and pwd  using
cURL ( have used it) like this-

curl -u user:password
http://api.twitter.com/1/account/rate_limit_status.xmlhttp://twitter.com/account/rate_limit_status.xml
  is this possible?

Thank you in advance sir.

-- Rishi.


On Mon, Mar 22, 2010 at 10:32 PM, Mark McBride mmcbr...@twitter.com wrote:

 Authenticate as the second user.

   ---Mark

 http://twitter.com/mccv



 On Sun, Mar 21, 2010 at 11:55 PM, Rushikesh Bhanage 
 rishibhan...@gmail.com wrote:

 Hi,
 (Note: In my app, single white listed useraccount's requests are not
 sufficient to complete particular task, so i need to switch from one account
 to another without breaking operation, if previous A/C's hits got over. )
In my case both the users are authenticated. Now problem is that how to
 switch from one user to another, when  next user comes, he should come up
 with it's hits for the operations, when previous user's hits got over. In
 such situation how can i use rate_limit_status method.

 Thank you in advance,

 rishibhanage

 On Mon, Mar 22, 2010 at 1:19 AM, Chris Thomson chri...@chris24.cawrote:

 The rate_limit_status method does not take a username as a parameter. All
 account methods act on the authenticating user's account (or in the case of
 an unauthenticated call, the requesting IP address). In order to get each
 other's rate limit information, you'll need to have both the user's
 authenticated as themselves.

  --
 Chris Thomson

 On Mar 21, 2010, at 8:01 AM, Rushikesh Bhanage wrote:

 Hi, there,
  I am using rest api method in my app, in that, I have two users(i.e
 white-listed user accounts.) and need to get each user's account rate-limit
 request balance, I am using following URL to get request balance.

 ' 
 http://twitter.com/account/rate_limit_status/'.$unm.'.xmlhttp://twitter.com/account/rate_limit_status/%27.$unm.%27.xml'.
  Here $unm is user name passed through ratelimit() function .

  Below is the code logic: (using cURL functions )

 [ function Checklimit()
 {
 for($i=0; $i2; $i++)
 {
 $usrlimit =
 $this-ratelimit($this-u[$i]);  // ratelimit($unm)
 function will give array containing remaining hits.
 foreach($usrlimit as $key=$val)
// $this-u[]  is the array used for fetching users with $i.
 {
 if($key == 'remaining-hits')
 {
 if($val != 0)

 {// here
 will return array element which is having hits.
return
 $i; // here it doesn't
 come inside when value of ratelimit of first user comes to an end
  }

 }
 }
   // Actually here it goes to second user but does not get it's
 hits from api using ratelimit function. gets same 0 as like first user. It
 will return -1 when no user is having hits.
 }
 return -1;
 }

 ]

 Can I have some clue, please.

 Thank You in advance.

 with regards,
 rishibhanage.




  To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words
 REMOVE ME as the subject.


  To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words
 REMOVE ME as the subject.


  To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


  To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] nearby_places vs reverse_geocode?

2010-03-23 Thread Björn
Hello,

just wondering what does nearby_places do that reverse_geocode doesn't
do? API docs recommend it over reverse_geocode, but it isn't really
clear why? It says it might adapt results according to the user, but
without any more specific information, it seems like a shot in the
dark to use it.

Thanks!


Björn

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Follow #topics

2010-03-23 Thread sem evers
Dear reader,

Is it possible to follow #topics, like how many tweets contain
#twitter for example and who tweeted the tweet containing #twitter?
Sorry for my english

Kind Regards,
Sem Evers

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Re: reducing traffic back from twitter

2010-03-23 Thread Andy
Have you tried requesting compressed data?

On Mar 23, 10:37 am, Oli oliverst...@gmail.com wrote:
 I'm posting to twitter using a battery powered GSM device over GPRS.
 The thing is, I'm trying to minimise the traffic being sent over the
 connection to use as little energy as possible.

 When posting a status update, I get a reasonable amount of data
 returned - 1-2K (although insignificant in modern terms) which I would
 like to reduce if possible. Is there any way without cutting off the
 connection as soon as the data is sent to reduce this (ideally to just
 a message meaning 'OK' or 'NOT OK'). Perhaps there are some parameters
 that I can specify on the request to do this?

 Many thanks in advance

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Hi

2010-03-23 Thread sudha g
Hi,

how to post a link on twitter in our site using  javascript .

ex: i will use this twitter button in our own page. then i click
twitter button and then post our page to twitter profile using HTML
and VB.Net

Thanks!

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] can we authenticate user without redirecting to the twitter in rails app.

2010-03-23 Thread Taylor Singletary
If you're building a web application, the OAuth flow involving the redirect
to Twitter for user authentication is really you're only viable option at
this time. There are some fascinating new integration points that Twitter
will be launching soon ( http://blog.twitter.com/2010/03/anywhere.html ).

Taylor Singletary
Developer Advocate, Twitter
http://twitter.com/episod


On Mon, Mar 22, 2010 at 10:16 PM, bhagi bhagirath6...@gmail.com wrote:

 can we avoid redirection to the twitter for the authentication of the
 user.
 i m using oauth library and ruby on rails as a platform.
 kindly give me is there any apis r there?

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Re: Almost real time

2010-03-23 Thread John Kalucki
The Streaming API is designed for bulk operations. You can retrieve millions
of tweets per day with the default access level, but you may need elevated
access to meet your requirements. You will have to do the AND on your end.
Contact a...@twitter.com to begin the process for elevated access.

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



On Tue, Mar 23, 2010 at 4:02 AM, Alberty Pascal alberty.pas...@gmail.comwrote:

 Repeated automated searches should not be run against search.twitter.com

 So what would you recommend as search method to get potentially huge
 amount of tweets (note that I need AND and OR criterias)

 Thanks

 On Mar 23, 12:42 am, John Kalucki j...@twitter.com wrote:
  Pick the lowest frequency term to track upon, then post-filter on your
 end.
  Repeated automated searches should not be run against search.twitter.com
 
  -John Kaluckihttp://twitter.com/jkalucki
  Infrastructure, Twitter Inc.
 
  On Mon, Mar 22, 2010 at 3:30 PM, Alberty Pascal 
 alberty.pas...@gmail.comwrote:
 
 
 
   Hi all,
 
   while it's not possible to use AND search predicate in filter
   streaming, how it could be possible to get back almost real time
   search results ?
 
   My goal is to be sure that I got all the tweets for a complex search
   as fast as possible.
 
   Get a small amount (rpp) of tweets very often (every 10 seconds ?) ?
   Work with pagination ? How to be sure that I got every tweets ?
 
   Thanks
 
   To unsubscribe from this group, send email to twitter-development-talk+
   unsubscribegooglegroups.com or reply to this email with the words
 REMOVE
   ME as the subject.

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Re: getting authenticated user's rate-limit-using rest API.

2010-03-23 Thread natefanaro
There is no way that Twitter's api is going to let you swap between
two users (ie: here are two usernames that can auth, swap to the other
when one runs out of hits)

You will have to check the authenticating user's rate limit before
each request. When that account hits 0, authenticate with the second
user, check it's rate limit, if it's greater than 0 continue with the
request.

If you code your app this way your request won't be interrupted. But
instead of going through hoops like this could you explain what you're
doing that requires over 20,000 requests per hour? I can't speak for
Twitter but I would guess that using multiple accounts to get around
rate limits is frowned upon. There may be an easier way to achieve
what you're doing (streaming/higher access levels/etc)

On Mar 23, 7:02 am, Rushikesh Bhanage rishibhan...@gmail.com wrote:
 Hi there,
       Yes I got your point Sir and that's the problem automatic switching of
 user does not take place. Yes authentication is essential, but can I do that
 using rate_limit_status method(passing user name and password to method) for
 these two users or OAuth is the option, but it's not possible in this
 case(have already implemented OAuth in app), because this is going to be
 automatically. Above two user names will be white listed A/C's(that I am
 going to do as this problem will get solved on current requests).  I read
 Twitter api documentation, in that I got clue to pass unm and pwd  using
 cURL ( have used it) like this-

 curl -u 
 user:passwordhttp://api.twitter.com/1/account/rate_limit_status.xmlhttp://twitter.com/account/rate_limit_status.xml
   is this possible?

 Thank you in advance sir.

 -- Rishi.

 On Mon, Mar 22, 2010 at 10:32 PM, Mark McBride mmcbr...@twitter.com wrote:
  Authenticate as the second user.

    ---Mark

 http://twitter.com/mccv

  On Sun, Mar 21, 2010 at 11:55 PM, Rushikesh Bhanage 
  rishibhan...@gmail.com wrote:

  Hi,
      (Note: In my app, single white listed useraccount's requests are not
  sufficient to complete particular task, so i need to switch from one 
  account
  to another without breaking operation, if previous A/C's hits got over. )
     In my case both the users are authenticated. Now problem is that how to
  switch from one user to another, when  next user comes, he should come up
  with it's hits for the operations, when previous user's hits got over. In
  such situation how can i use rate_limit_status method.

  Thank you in advance,

  rishibhanage

  On Mon, Mar 22, 2010 at 1:19 AM, Chris Thomson chri...@chris24.cawrote:

  The rate_limit_status method does not take a username as a parameter. All
  account methods act on the authenticating user's account (or in the case 
  of
  an unauthenticated call, the requesting IP address). In order to get each
  other's rate limit information, you'll need to have both the user's
  authenticated as themselves.

   --
  Chris Thomson

  On Mar 21, 2010, at 8:01 AM, Rushikesh Bhanage wrote:

  Hi, there,
       I am using rest api method in my app, in that, I have two users(i.e
  white-listed user accounts.) and need to get each user's account 
  rate-limit
  request balance, I am using following URL to get request balance.

  'http://twitter.com/account/rate_limit_status/'.$unm.'.xmlhttp://twitter.com/account/rate_limit_status/%27.$unm.%27.xml'.
   Here $unm is user name passed through ratelimit() function .

   Below is the code logic: (using cURL functions )

  [     function Checklimit()
          {
              for($i=0; $i2; $i++)
              {
                  $usrlimit =
  $this-ratelimit($this-u[$i]);                      // ratelimit($unm)
  function will give array containing remaining hits.
                  foreach($usrlimit as $key=$val)
         // $this-u[]  is the array used for fetching users with $i.
                  {
                      if($key == 'remaining-hits')
                      {
                          if($val != 0)

  {                                                                    // 
  here
  will return array element which is having hits.
                             return
  $i;                                                     // here it doesn't
  come inside when value of ratelimit of first user comes to an end
                           }

                      }
                  }
            // Actually here it goes to second user but does not get it's
  hits from api using ratelimit function. gets same 0 as like first user. It
  will return -1 when no user is having hits.
              }
              return -1;
          }

  ]

  Can I have some clue, please.

  Thank You in advance.

  with regards,
  rishibhanage.

   To unsubscribe from this group, send email to twitter-development-talk+
  unsubscribegooglegroups.com or reply to this email with the words
  REMOVE ME as the subject.

   To unsubscribe from this group, send email to twitter-development-talk+
  unsubscribegooglegroups.com or reply to this 

Re: [twitter-dev] Hi

2010-03-23 Thread Rajiv Verma™
Try redirecting to www.twitter.com?status=hi

On Tue, Mar 23, 2010 at 6:35 PM, sudha g sudha.go...@gmail.com wrote:

 Hi,

 how to post a link on twitter in our site using  javascript .

 ex: i will use this twitter button in our own page. then i click
 twitter button and then post our page to twitter profile using HTML
 and VB.Net

 Thanks!

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.




-- 
Thanks  Regards
Rajiv Verma
Bangalore
E-Mail: rajiv@gmail.com
Ph: +91-92430-12766
Go Green, Use minimum natural resources!

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Re: getting authenticated user's rate-limit-using rest API.

2010-03-23 Thread Taylor Singletary
Using multiple accounts to get around rate limiting is not really in the
spirit of the Twitter API and I recommend you banish the idea from your
mind.

Taylor Singletary
Developer Advocate, Twitter
http://twitter.com/episod


On Tue, Mar 23, 2010 at 7:03 AM, natefanaro natefan...@gmail.com wrote:

 There is no way that Twitter's api is going to let you swap between
 two users (ie: here are two usernames that can auth, swap to the other
 when one runs out of hits)

 You will have to check the authenticating user's rate limit before
 each request. When that account hits 0, authenticate with the second
 user, check it's rate limit, if it's greater than 0 continue with the
 request.

 If you code your app this way your request won't be interrupted. But
 instead of going through hoops like this could you explain what you're
 doing that requires over 20,000 requests per hour? I can't speak for
 Twitter but I would guess that using multiple accounts to get around
 rate limits is frowned upon. There may be an easier way to achieve
 what you're doing (streaming/higher access levels/etc)

 On Mar 23, 7:02 am, Rushikesh Bhanage rishibhan...@gmail.com wrote:
  Hi there,
Yes I got your point Sir and that's the problem automatic switching
 of
  user does not take place. Yes authentication is essential, but can I do
 that
  using rate_limit_status method(passing user name and password to method)
 for
  these two users or OAuth is the option, but it's not possible in this
  case(have already implemented OAuth in app), because this is going to be
  automatically. Above two user names will be white listed A/C's(that I am
  going to do as this problem will get solved on current requests).  I read
  Twitter api documentation, in that I got clue to pass unm and pwd  using
  cURL ( have used it) like this-
 
  curl -u user:passwordhttp://
 api.twitter.com/1/account/rate_limit_status.xml
 http://twitter.com/account/rate_limit_status.xml
is this possible?
 
  Thank you in advance sir.
 
  -- Rishi.
 
  On Mon, Mar 22, 2010 at 10:32 PM, Mark McBride mmcbr...@twitter.com
 wrote:
   Authenticate as the second user.
 
 ---Mark
 
  http://twitter.com/mccv
 
   On Sun, Mar 21, 2010 at 11:55 PM, Rushikesh Bhanage 
   rishibhan...@gmail.com wrote:
 
   Hi,
   (Note: In my app, single white listed useraccount's requests are
 not
   sufficient to complete particular task, so i need to switch from one
 account
   to another without breaking operation, if previous A/C's hits got
 over. )
  In my case both the users are authenticated. Now problem is that
 how to
   switch from one user to another, when  next user comes, he should come
 up
   with it's hits for the operations, when previous user's hits got over.
 In
   such situation how can i use rate_limit_status method.
 
   Thank you in advance,
 
   rishibhanage
 
   On Mon, Mar 22, 2010 at 1:19 AM, Chris Thomson chri...@chris24.ca
 wrote:
 
   The rate_limit_status method does not take a username as a parameter.
 All
   account methods act on the authenticating user's account (or in the
 case of
   an unauthenticated call, the requesting IP address). In order to get
 each
   other's rate limit information, you'll need to have both the user's
   authenticated as themselves.
 
--
   Chris Thomson
 
   On Mar 21, 2010, at 8:01 AM, Rushikesh Bhanage wrote:
 
   Hi, there,
I am using rest api method in my app, in that, I have two
 users(i.e
   white-listed user accounts.) and need to get each user's account
 rate-limit
   request balance, I am using following URL to get request balance.
 
   'http://twitter.com/account/rate_limit_status/'.$unm.'.xml
 http://twitter.com/account/rate_limit_status/%27.$unm.%27.xml'. Here $unm
 is user name passed through ratelimit() function .
 
Below is the code logic: (using cURL functions )
 
   [ function Checklimit()
   {
   for($i=0; $i2; $i++)
   {
   $usrlimit =
   $this-ratelimit($this-u[$i]);  //
 ratelimit($unm)
   function will give array containing remaining hits.
   foreach($usrlimit as $key=$val)
  // $this-u[]  is the array used for fetching users with $i.
   {
   if($key == 'remaining-hits')
   {
   if($val != 0)
 
   {
  // here
   will return array element which is having hits.
  return
   $i; // here it
 doesn't
   come inside when value of ratelimit of first user comes to an end
}
 
   }
   }
 // Actually here it goes to second user but does not get
 it's
   hits from api using ratelimit function. gets same 0 as like first
 user. It
   will return -1 when no user is having hits.
   }
   return -1;
   }
 
   ]
 
   Can I have some clue, please.
 

[twitter-dev] Re: Bulk User Relationship Lookup?

2010-03-23 Thread Orian Marx (@orian)
Thanks Abraham, don't worry I'm watching Intersect closely ;)

Unfortunately, this doesn't currently address what I'm getting at,
namely, if I use the bulk user lookup, I'd like to similarly get
accurate friend / follower info for each of those users (relative to
the user making the bulk lookup) in one call.

On Mar 22, 11:00 pm, Abraham Williams 4bra...@gmail.com wrote:
 I provide a simple API that returns common friends and follower of two
 specific Twitter users. It currently works for the 5000 most recent
 (although soon to be increasing) and only on public accounts.

 http://github.com/abraham/intersect/blob/master/README

 http://github.com/abraham/intersect/blob/master/READMEAbraham

 On Mon, Mar 22, 2010 at 19:41, Orian Marx (@orian) or...@orianmarx.comwrote:





  The bulk users/lookup call recently added to the API is a great new
  tool for developers. This call would become even more useful with a
  corresponding bulk lookup for user relationships. Are there any plans
  for this?

  Also, I'm assuming that the following and notifications nodes
  returned in the user objects of the users/lookup call should be
  considered unreliable as is stated for users/show.

  Thanks,
  @orian

  To unsubscribe from this group, send email to twitter-development-talk+
  unsubscribegooglegroups.com or reply to this email with the words REMOVE
  ME as the subject.

 --
 Abraham Williams | Community Advocate |http://abrah.am
 TwitterOAuth |http://github.com/abraham/twitteroauth
 This email is: [ ] shareable [x] ask first [ ] private.

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Re: Best Practice - Parsing the Location Field

2010-03-23 Thread bendell
Hi. Did you manage to solve your issue? I'm faced with the same thing.
I need to find a reliable way to retrieve location information from a
tweet (i.e. given that the vast majority of tweets do not include lon
and lat values). What did you do in the end? Are you willing to share
code?

On Feb 18, 7:49 pm, GeorgeMedia georgeme...@gmail.com wrote:
 My primary reason for consuming the gardenhose is so I can gather
 tweets and sort them by location on demand when I need them. I have
 the tweets stored in local hourly files and I'm ready to insert them
 into the MySQL DB.

 But first... I need to do some scrubbing. I'm primarily interested in
 tweets that already have the lon/lat in the location field because
 then I can just calculate radius locally and grab all the tweets from
 a given radius.

 But I don't want to leave out the people who actually took a second
 and put their real location in the Location field. I already have lon/
 lat locations for US cities in my DB and just need to grab usable
 CITY, STATE combos to search on/match with what I have.

 So my questions

 1) Should I just ignore/dump any tweets that have an empty LOCATION
 field? Because no matter what, if the tweet is geotagged the lon/lat
 will be in that field correct? And if it's not geotagged the profile
 location info will be there. And if that's not available it will be
 empty -- right?

 2) What do you think would be the best regex (I'm writing in PHP) to
 determine whether the field had any real location data in it?

 From what I've seen the most accurate location fields always have
 CITY, STATE so I'm assuming checking for a comma is a good idea. But
 what else? How is twitter handling this?

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Is there support for the OAuth 2-legged model?

2010-03-23 Thread Grantcv1
Hi,

I am building an app that will programmatically update my twitter
status every hour or so. It will update my status from a server
running without any interaction from me.

From what I have learned, I should use OAuth rather than basic
authentication. It seems that basic authentication is to shut down
June 2010 (which seems rather soon).

I have spent a day and a restless night reading OAuth specs and then
dreaming about them all night long :( I am guessig that I need the 2-
legged model rather than the 3-legged model as there is to be no user
interaction and my consumer application wants access to a single user
resource only - a resource it is directly tied to. Hence my
application is both the consumer and the user.

I have read the 2007 spec that was put out on the 2-legged model. I
have also read the most recent OAuth 1.0a spec which seems to ignore
the 2-legged model. Doing a search for 2-legged or two-legged on this
website yields nothing which make me think that what I am trying to do
- programmatically update a user status - isn't something anyone would
want to do. As that seems totally unlikely, I am wondering if I am
totally barking up the wrong tree.

Can something help point me in the right direction?

Thanks,
   Grant

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Question about xAuth.

2010-03-23 Thread IoriAYANE
I have trouble for xAuth.

I applied by sending an email to a...@twitter.com.
And I received the email of the following contents.

 received mail --
Thanks for your interest in XAuth. Your application now has the
ability to use XAuth, and you can read the documentation here:
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-oauth-access_token-for-xAuth
.
 received mail --

I'm testing xAuth on my application.
However, I cannot certify it.
My application received HTTP 401 error.

I had the developer of my friend who test xAuth in the following
applications.
In that case, it was OK.
However, I fail with my key.

Test application Link
http://relog.xii.jp/download/test/xAuthTest.LZH

Please help me.

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Is there support for the OAuth 2-legged model?

2010-03-23 Thread Lil Peck
On Tue, Mar 23, 2010 at 10:50 AM, Grantcv1 grant.vergott...@gmail.com wrote:
 Hi,

 I am building an app that will programmatically update my twitter
 status every hour or so. It will update my status from a server
 running without any interaction from me.

 From what I have learned, I should use OAuth rather than basic
 authentication. It seems that basic authentication is to shut down
 June 2010 (which seems rather soon).



I share your concern!

I use Classic ASP (Yes, there are many of us still using it it because
we like it!) and I have a classified ads on my site that automatically
sends a tweet out to announce whenever a new ad has been posted. For
my needs, Oauth seems to be convoluted and bloated. I've spotted lots
of Classic ASP users searching for an Oauth solution for their code.
I'm trying to understand it to figure out how to adapt my app to it,
but I may have to give up the automatic tweets. :(

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Is there a way to to make the streaming API track parameter be case sensitive?

2010-03-23 Thread Mad Euchre
It appears it not. I have track=PASS and I get back Passing lane,
Forward Pass, Pass the food, etc.

Thanks

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Follow #topics

2010-03-23 Thread Mark McBride
The streaming API's filter endpoint may be what you're looking for

http://apiwiki.twitter.com/Streaming-API-Documentation#statuses/filter

  ---Mark

http://twitter.com/mccv


On Tue, Mar 23, 2010 at 5:27 AM, sem evers sem_...@hotmail.com wrote:

 Dear reader,

 Is it possible to follow #topics, like how many tweets contain
 #twitter for example and who tweeted the tweet containing #twitter?
 Sorry for my english

 Kind Regards,
 Sem Evers

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Is there support for the OAuth 2-legged model?

2010-03-23 Thread Raffi Krikorian
we're literally working on 2-legged oauth for our public methods as i type
this.

On Tue, Mar 23, 2010 at 9:19 AM, Lil Peck lilp...@gmail.com wrote:

 On Tue, Mar 23, 2010 at 10:50 AM, Grantcv1 grant.vergott...@gmail.com
 wrote:
  Hi,
 
  I am building an app that will programmatically update my twitter
  status every hour or so. It will update my status from a server
  running without any interaction from me.
 
  From what I have learned, I should use OAuth rather than basic
  authentication. It seems that basic authentication is to shut down
  June 2010 (which seems rather soon).
 
 

 I share your concern!

 I use Classic ASP (Yes, there are many of us still using it it because
 we like it!) and I have a classified ads on my site that automatically
 sends a tweet out to announce whenever a new ad has been posted. For
 my needs, Oauth seems to be convoluted and bloated. I've spotted lots
 of Classic ASP users searching for an Oauth solution for their code.
 I'm trying to understand it to figure out how to adapt my app to it,
 but I may have to give up the automatic tweets. :(

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.




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

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Re: Almost real time

2010-03-23 Thread Alberty Pascal
Thanks !

On Mar 23, 2:34 pm, John Kalucki j...@twitter.com wrote:
 The Streaming API is designed for bulk operations. You can retrieve millions
 of tweets per day with the default access level, but you may need elevated
 access to meet your requirements. You will have to do the AND on your end.
 Contact a...@twitter.com to begin the process for elevated access.

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

 On Tue, Mar 23, 2010 at 4:02 AM, Alberty Pascal 
 alberty.pas...@gmail.comwrote:



  Repeated automated searches should not be run against search.twitter.com

  So what would you recommend as search method to get potentially huge
  amount of tweets (note that I need AND and OR criterias)

  Thanks

  On Mar 23, 12:42 am, John Kalucki j...@twitter.com wrote:
   Pick the lowest frequency term to track upon, then post-filter on your
  end.
   Repeated automated searches should not be run against search.twitter.com

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

   On Mon, Mar 22, 2010 at 3:30 PM, Alberty Pascal 
  alberty.pas...@gmail.comwrote:

Hi all,

while it's not possible to use AND search predicate in filter
streaming, how it could be possible to get back almost real time
search results ?

My goal is to be sure that I got all the tweets for a complex search
as fast as possible.

Get a small amount (rpp) of tweets very often (every 10 seconds ?) ?
Work with pagination ? How to be sure that I got every tweets ?

Thanks

To unsubscribe from this group, send email to twitter-development-talk+
unsubscribegooglegroups.com or reply to this email with the words
  REMOVE
ME as the subject.

  To unsubscribe from this group, send email to twitter-development-talk+
  unsubscribegooglegroups.com or reply to this email with the words REMOVE
  ME as the subject.

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Is there support for the OAuth 2-legged model?

2010-03-23 Thread Taylor Singletary
Hi all,

We don't yet support two-legged OAuth but see value in its use for actions
requiring client application authorization but not necessarily user-based
authentication. As Raffi notes, we're implementing it now.

However, two-legged OAuth does not necessarily solve the issue you're
looking to solve, actions requiring an actor like tweeting, favoriting, etc.
would still require an OAuth access token. In the case of a single purpose
application with a single user, you would leverage OAuth to exchange your
own credentials for an access token which you could then re-use indefinitely
for the single-user use case of your application.

Taylor Singletary
Developer Advocate, Twitter
http://twitter.com/episod


On Tue, Mar 23, 2010 at 9:19 AM, Lil Peck lilp...@gmail.com wrote:

 On Tue, Mar 23, 2010 at 10:50 AM, Grantcv1 grant.vergott...@gmail.com
 wrote:
  Hi,
 
  I am building an app that will programmatically update my twitter
  status every hour or so. It will update my status from a server
  running without any interaction from me.
 
  From what I have learned, I should use OAuth rather than basic
  authentication. It seems that basic authentication is to shut down
  June 2010 (which seems rather soon).
 
 

 I share your concern!

 I use Classic ASP (Yes, there are many of us still using it it because
 we like it!) and I have a classified ads on my site that automatically
 sends a tweet out to announce whenever a new ad has been posted. For
 my needs, Oauth seems to be convoluted and bloated. I've spotted lots
 of Classic ASP users searching for an Oauth solution for their code.
 I'm trying to understand it to figure out how to adapt my app to it,
 but I may have to give up the automatic tweets. :(

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Is there a way to to make the streaming API track parameter be case sensitive?

2010-03-23 Thread Mark McBride
There is currently no way to make this case sensitive.  You can always
post-process on your end.

  ---Mark

http://twitter.com/mccv


On Tue, Mar 23, 2010 at 9:19 AM, Mad Euchre mad.ukrain...@gmail.com wrote:

 It appears it not. I have track=PASS and I get back Passing lane,
 Forward Pass, Pass the food, etc.

 Thanks

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Re: 403 on duplicate post - when?

2010-03-23 Thread Mark McBride
Yes, that's a hole in the current logic.  I'll work on getting the N-n case
handled.

  ---Mark

http://twitter.com/mccv


On Tue, Mar 23, 2010 at 6:12 AM, Dewald Pretorius dpr...@gmail.com wrote:

 Mark,

 Here is what appears to happen.

 When you try and duplicate the newest tweet (N), you get the expected
 new behavior with a 403 and Status is a duplicate.

 When you try and duplicate tweet N-1, you get the old behavior with
 200 OK and the details of tweet N.

 I have not tested tweet N-2, N-3, etc.

 On Mar 22, 6:27 pm, Mark McBride mmcbr...@twitter.com wrote:
  I just tried it and got a 403.  Can you give me a screen name you're
 using,
  the data posted, and the data returned?
 
---Mark
 
  http://twitter.com/mccv
 
 
 
  On Mon, Mar 22, 2010 at 2:14 PM, Dewald Pretorius dpr...@gmail.com
 wrote:
   Yes, I just tried it again.
 
   URL:https://api.twitter.com/1/statuses/update.json
 
   Headers:
 
   Date: Mon, 22 Mar 2010 21:09:39 GMT
   Server: hi
   Status: 200 OK
   X-Transaction: 1269292179-62279-30903
   ETag: 05ef33cb30cec1cfa0c5887d4862c9df
   Last-Modified: Mon, 22 Mar 2010 21:09:39 GMT
   X-Runtime: 0.26340
   Content-Type: application/json; charset=utf-8
   Content-Length: 1274
   Pragma: no-cache
   X-Revision: DEV
   Expires: Tue, 31 Mar 1981 05:00:00 GMT
   Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-
   check=0
   Set-Cookie: guest_id=1269292179683; path=/
   Set-Cookie: lang=en; path=/
   Set-Cookie: [snipped]
   Vary: Accept-Encoding
   Connection: close
 
   The id and text returned were the latest successful tweet, not the
   duplicate text I was trying to post.
 
   On Mar 22, 6:08 pm, Mark McBride mmcbr...@twitter.com wrote:
On api.twitter.com/1/statuses/update.json?
 
  ---Mark
 
   http://twitter.com/mccv
 
On Mon, Mar 22, 2010 at 1:58 PM, Dewald Pretorius dpr...@gmail.com
   wrote:
 When is the change going live to return a 403 response code on a
 duplicate post?
 
 I'm still getting the old behavior. A 200 OK is returned with the
 details of the latest successful tweet on the account.
 
 To unsubscribe from this group, send email to
 twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words
   REMOVE
 ME as the subject.- Hide quoted text -
 
- Show quoted text -
 
   To unsubscribe from this group, send email to twitter-development-talk+
   unsubscribegooglegroups.com or reply to this email with the words
 REMOVE
   ME as the subject.- Hide quoted text -
 
  - Show quoted text -

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Re: Is there support for the OAuth 2-legged model?

2010-03-23 Thread Grantcv1
So let me see if I get this right. If I mock up some code to get an
access token
after I have done the manual login thingy, I should then be able to
use that
access token from my server indefinitely - without fear of it expiring
or going
away for one reason or another. Is my understanding correct? I had
given this
some thought last night, but if seemed that it would be fragile.

On Mar 23, 9:31 am, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Hi all,

 We don't yet support two-legged OAuth but see value in its use for actions
 requiring client application authorization but not necessarily user-based
 authentication. As Raffi notes, we're implementing it now.

 However, two-legged OAuth does not necessarily solve the issue you're
 looking to solve, actions requiring an actor like tweeting, favoriting, etc.
 would still require an OAuth access token. In the case of a single purpose
 application with a single user, you would leverage OAuth to exchange your
 own credentials for an access token which you could then re-use indefinitely
 for the single-user use case of your application.

 Taylor Singletary
 Developer Advocate, Twitterhttp://twitter.com/episod



 On Tue, Mar 23, 2010 at 9:19 AM, Lil Peck lilp...@gmail.com wrote:
  On Tue, Mar 23, 2010 at 10:50 AM, Grantcv1 grant.vergott...@gmail.com
  wrote:
   Hi,

   I am building an app that will programmatically update my twitter
   status every hour or so. It will update my status from a server
   running without any interaction from me.

   From what I have learned, I should use OAuth rather than basic
   authentication. It seems that basic authentication is to shut down
   June 2010 (which seems rather soon).

  I share your concern!

  I use Classic ASP (Yes, there are many of us still using it it because
  we like it!) and I have a classified ads on my site that automatically
  sends a tweet out to announce whenever a new ad has been posted. For
  my needs, Oauth seems to be convoluted and bloated. I've spotted lots
  of Classic ASP users searching for an Oauth solution for their code.
  I'm trying to understand it to figure out how to adapt my app to it,
  but I may have to give up the automatic tweets. :(

  To unsubscribe from this group, send email to twitter-development-talk+
  unsubscribegooglegroups.com or reply to this email with the words REMOVE
  ME as the subject.- Hide quoted text -

 - Show quoted text -

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Re: getting authenticated user's rate-limit-using rest API.

2010-03-23 Thread Rushikesh Bhanage
Hi there,
   Thank you for your valuable guidance sir, Now I just have last two
questions:

   1. How to get particular authorised user's hits,  what is the url to
to get remaining hits for that user..

   2. Suppose I am having authorised a/c(which has 2 hits), then
how to call any method (any like userstatus or show/1/status) with my
account.


Thank you in advance.

On Tue, Mar 23, 2010 at 8:25 PM, Taylor Singletary 
taylorsinglet...@twitter.com wrote:

 Using multiple accounts to get around rate limiting is not really in the
 spirit of the Twitter API and I recommend you banish the idea from your
 mind.

 Taylor Singletary
 Developer Advocate, Twitter
 http://twitter.com/episod



 On Tue, Mar 23, 2010 at 7:03 AM, natefanaro natefan...@gmail.com wrote:

 There is no way that Twitter's api is going to let you swap between
 two users (ie: here are two usernames that can auth, swap to the other
 when one runs out of hits)

 You will have to check the authenticating user's rate limit before
 each request. When that account hits 0, authenticate with the second
 user, check it's rate limit, if it's greater than 0 continue with the
 request.

 If you code your app this way your request won't be interrupted. But
 instead of going through hoops like this could you explain what you're
 doing that requires over 20,000 requests per hour? I can't speak for
 Twitter but I would guess that using multiple accounts to get around
 rate limits is frowned upon. There may be an easier way to achieve
 what you're doing (streaming/higher access levels/etc)

 On Mar 23, 7:02 am, Rushikesh Bhanage rishibhan...@gmail.com wrote:
  Hi there,
Yes I got your point Sir and that's the problem automatic
 switching of
  user does not take place. Yes authentication is essential, but can I do
 that
  using rate_limit_status method(passing user name and password to method)
 for
  these two users or OAuth is the option, but it's not possible in this
  case(have already implemented OAuth in app), because this is going to be
  automatically. Above two user names will be white listed A/C's(that I am
  going to do as this problem will get solved on current requests).  I
 read
  Twitter api documentation, in that I got clue to pass unm and pwd  using
  cURL ( have used it) like this-
 
  curl -u user:passwordhttp://
 api.twitter.com/1/account/rate_limit_status.xml
 http://twitter.com/account/rate_limit_status.xml
is this possible?
 
  Thank you in advance sir.
 
  -- Rishi.
 
  On Mon, Mar 22, 2010 at 10:32 PM, Mark McBride mmcbr...@twitter.com
 wrote:
   Authenticate as the second user.
 
 ---Mark
 
  http://twitter.com/mccv
 
   On Sun, Mar 21, 2010 at 11:55 PM, Rushikesh Bhanage 
   rishibhan...@gmail.com wrote:
 
   Hi,
   (Note: In my app, single white listed useraccount's requests are
 not
   sufficient to complete particular task, so i need to switch from one
 account
   to another without breaking operation, if previous A/C's hits got
 over. )
  In my case both the users are authenticated. Now problem is that
 how to
   switch from one user to another, when  next user comes, he should
 come up
   with it's hits for the operations, when previous user's hits got
 over. In
   such situation how can i use rate_limit_status method.
 
   Thank you in advance,
 
   rishibhanage
 
   On Mon, Mar 22, 2010 at 1:19 AM, Chris Thomson chri...@chris24.ca
 wrote:
 
   The rate_limit_status method does not take a username as a
 parameter. All
   account methods act on the authenticating user's account (or in the
 case of
   an unauthenticated call, the requesting IP address). In order to get
 each
   other's rate limit information, you'll need to have both the user's
   authenticated as themselves.
 
--
   Chris Thomson
 
   On Mar 21, 2010, at 8:01 AM, Rushikesh Bhanage wrote:
 
   Hi, there,
I am using rest api method in my app, in that, I have two
 users(i.e
   white-listed user accounts.) and need to get each user's account
 rate-limit
   request balance, I am using following URL to get request balance.
 
   'http://twitter.com/account/rate_limit_status/'.$unm.'.xmlhttp://twitter.com/account/rate_limit_status/%27.$unm.%27.xml
 http://twitter.com/account/rate_limit_status/%27.$unm.%27.xml'. Here
 $unm is user name passed through ratelimit() function .
 
Below is the code logic: (using cURL functions )
 
   [ function Checklimit()
   {
   for($i=0; $i2; $i++)
   {
   $usrlimit =
   $this-ratelimit($this-u[$i]);  //
 ratelimit($unm)
   function will give array containing remaining hits.
   foreach($usrlimit as $key=$val)
  // $this-u[]  is the array used for fetching users with $i.
   {
   if($key == 'remaining-hits')
   {
   if($val != 0)
 
   {
  // here
   will return array element which is having hits.
 

Re: [twitter-dev] Re: Is there support for the OAuth 2-legged model?

2010-03-23 Thread Taylor Singletary
Grant,

You are correct. An access token's lifespan is until it is explicitly
revoked by a user -- in this case, you.

Taylor Singletary
Developer Advocate, Twitter
http://twitter.com/episod


On Tue, Mar 23, 2010 at 9:41 AM, Grantcv1 grant.vergott...@gmail.comwrote:

 So let me see if I get this right. If I mock up some code to get an
 access token
 after I have done the manual login thingy, I should then be able to
 use that
 access token from my server indefinitely - without fear of it expiring
 or going
 away for one reason or another. Is my understanding correct? I had
 given this
 some thought last night, but if seemed that it would be fragile.

 On Mar 23, 9:31 am, Taylor Singletary taylorsinglet...@twitter.com
 wrote:
  Hi all,
 
  We don't yet support two-legged OAuth but see value in its use for
 actions
  requiring client application authorization but not necessarily user-based
  authentication. As Raffi notes, we're implementing it now.
 
  However, two-legged OAuth does not necessarily solve the issue you're
  looking to solve, actions requiring an actor like tweeting, favoriting,
 etc.
  would still require an OAuth access token. In the case of a single
 purpose
  application with a single user, you would leverage OAuth to exchange your
  own credentials for an access token which you could then re-use
 indefinitely
  for the single-user use case of your application.
 
  Taylor Singletary
  Developer Advocate, Twitterhttp://twitter.com/episod
 
 
 
  On Tue, Mar 23, 2010 at 9:19 AM, Lil Peck lilp...@gmail.com wrote:
   On Tue, Mar 23, 2010 at 10:50 AM, Grantcv1 grant.vergott...@gmail.com
 
   wrote:
Hi,
 
I am building an app that will programmatically update my twitter
status every hour or so. It will update my status from a server
running without any interaction from me.
 
From what I have learned, I should use OAuth rather than basic
authentication. It seems that basic authentication is to shut down
June 2010 (which seems rather soon).
 
   I share your concern!
 
   I use Classic ASP (Yes, there are many of us still using it it because
   we like it!) and I have a classified ads on my site that automatically
   sends a tweet out to announce whenever a new ad has been posted. For
   my needs, Oauth seems to be convoluted and bloated. I've spotted lots
   of Classic ASP users searching for an Oauth solution for their code.
   I'm trying to understand it to figure out how to adapt my app to it,
   but I may have to give up the automatic tweets. :(
 
   To unsubscribe from this group, send email to twitter-development-talk+
   unsubscribegooglegroups.com or reply to this email with the words
 REMOVE
   ME as the subject.- Hide quoted text -
 
  - Show quoted text -

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Re: Follow #topics

2010-03-23 Thread Jaanus
I built http://cremeapp.com to showcase what this (following a
search term or any #hashtag) might be like in a mobile UI. Twitter.com
and other apps support saved searches, but IMO they don't push it far
enough.

On Mar 23, 8:27 am, sem evers sem_...@hotmail.com wrote:
 Dear reader,

 Is it possible to follow #topics, like how many tweets contain
 #twitter for example and who tweeted the tweet containing #twitter?
 Sorry for my english

 Kind Regards,
 Sem Evers

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] xAuth approvals?

2010-03-23 Thread Cameron Kaiser
I'm still (somewhat ;-) patiently waiting for xAuth approval so I can work
on an implementation in TTYtter. Any news on the timeline? Will these be
done in time for Chirp so that we can pillory you guys with questions? ;-)

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- When you don't know what you're doing, do it neatly. ---

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] reducing traffic back from twitter

2010-03-23 Thread Harshad RJ
Assuming you have already tried HTTP compression, some more suggestions are:

   - Use a proxy server of your own that strips off the response from
   twitter to 'OK' / 'NOK'
   - Go all the way down to raw TCP / UDP in the proxy

I have some experience here. If you need any help with it, feel free to
contact me directly.


On Tue, Mar 23, 2010 at 4:07 PM, Oli oliverst...@gmail.com wrote:

 I'm posting to twitter using a battery powered GSM device over GPRS.
 The thing is, I'm trying to minimise the traffic being sent over the
 connection to use as little energy as possible.

 When posting a status update, I get a reasonable amount of data
 returned - 1-2K (although insignificant in modern terms) which I would
 like to reduce if possible. Is there any way without cutting off the
 connection as soon as the data is sent to reduce this (ideally to just
 a message meaning 'OK' or 'NOT OK'). Perhaps there are some parameters
 that I can specify on the request to do this?

 Many thanks in advance

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.




-- 
Harshad RJ
http://hrj.wikidot.com

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Re: Bulk User Relationship Lookup?

2010-03-23 Thread Abraham Williams
Bulk lookup of social graphs seems like it would be a pretty resource
intensive call. I would not hold my breath for Twitter to implement it.

Abraham

On Tue, Mar 23, 2010 at 08:21, Orian Marx (@orian) or...@orianmarx.comwrote:

 Thanks Abraham, don't worry I'm watching Intersect closely ;)

 Unfortunately, this doesn't currently address what I'm getting at,
 namely, if I use the bulk user lookup, I'd like to similarly get
 accurate friend / follower info for each of those users (relative to
 the user making the bulk lookup) in one call.

 On Mar 22, 11:00 pm, Abraham Williams 4bra...@gmail.com wrote:
  I provide a simple API that returns common friends and follower of two
  specific Twitter users. It currently works for the 5000 most recent
  (although soon to be increasing) and only on public accounts.
 
  http://github.com/abraham/intersect/blob/master/README
 
  http://github.com/abraham/intersect/blob/master/READMEAbraham
 
  On Mon, Mar 22, 2010 at 19:41, Orian Marx (@orian) or...@orianmarx.com
 wrote:
 
 
 
 
 
   The bulk users/lookup call recently added to the API is a great new
   tool for developers. This call would become even more useful with a
   corresponding bulk lookup for user relationships. Are there any plans
   for this?
 
   Also, I'm assuming that the following and notifications nodes
   returned in the user objects of the users/lookup call should be
   considered unreliable as is stated for users/show.
 
   Thanks,
   @orian
 
   To unsubscribe from this group, send email to twitter-development-talk+
   unsubscribegooglegroups.com or reply to this email with the words
 REMOVE
   ME as the subject.
 
  --
  Abraham Williams | Community Advocate |http://abrah.am
  TwitterOAuth |http://github.com/abraham/twitteroauth
  This email is: [ ] shareable [x] ask first [ ] private.

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.




-- 
Abraham Williams | Community Advocate | http://abrah.am
TwitterOAuth | http://github.com/abraham/twitteroauth
This email is: [ ] shareable [x] ask first [ ] private.

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Re: Is there support for the OAuth 2-legged model?

2010-03-23 Thread Lil Peck
I have some really stupid questions, regarding xauth. (Sorry.)

Looking at this article:
http://www.reynoldsftw.com/2010/03/using-xauth-an-alternate-oauth-from-twitter/

Can xauth be used as the 2 legged model?

The article says

 First off though, you need to send an email to a...@twitter.com and
ask them to register your OAuth application to use xAuth. Once
approved (you’ll get an email at time of writing) you make a call to
the API method “https://api.twitter.com/oauth/access_token”


After one has gotten that token, can one use it for all of one's web
based apps regardless of URL of the app?

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Missing replies to followed user (streaming api)

2010-03-23 Thread briantroy
We seem to consistently miss replies to users using the streaming api.

Our methodology:

If one of our users specifies a twitter user name we both follow the
user (using the folllow= predicate) and track on the user's username
(using the track= predicate).
Our assumption was that this would get structured replies and retweets
(via the follow) and unstructured (via the track).

This appears to not be the case. We never get some replies.

For example: Tweet ID: 10942140971 was never received (in reply to
me). Most of these appear to come from 3rd party clients - but this
example came from the web.

We can confirm (via our logs) that the tweet never comes in on the
stream.

Anyone else seeing anything like this or have a proven methodology for
getting all mentions?

Thanks,

Brian Roy

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Re: Is there support for the OAuth 2-legged model?

2010-03-23 Thread Taylor Singletary
You would use two-legged OAuth in conjunction with xAuth. For the requests
your app makes that don't require a user, you'd use two-legged OAuth.

The process for acquiring an accessToken in xAuth is itself almost a
two-legged OAuth operation (just like the request token step). The way you
formulate a two-legged request is essentially identical.

The point of xAuth is to give you a path to exchange login and password for
an access token. The intent is that you'll dispose of the logins and
passwords and store only the access token to make requests on the users
behalf. If the access token is manually expired by the user, you would ask
them for their login information again and exchange for an access token
again.

The ultimate goal here is for there to be no justifiable reason for
developers to retain logins and passwords.

The URL of an application is not related to your use of an access token.
However, if you have two websites, one about dogs and the other about cats
for example, and I grant access to my twitter account for the dog website --
it would not be acceptable that the cat website also had access to my
twitter account. Being above the board at all times about how far granted
access goes is a best practice all should keep in mind. In this (admittedly
silly) example, it would be the best practice to have two client
applications/API keys registered with Twitter: one for the dogs site and one
for the cats site.

Taylor Singletary
Developer Advocate, Twitter
http://twitter.com/episod


On Tue, Mar 23, 2010 at 1:31 PM, Lil Peck lilp...@gmail.com wrote:

 I have some really stupid questions, regarding xauth. (Sorry.)

 Looking at this article:

 http://www.reynoldsftw.com/2010/03/using-xauth-an-alternate-oauth-from-twitter/

 Can xauth be used as the 2 legged model?

 The article says
 
  First off though, you need to send an email to a...@twitter.com and
 ask them to register your OAuth application to use xAuth. Once
 approved (you’ll get an email at time of writing) you make a call to
 the API method “https://api.twitter.com/oauth/access_token”
 

 After one has gotten that token, can one use it for all of one's web
 based apps regardless of URL of the app?

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Missing replies to followed user (streaming api)

2010-03-23 Thread Mark McBride
What track/follow paramaters were you using to get this?
 follow=briantroytrack=briantroy?

  ---Mark

http://twitter.com/mccv


On Tue, Mar 23, 2010 at 1:42 PM, briantroy brian.cosin...@gmail.com wrote:

 We seem to consistently miss replies to users using the streaming api.

 Our methodology:

 If one of our users specifies a twitter user name we both follow the
 user (using the folllow= predicate) and track on the user's username
 (using the track= predicate).
 Our assumption was that this would get structured replies and retweets
 (via the follow) and unstructured (via the track).

 This appears to not be the case. We never get some replies.

 For example: Tweet ID: 10942140971 was never received (in reply to
 me). Most of these appear to come from 3rd party clients - but this
 example came from the web.

 We can confirm (via our logs) that the tweet never comes in on the
 stream.

 Anyone else seeing anything like this or have a proven methodology for
 getting all mentions?

 Thanks,

 Brian Roy

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Re: Missing replies to followed user (streaming api)

2010-03-23 Thread briantroy
Mark -

Two separate threads (one user is restricted track, the other is
shadow).

Track user/thread is running track=briantroy (along with 230 something
other terms). The Follow thread/user is follow=4246611 - which is my
userid (along with 60 something other user id's).

Both threads have logging turned up to list each tweet id they
receive. These threads DO NOTHING with the JSON beyond popping it onto
a queue.

Brian

On Mar 23, 2:19 pm, Mark McBride mmcbr...@twitter.com wrote:
 What track/follow paramaters were you using to get this?
  follow=briantroytrack=briantroy?

   ---Mark

 http://twitter.com/mccv



 On Tue, Mar 23, 2010 at 1:42 PM, briantroy brian.cosin...@gmail.com wrote:
  We seem to consistently miss replies to users using the streaming api.

  Our methodology:

  If one of our users specifies a twitter user name we both follow the
  user (using the folllow= predicate) and track on the user's username
  (using the track= predicate).
  Our assumption was that this would get structured replies and retweets
  (via the follow) and unstructured (via the track).

  This appears to not be the case. We never get some replies.

  For example: Tweet ID: 10942140971 was never received (in reply to
  me). Most of these appear to come from 3rd party clients - but this
  example came from the web.

  We can confirm (via our logs) that the tweet never comes in on the
  stream.

  Anyone else seeing anything like this or have a proven methodology for
  getting all mentions?

  Thanks,

  Brian Roy

  To unsubscribe from this group, send email to twitter-development-talk+
  unsubscribegooglegroups.com or reply to this email with the words REMOVE
  ME as the subject.

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Digest for twitter-development-talk@googlegroups.com - 25 Messages in 12 Topics

2010-03-23 Thread Daryn Nakhuda
unsubscribe

On Tue, Mar 23, 2010 at 2:44 PM,
twitter-development-talk+nore...@googlegroups.com wrote:
   Today's Topic Summary

 Group: http://groups.google.com/group/twitter-development-talk/topics

 Missing replies to followed user (streaming api) [3 Updates]
 Is there support for the OAuth 2-legged model? [8 Updates]
 Bulk User Relationship Lookup? [2 Updates]
 reducing traffic back from twitter [1 Update]
 xAuth approvals? [1 Update]
 Follow #topics [2 Updates]
 getting authenticated user's rate-limit-using rest API. [2 Updates]
 403 on duplicate post - when? [1 Update]
 Is there a way to to make the streaming API track parameter be case
 sensitive? [2 Updates]
 Almost real time [1 Update]
 Question about xAuth. [1 Update]
 Best Practice - Parsing the Location Field [1 Update]

  Topic: Missing replies to followed user (streaming api)

 briantroy brian.cosin...@gmail.com Mar 23 01:42PM -0700 ^

 We seem to consistently miss replies to users using the streaming api.

 Our methodology:

 If one of our users specifies a twitter user name we both follow the
 user (using the folllow= predicate) and track on the user's username
 (using the track= predicate).
 Our assumption was that this would get structured replies and retweets
 (via the follow) and unstructured (via the track).

 This appears to not be the case. We never get some replies.

 For example: Tweet ID: 10942140971 was never received (in reply to
 me). Most of these appear to come from 3rd party clients - but this
 example came from the web.

 We can confirm (via our logs) that the tweet never comes in on the
 stream.

 Anyone else seeing anything like this or have a proven methodology for
 getting all mentions?

 Thanks,

 Brian Roy



 Mark McBride mmcbr...@twitter.com Mar 23 02:19PM -0700 ^

 What track/follow paramaters were you using to get this?
 follow=briantroytrack=briantroy?

 ---Mark

 http://twitter.com/mccv





 briantroy brian.cosin...@gmail.com Mar 23 02:28PM -0700 ^

 Mark -

 Two separate threads (one user is restricted track, the other is
 shadow).

 Track user/thread is running track=briantroy (along with 230 something
 other terms). The Follow thread/user is follow=4246611 - which is my
 userid (along with 60 something other user id's).

 Both threads have logging turned up to list each tweet id they
 receive. These threads DO NOTHING with the JSON beyond popping it onto
 a queue.

 Brian




  Topic: Is there support for the OAuth 2-legged model?

 Grantcv1 grant.vergott...@gmail.com Mar 23 08:50AM -0700 ^

 Hi,

 I am building an app that will programmatically update my twitter
 status every hour or so. It will update my status from a server
 running without any interaction from me.

 From what I have learned, I should use OAuth rather than basic
 authentication. It seems that basic authentication is to shut down
 June 2010 (which seems rather soon).

 I have spent a day and a restless night reading OAuth specs and then
 dreaming about them all night long :( I am guessig that I need the 2-
 legged model rather than the 3-legged model as there is to be no user
 interaction and my consumer application wants access to a single user
 resource only - a resource it is directly tied to. Hence my
 application is both the consumer and the user.

 I have read the 2007 spec that was put out on the 2-legged model. I
 have also read the most recent OAuth 1.0a spec which seems to ignore
 the 2-legged model. Doing a search for 2-legged or two-legged on this
 website yields nothing which make me think that what I am trying to do
 - programmatically update a user status - isn't something anyone would
 want to do. As that seems totally unlikely, I am wondering if I am
 totally barking up the wrong tree.

 Can something help point me in the right direction?

 Thanks,
 Grant



 Lil Peck lilp...@gmail.com Mar 23 11:19AM -0500 ^


 From what I have learned, I should use OAuth rather than basic
 authentication. It seems that basic authentication is to shut down
 June 2010 (which seems rather soon).

 I share your concern!

 I use Classic ASP (Yes, there are many of us still using it it because
 we like it!) and I have a classified ads on my site that automatically
 sends a tweet out to announce whenever a new ad has been posted. For
 my needs, Oauth seems to be convoluted and bloated. I've spotted lots
 of Classic ASP users searching for an Oauth solution for their code.
 I'm trying to understand it to figure out how to adapt my app to it,
 but I may have to give up the automatic tweets. :(



 Raffi Krikorian ra...@twitter.com Mar 23 09:30AM -0700 ^

 we're literally working on 2-legged oauth for our public methods as i type
 this.


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



 Taylor Singletary taylorsinglet...@twitter.com Mar 23 09:31AM -0700 ^

 Hi all,

 We don't yet support two-legged OAuth but see value in its use for actions
 requiring client application authorization but not necessarily user-based
 

Re: [twitter-dev] Re: Missing replies to followed user (streaming api)

2010-03-23 Thread John Kalucki
I couldn't trivially reproduce this. But, I'll say that I suspect that there
may indeed be some sort of bug around tracking on screen names and not
always getting all tweets. There might be some combination of text reply vs.
explicit reply vs. protected vs. private vs. something that causes problems.
I've just retested a few combinations, and they seem to work.

Did you receive any limit messages on the stream? Could you have been track
rate limited at the moment when this message was sent? If send your account
and the time, in UTC, that you logged in the stream, I can look to see how
many limit messages we've sent to you.

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



On Tue, Mar 23, 2010 at 2:28 PM, briantroy brian.cosin...@gmail.com wrote:

 Mark -

 Two separate threads (one user is restricted track, the other is
 shadow).

 Track user/thread is running track=briantroy (along with 230 something
 other terms). The Follow thread/user is follow=4246611 - which is my
 userid (along with 60 something other user id's).

 Both threads have logging turned up to list each tweet id they
 receive. These threads DO NOTHING with the JSON beyond popping it onto
 a queue.

 Brian

 On Mar 23, 2:19 pm, Mark McBride mmcbr...@twitter.com wrote:
  What track/follow paramaters were you using to get this?
   follow=briantroytrack=briantroy?
 
---Mark
 
  http://twitter.com/mccv
 
 
 
  On Tue, Mar 23, 2010 at 1:42 PM, briantroy brian.cosin...@gmail.com
 wrote:
   We seem to consistently miss replies to users using the streaming api.
 
   Our methodology:
 
   If one of our users specifies a twitter user name we both follow the
   user (using the folllow= predicate) and track on the user's username
   (using the track= predicate).
   Our assumption was that this would get structured replies and retweets
   (via the follow) and unstructured (via the track).
 
   This appears to not be the case. We never get some replies.
 
   For example: Tweet ID: 10942140971 was never received (in reply to
   me). Most of these appear to come from 3rd party clients - but this
   example came from the web.
 
   We can confirm (via our logs) that the tweet never comes in on the
   stream.
 
   Anyone else seeing anything like this or have a proven methodology for
   getting all mentions?
 
   Thanks,
 
   Brian Roy
 
   To unsubscribe from this group, send email to twitter-development-talk+
   unsubscribegooglegroups.com or reply to this email with the words
 REMOVE
   ME as the subject.

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] RateLimit value look to be incorrect in 3G/Edge

2010-03-23 Thread Eric
Hi, (sorry for my English)

I currently develop a little twitter client for my iPhone application,
and i have a problem with the rate limit when i'm connected in 3G/
Edge. (no problem when connected in WIFI)

This parameter look to be completly random !

For example, there are the returned values for 5 successive requests :
X-Ratelimit-Remaining : 0
X-Ratelimit-Remaining : 0
X-Ratelimit-Remaining : 60
X-Ratelimit-Remaining : 105
X-Ratelimit-Remaining : 0

I use the API with the following code :
NSString *adresse = [@http://api.twitter.com/1/statuses/user_timeline/
applisiphone.json?page=1
stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding];

NSURLRequest* request = [NSURLRequest requestWithURL:[NSURL
URLWithString:adresse] cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:60];
NSURLConnection* connection = [[NSURLConnection alloc]
initWithRequest:request delegate:self];

I really don't understand the problem ...
Someone can help me ?

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] URI encoding displayed in tweet

2010-03-23 Thread Penelope
I'm trying to post a Twitter update using Javascript - here's my code:

xhr.open(POST, http://twitter.com/statuses/
update.json, true);
xhr.setRequestHeader('Authorization', 'Basic ' + b64unpw);
xhr.setRequestHeader(Content-type, application/x-www-
form-urlencoded);
xhr.setRequestHeader(Content-length, posttext.length);
xhr.setRequestHeader(Connection, close);
xhr.setRequestHeader(Accept-encoding, text/plain);
xhr.send(status= + encodeURIComponent(top  bottom));

The tweet is posted but it looks like this: top %26 bottom

This works fine:

curl --basic --user onetwthree:longlongpw --data status='top %26
bottom' http://twitter.com/statuses/update.json

so what's the problem with my javascript?

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Re: xAuth approvals?

2010-03-23 Thread Brian Sutorius
Hey Cameron,
Could you reply to me directly? I can help get you set up.
Brian


On Mar 23, 11:00 am, Cameron Kaiser spec...@floodgap.com wrote:
 I'm still (somewhat ;-) patiently waiting for xAuth approval so I can work
 on an implementation in TTYtter. Any news on the timeline? Will these be
 done in time for Chirp so that we can pillory you guys with questions? ;-)

 --
  personal:http://www.cameronkaiser.com/--
   Cameron Kaiser * Floodgap Systems *www.floodgap.com* ckai...@floodgap.com
 -- When you don't know what you're doing, do it neatly. 
 ---

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Re: Question about xAuth.

2010-03-23 Thread Brian Sutorius
I just refreshed your application's xAuth access. Can you try again?
You may reply to me directly if you're still having issues.
Brian

On Mar 23, 9:10 am, IoriAYANE iori.ay...@gmail.com wrote:
 I have trouble for xAuth.

 I applied by sending an email to a...@twitter.com.
 And I received the email of the following contents.

  received mail --
 Thanks for your interest in XAuth. Your application now has the
 ability to use XAuth, and you can read the documentation 
 here:http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-oauth-access_to...
 .
  received mail --

 I'm testing xAuth on my application.
 However, I cannot certify it.
 My application received HTTP 401 error.

 I had the developer of my friend who test xAuth in the following
 applications.
 In that case, it was OK.
 However, I fail with my key.

 Test application Linkhttp://relog.xii.jp/download/test/xAuthTest.LZH

 Please help me.

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Re: Missing replies to followed user (streaming api)

2010-03-23 Thread briantroy
John -

We rarely get limit messages - and no, none have coincided with
missing replies. Our last limit message was yesterday at: NOTICE:
TRACK - NOTICE: Mon, 22 Mar 2010 22:52:28 -0400 Stream is limited

The track user is justsignal - the follow user is justsignalshad

I'll have to dig through the logs to find the last re-connect time.
Just as a note, I didn't get any of your test tweets (as a matter of
fact the last I've gotten was at 2:24 pacific.

Our last re-connect was before Mon, 22 Mar 2010 15:42:30 -0400 (this
is when our latest log file starts).

Let me know if I can do anything else to track this down...

Brian

On Mar 23, 3:31 pm, John Kalucki j...@twitter.com wrote:
 I couldn't trivially reproduce this. But, I'll say that I suspect that there
 may indeed be some sort of bug around tracking on screen names and not
 always getting all tweets. There might be some combination of text reply vs.
 explicit reply vs. protected vs. private vs. something that causes problems.
 I've just retested a few combinations, and they seem to work.

 Did you receive any limit messages on the stream? Could you have been track
 rate limited at the moment when this message was sent? If send your account
 and the time, in UTC, that you logged in the stream, I can look to see how
 many limit messages we've sent to you.

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



 On Tue, Mar 23, 2010 at 2:28 PM, briantroy brian.cosin...@gmail.com wrote:
  Mark -

  Two separate threads (one user is restricted track, the other is
  shadow).

  Track user/thread is running track=briantroy (along with 230 something
  other terms). The Follow thread/user is follow=4246611 - which is my
  userid (along with 60 something other user id's).

  Both threads have logging turned up to list each tweet id they
  receive. These threads DO NOTHING with the JSON beyond popping it onto
  a queue.

  Brian

  On Mar 23, 2:19 pm, Mark McBride mmcbr...@twitter.com wrote:
   What track/follow paramaters were you using to get this?
    follow=briantroytrack=briantroy?

     ---Mark

  http://twitter.com/mccv

   On Tue, Mar 23, 2010 at 1:42 PM, briantroy brian.cosin...@gmail.com
  wrote:
We seem to consistently miss replies to users using the streaming api.

Our methodology:

If one of our users specifies a twitter user name we both follow the
user (using the folllow= predicate) and track on the user's username
(using the track= predicate).
Our assumption was that this would get structured replies and retweets
(via the follow) and unstructured (via the track).

This appears to not be the case. We never get some replies.

For example: Tweet ID: 10942140971 was never received (in reply to
me). Most of these appear to come from 3rd party clients - but this
example came from the web.

We can confirm (via our logs) that the tweet never comes in on the
stream.

Anyone else seeing anything like this or have a proven methodology for
getting all mentions?

Thanks,

Brian Roy

To unsubscribe from this group, send email to twitter-development-talk+
unsubscribegooglegroups.com or reply to this email with the words
  REMOVE
ME as the subject.

  To unsubscribe from this group, send email to twitter-development-talk+
  unsubscribegooglegroups.com or reply to this email with the words REMOVE
  ME as the subject.

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] new suggested users api

2010-03-23 Thread Abraham Williams
I would assume Twitter will return all users in a category for each request.
I don't imagine they list ever getting so big that it would be unmanageable.

Abraham

On Mon, Mar 22, 2010 at 06:47, Quy quyten...@gmail.com wrote:

 How do I page through this API call?

 users/suggestions/category

 Do we always just get the first page of suggested users for a
 category?

 Quy

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.




-- 
Abraham Williams | Community Advocate | http://abrah.am
TwitterOAuth | http://github.com/abraham/twitteroauth
This email is: [ ] shareable [x] ask first [ ] private.

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Re: Question about xAuth.

2010-03-23 Thread John Meyer

On 3/23/2010 3:45 PM, Brian Sutorius wrote:

I just refreshed your application's xAuth access. Can you try again?
You may reply to me directly if you're still having issues.
Brian



While we're on the topic, Brian. I'm going to start implementing xAuth 
support into TwitterVB.  To do that I'm probably going to need a dummy 
app (TwitterVB isn't an application unto itself but rather a library). 
How would I go about doing that?


To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [twitter-dev] Generating oauth_signature?

2010-03-23 Thread Abraham Williams
Feel free to send me an email about any issues you have with my library.

Abraham

On Sun, Mar 21, 2010 at 11:32, KPL kapil.sa...@gmail.com wrote:

 Hello guys,

 I want to know if there's any function in PHP with which one can
 generate oauth_signature directly without using a library?

 I have tried to use JMathai's  and Abraham's libraries for this
 purpose, but failed to do so.

 Help will be really appreciated.

 Regards,
 Kapeel S

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.




-- 
Abraham Williams | Community Advocate | http://abrah.am
TwitterOAuth | http://github.com/abraham/twitteroauth
This email is: [ ] shareable [x] ask first [ ] private.

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Re: Generating oauth_signature?

2010-03-23 Thread Dewald Pretorius
Is this what you're looking for?

http://php.net/manual/en/book.oauth.php

On Mar 21, 3:32 pm, KPL kapil.sa...@gmail.com wrote:
 Hello guys,

 I want to know if there's any function in PHP with which one can
 generate oauth_signature directly without using a library?

 I have tried to use JMathai's  and Abraham's libraries for this
 purpose, but failed to do so.

 Help will be really appreciated.

 Regards,
 Kapeel S

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Twitter on Mobile Phone

2010-03-23 Thread Mantodea
Hello all,

 I am currently working on a mobile website that will post
updates to Twitter, using their API. I'm hoping to program this in
Java code; PHP if it seems easier. I am having a bit of trouble trying
to figure out the best way to do this, but I have a few basic
questions that seemed to look like greek to me when I researched the
wiki:

1. Can I mobilize an existing twitter web API?
2. What coding language are pages sending data to the API usually
coded in? Java? PHP? XML? etc.
3. Is there a way for the twitter API to redirect the user back to the
originating mobile site?

I think if I can figure out these main questions, I might be on the
right track. Thanks to all who respond! :)

- Mantodea

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Re: 403 on duplicate post - when?

2010-03-23 Thread Tim Haines
Learnt something here.  I knew you couldn't post the same tweet twice in a
row.  But Twitter is also blocking you from repeating a tweet you posted
earlier in the day?

So you can't Tweet:
A
B
AThis one won't go through?

If this is the case, how far back does it check for duplicates?

Guy Kawasaki must hate this.  :-)

Tim.

On Wed, Mar 24, 2010 at 5:28 AM, Mark McBride mmcbr...@twitter.com wrote:

 Yes, that's a hole in the current logic.  I'll work on getting the N-n case
 handled.

   ---Mark

 http://twitter.com/mccv


 On Tue, Mar 23, 2010 at 6:12 AM, Dewald Pretorius dpr...@gmail.comwrote:

 Mark,

 Here is what appears to happen.

 When you try and duplicate the newest tweet (N), you get the expected
 new behavior with a 403 and Status is a duplicate.

 When you try and duplicate tweet N-1, you get the old behavior with
 200 OK and the details of tweet N.

 I have not tested tweet N-2, N-3, etc.

 On Mar 22, 6:27 pm, Mark McBride mmcbr...@twitter.com wrote:
  I just tried it and got a 403.  Can you give me a screen name you're
 using,
  the data posted, and the data returned?
 
---Mark
 
  http://twitter.com/mccv
 
 
 
  On Mon, Mar 22, 2010 at 2:14 PM, Dewald Pretorius dpr...@gmail.com
 wrote:
   Yes, I just tried it again.
 
   URL:https://api.twitter.com/1/statuses/update.json
 
   Headers:
 
   Date: Mon, 22 Mar 2010 21:09:39 GMT
   Server: hi
   Status: 200 OK
   X-Transaction: 1269292179-62279-30903
   ETag: 05ef33cb30cec1cfa0c5887d4862c9df
   Last-Modified: Mon, 22 Mar 2010 21:09:39 GMT
   X-Runtime: 0.26340
   Content-Type: application/json; charset=utf-8
   Content-Length: 1274
   Pragma: no-cache
   X-Revision: DEV
   Expires: Tue, 31 Mar 1981 05:00:00 GMT
   Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-
   check=0
   Set-Cookie: guest_id=1269292179683; path=/
   Set-Cookie: lang=en; path=/
   Set-Cookie: [snipped]
   Vary: Accept-Encoding
   Connection: close
 
   The id and text returned were the latest successful tweet, not the
   duplicate text I was trying to post.
 
   On Mar 22, 6:08 pm, Mark McBride mmcbr...@twitter.com wrote:
On api.twitter.com/1/statuses/update.json?
 
  ---Mark
 
   http://twitter.com/mccv
 
On Mon, Mar 22, 2010 at 1:58 PM, Dewald Pretorius dpr...@gmail.com
 
   wrote:
 When is the change going live to return a 403 response code on a
 duplicate post?
 
 I'm still getting the old behavior. A 200 OK is returned with the
 details of the latest successful tweet on the account.
 
 To unsubscribe from this group, send email to
 twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words
   REMOVE
 ME as the subject.- Hide quoted text -
 
- Show quoted text -
 
   To unsubscribe from this group, send email to
 twitter-development-talk+
   unsubscribegooglegroups.com or reply to this email with the words
 REMOVE
   ME as the subject.- Hide quoted text -
 
  - Show quoted text -

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


  To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Re: Question about xAuth.

2010-03-23 Thread IoriAYANE
Dear Brian

A problem was settled.
Thank you very much.

IoriAYANE


On 3月24日, 午前7:45, Brian Sutorius bsutor...@twitter.com wrote:
 I just refreshed your application's xAuth access. Can you try again?
 You may reply to me directly if you're still having issues.
 Brian

 On Mar 23, 9:10 am, IoriAYANE iori.ay...@gmail.com wrote:



  I have trouble for xAuth.

  I applied by sending an email to a...@twitter.com.
  And I received the email of the following contents.

   received mail --
  Thanks for your interest in XAuth. Your application now has the
  ability to use XAuth, and you can read the documentation 
  here:http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-oauth-access_to...
  .
   received mail --

  I'm testing xAuth on my application.
  However, I cannot certify it.
  My application received HTTP 401 error.

  I had the developer of my friend who test xAuth in the following
  applications.
  In that case, it was OK.
  However, I fail with my key.

  Test application Linkhttp://relog.xii.jp/download/test/xAuthTest.LZH

  Please help me.

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Re: Missing replies to followed user (streaming api)

2010-03-23 Thread briantroy
John -

Here is a good example:

These two tweets came in 2 minutes apart from 2 different 3rd party
clients. We got one and not the other:

http://bit.ly/cG9emM (Got this one)
http://bit.ly/aFvimS (Not this one)

No limit messages, re-connects or anything at all unusual about the
stream activity during this period.

Brian


On Mar 23, 4:05 pm, briantroy brian.cosin...@gmail.com wrote:
 John -

 We rarely get limit messages - and no, none have coincided with
 missing replies. Our last limit message was yesterday at: NOTICE:
 TRACK - NOTICE: Mon, 22 Mar 2010 22:52:28 -0400 Stream is limited

 The track user is justsignal - the follow user is justsignalshad

 I'll have to dig through the logs to find the last re-connect time.
 Just as a note, I didn't get any of your test tweets (as a matter of
 fact the last I've gotten was at 2:24 pacific.

 Our last re-connect was before Mon, 22 Mar 2010 15:42:30 -0400 (this
 is when our latest log file starts).

 Let me know if I can do anything else to track this down...

 Brian

 On Mar 23, 3:31 pm, John Kalucki j...@twitter.com wrote:



  I couldn't trivially reproduce this. But, I'll say that I suspect that there
  may indeed be some sort of bug around tracking on screen names and not
  always getting all tweets. There might be some combination of text reply vs.
  explicit reply vs. protected vs. private vs. something that causes problems.
  I've just retested a few combinations, and they seem to work.

  Did you receive any limit messages on the stream? Could you have been track
  rate limited at the moment when this message was sent? If send your account
  and the time, in UTC, that you logged in the stream, I can look to see how
  many limit messages we've sent to you.

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

  On Tue, Mar 23, 2010 at 2:28 PM, briantroy brian.cosin...@gmail.com wrote:
   Mark -

   Two separate threads (one user is restricted track, the other is
   shadow).

   Track user/thread is running track=briantroy (along with 230 something
   other terms). The Follow thread/user is follow=4246611 - which is my
   userid (along with 60 something other user id's).

   Both threads have logging turned up to list each tweet id they
   receive. These threads DO NOTHING with the JSON beyond popping it onto
   a queue.

   Brian

   On Mar 23, 2:19 pm, Mark McBride mmcbr...@twitter.com wrote:
What track/follow paramaters were you using to get this?
 follow=briantroytrack=briantroy?

  ---Mark

   http://twitter.com/mccv

On Tue, Mar 23, 2010 at 1:42 PM, briantroy brian.cosin...@gmail.com
   wrote:
 We seem to consistently miss replies to users using the streaming api.

 Our methodology:

 If one of our users specifies a twitter user name we both follow the
 user (using the folllow= predicate) and track on the user's username
 (using the track= predicate).
 Our assumption was that this would get structured replies and retweets
 (via the follow) and unstructured (via the track).

 This appears to not be the case. We never get some replies.

 For example: Tweet ID: 10942140971 was never received (in reply to
 me). Most of these appear to come from 3rd party clients - but this
 example came from the web.

 We can confirm (via our logs) that the tweet never comes in on the
 stream.

 Anyone else seeing anything like this or have a proven methodology for
 getting all mentions?

 Thanks,

 Brian Roy

 To unsubscribe from this group, send email to 
 twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words
   REMOVE
 ME as the subject.

   To unsubscribe from this group, send email to twitter-development-talk+
   unsubscribegooglegroups.com or reply to this email with the words REMOVE
   ME as the subject.

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


Re: [twitter-dev] Re: 403 on duplicate post - when?

2010-03-23 Thread Mark McBride
Several tweets back, with a several hour cool down.  So you could tweet A,
B, A, providing they're several hours a part.

  ---Mark

http://twitter.com/mccv


On Tue, Mar 23, 2010 at 6:41 PM, Tim Haines tmhai...@gmail.com wrote:

 Learnt something here.  I knew you couldn't post the same tweet twice in a
 row.  But Twitter is also blocking you from repeating a tweet you posted
 earlier in the day?

 So you can't Tweet:
 A
 B
 AThis one won't go through?

 If this is the case, how far back does it check for duplicates?

 Guy Kawasaki must hate this.  :-)

 Tim.


 On Wed, Mar 24, 2010 at 5:28 AM, Mark McBride mmcbr...@twitter.comwrote:

 Yes, that's a hole in the current logic.  I'll work on getting the N-n
 case handled.

   ---Mark

 http://twitter.com/mccv


 On Tue, Mar 23, 2010 at 6:12 AM, Dewald Pretorius dpr...@gmail.comwrote:

 Mark,

 Here is what appears to happen.

 When you try and duplicate the newest tweet (N), you get the expected
 new behavior with a 403 and Status is a duplicate.

 When you try and duplicate tweet N-1, you get the old behavior with
 200 OK and the details of tweet N.

 I have not tested tweet N-2, N-3, etc.

 On Mar 22, 6:27 pm, Mark McBride mmcbr...@twitter.com wrote:
  I just tried it and got a 403.  Can you give me a screen name you're
 using,
  the data posted, and the data returned?
 
---Mark
 
  http://twitter.com/mccv
 
 
 
  On Mon, Mar 22, 2010 at 2:14 PM, Dewald Pretorius dpr...@gmail.com
 wrote:
   Yes, I just tried it again.
 
   URL:https://api.twitter.com/1/statuses/update.json
 
   Headers:
 
   Date: Mon, 22 Mar 2010 21:09:39 GMT
   Server: hi
   Status: 200 OK
   X-Transaction: 1269292179-62279-30903
   ETag: 05ef33cb30cec1cfa0c5887d4862c9df
   Last-Modified: Mon, 22 Mar 2010 21:09:39 GMT
   X-Runtime: 0.26340
   Content-Type: application/json; charset=utf-8
   Content-Length: 1274
   Pragma: no-cache
   X-Revision: DEV
   Expires: Tue, 31 Mar 1981 05:00:00 GMT
   Cache-Control: no-cache, no-store, must-revalidate, pre-check=0,
 post-
   check=0
   Set-Cookie: guest_id=1269292179683; path=/
   Set-Cookie: lang=en; path=/
   Set-Cookie: [snipped]
   Vary: Accept-Encoding
   Connection: close
 
   The id and text returned were the latest successful tweet, not
 the
   duplicate text I was trying to post.
 
   On Mar 22, 6:08 pm, Mark McBride mmcbr...@twitter.com wrote:
On api.twitter.com/1/statuses/update.json?
 
  ---Mark
 
   http://twitter.com/mccv
 
On Mon, Mar 22, 2010 at 1:58 PM, Dewald Pretorius 
 dpr...@gmail.com
   wrote:
 When is the change going live to return a 403 response code on a
 duplicate post?
 
 I'm still getting the old behavior. A 200 OK is returned with the
 details of the latest successful tweet on the account.
 
 To unsubscribe from this group, send email to
 twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the
 words
   REMOVE
 ME as the subject.- Hide quoted text -
 
- Show quoted text -
 
   To unsubscribe from this group, send email to
 twitter-development-talk+
   unsubscribegooglegroups.com or reply to this email with the words
 REMOVE
   ME as the subject.- Hide quoted text -
 
  - Show quoted text -

 To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words
 REMOVE ME as the subject.


  To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


  To unsubscribe from this group, send email to twitter-development-talk+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.