[twitter-dev] Re: [OOT] Hijacking twitter account, is it possible?

2009-10-15 Thread Chris Babcock

On Thu, 15 Oct 2009 12:32:19 +0700
Dwi Sasongko Supriyadi ruck...@gmail.com wrote:

 Okay. If Mallory changed Bob's password after successfully get in,
 Can Bob still access his account through his application (which is
 authorized)? 

Yes, OAuth apps that have their own authentication context would still work
for Bob. A change in Bob's Twitter password will not prevent the OAuth
application from working. As long as Bob can prove that he is Bob to
the application's satisfication then he can use that application and
that application can use OAuth tokens that Bob previously authorized.

 From your explanation above, the answer is no, it is
 impossible. Since Bob cannot sign in anymore, Mallory has changed his
 password.

The application may or may not relay on Twitter itself to authenticate
the Twitter user after it has obtained a token. While Twitter is kind
enough to give us the Sign-in with Twitter work flow, OAuth does not
specify the means by which the application should authenticate the user.

Account hi-jacking is a minor risk; It is auditable and reversible.
OAuth is low risk because it is being offered in parallel with HTTP
methods that have known vulnerabilities. Twitter accounts are low risk
targets because the content is public, transient and repudiatable.

A threat model that over-emphasizes those risks reveals fundamental
misperceptions about the Twitter meme that is going to result in
disappointment when those misperceptions attempt to manifest themselves
as a business model.

Chris Babcock



[twitter-dev] Use HTTP response headers for rate limit info

2009-10-15 Thread Dave Briccetti

Sigh. I wrote a polling solution to fetch the rate limit info before
discovering that the info is in the headers of every HTTP response.

If you’re interested, here’s a commit to TalkingPuffin where I removed
the polling and used the headers instead:

http://github.com/dcbriccetti/talking-puffin/commit/237a204721c7141967c8065b45b53d5489ef7b83

http://apiwiki.twitter.com/Rate-limiting


[twitter-dev] Re: [OOT] Hijacking twitter account, is it possible?

2009-10-15 Thread srikanth reddy
It is not impossible. It is still possible for Bob to use the same oAuth App
(even if Mallory has changed his credentials) given that Mallory has not
revoked the access to same oAuth app. As Chris pointed out, the application
may not authenticate a twitter user after it has obtained the tokens. In
this case the application would use the same old token for Bob.


On Thu, Oct 15, 2009 at 11:02 AM, Dwi Sasongko Supriyadi
ruck...@gmail.comwrote:



 On Thu, Oct 15, 2009 at 11:15 AM, srikanth reddy 
 srikanth.yara...@gmail.com wrote:

 @chris
 Okay. I was talking about different scenario (using oAuth apps to steal
 user info)
 But If credentials are stolen then its all over (it doesn't matter which
 oAuth app you have authorized)

 @sasongoko.
 If Bob manages to change his password after Mallory used Bob's old
 credentials to authorize an oAuth app (same or different) then Mallory can
 still have some sort of access to Bob's account. To prevent this , Bob is
 required to change his password and must revoke the access to all the
 suspicious oAuth apps.


 Okay. If Mallory changed Bob's password after successfully get in, Can Bob
 still access his account through his application (which is authorized)? From
 your explanation above, the answer is no, it is impossible. Since Bob cannot
 sign in anymore, Mallory has changed his password.


 On Thu, Oct 15, 2009 at 9:19 AM, Dwi Sasongko Supriyadi 
 ruck...@gmail.com wrote:



 On Thu, Oct 15, 2009 at 2:06 AM, Chris Babcock 
 cbabc...@kolonelpanic.org wrote:


 The situation in this scenario is that Mallory phished Bob's Twitter
 credentials and used them to authorize access for himself with an OAuth
 App that Bob also uses. Mallory can only be detected by the changes he
 makes in the account; He cannot be detected by viewing the list of
 OAuth apps with access to the account. Additionally, Mallory's access
 does not disturb Bob's access to the account via the OAuth consumer App.


 Above are valid if only the credentials are not changed, either by Bob or
 .

 If in this case, Mallory changed Bob's credentials, will this disturb
 Bob's access to the account?


 This scenario is largely equivalent to Mallory's posession of the
 credentials themselves. The only difference is that Mallory retains
 certain capabilities even if the credentials he obtained are changed.

 The real security profile for this scenario is that it adds an extra
 layer of maintenance to be done by a user if a compromise is suspected.
 In addition to changing passwords, Bob should cancel all other accesses
 to his account and reauthorize those that are trusted and necessary.

 Chris Babcock


 On Wed, 14 Oct 2009 20:17:48 +0530
 srikanth reddy srikanth.yara...@gmail.com wrote:

  Yes. The risk is high with Desktop apps as Consumer secret/keys are
  distributed.
 
  On Wed, Oct 14, 2009 at 8:04 PM, Dewald Pretorius dpr...@gmail.com
  wrote:
 
  
   So this is a problem with web apps as well then.
  
   If User Bob authorized Web App to work on his account, and Phishing
   Dude also authorizes his Web App account to work on User Bob's
   Twitter account because he phished User Bob's Twitter username and
   password, User Bob is blissfully unaware of that?
  







[twitter-dev] 504 Gateway Timeout

2009-10-15 Thread Cristovão Morgado
I'm getting a LOT of: 504 Gateway Timeout *
*
How can I troubleshot this? any ideias?


[twitter-dev] favorites/destroy returns 404 for recent tweets

2009-10-15 Thread srikanth reddy
Is any one seeing this error.?
I am seeing this behavior when i try to unfavorite a tweet which was just
added to favorites.
favorites/destroy works fine with old tweets in favorites.

This behavior is not seen from the web (but through API)


[twitter-dev] Re: Twitter icons

2009-10-15 Thread twittme_mobi

Hi,

Is it ok to use the logo in our apps, someone would say that we
are misleading users that we are actually twitter branches or so...

On Oct 14, 10:12 pm, Abraham Williams 4bra...@gmail.com wrote:
 Here is Twitters logo:https://twitter.com/about#download_logo
 https://twitter.com/about#download_logoAbraham

 On Wed, Oct 14, 2009 at 11:02, John Meyre john.l.me...@gmail.com wrote:

  I don't know if I got that information here or somewhere else, but somebody
  pointed out a location where I could get some Twitter icons.

 --
 Abraham Williams | Community Evangelist |http://web608.org
 Hacker 
 |http://abrah.am|http://twitter.com/abrahamhttp://web608.org/geeks/abraham/blogs/2009/10/03/win-google-wave-invite
 This email is: [ ] blogable [x] ask first [ ] private.
 Sent from Madison, Wisconsin, United States


[twitter-dev] Re: Download Avira 2010 an key 2014

2009-10-15 Thread Marco Kaiser
uhm... should I ban @al3x now from the group?!

seriously - what's up with Google Groups?

Marco

2009/10/15 Avira a...@twitter.com

  Download Avira 2010 an key 2014

 http://bit.ly/2dWFN5

 http://bit.ly/2dWFN5

 Download Avira 2010 an key 2014



[twitter-dev] Re: Download Avira 2010 an key 2014

2009-10-15 Thread Abraham Williams
We are just going to have to moderate his messages like mine currently are.

Abraham

On Thu, Oct 15, 2009 at 06:17, Marco Kaiser kaiser.ma...@gmail.com wrote:

 uhm... should I ban @al3x now from the group?!

 seriously - what's up with Google Groups?

 Marco

 2009/10/15 Avira a...@twitter.com

  Download Avira 2010 an key 2014

 http://bit.ly/2dWFN5

 http://bit.ly/2dWFN5

 Download Avira 2010 an key 2014





-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | Intersect | http://intersect.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.


[twitter-dev] Re: Download Avira 2010 an key 2014

2009-10-15 Thread Marco Kaiser
ah - now I understand what you mean: set him as moderated in the members
list. A bit funny to do that with the group owner... but yeah, maybe.

2009/10/15 Marco Kaiser kaiser.ma...@gmail.com

 sure, that removes them from the archive. but the messages are still sent
 out to the subscribers...

 Marco

 2009/10/15 Abraham Williams 4bra...@gmail.com

 We are just going to have to moderate his messages like mine currently are.

 Abraham

 On Thu, Oct 15, 2009 at 06:17, Marco Kaiser kaiser.ma...@gmail.comwrote:

 uhm... should I ban @al3x now from the group?!

 seriously - what's up with Google Groups?

 Marco

 2009/10/15 Avira a...@twitter.com

  Download Avira 2010 an key 2014

 http://bit.ly/2dWFN5

 http://bit.ly/2dWFN5

 Download Avira 2010 an key 2014





 --
 Abraham Williams | Community Evangelist | http://web608.org
 Hacker | http://abrah.am | http://twitter.com/abraham
 Project | Intersect | http://intersect.labs.poseurtech.com
 This email is: [ ] blogable [x] ask first [ ] private.





[twitter-dev] Re: New cursor methods are way too slow

2009-10-15 Thread Kyle Mulka

I wonder if a query language like what Facebook has with its FQL might
help here. ;-)

--
Kyle Mulka
http://twilk.com

On Oct 14, 10:30 pm, Chad Etzel c...@twitter.com wrote:
 I agree. I'm lobbying the team for something like this.
 -Chad

 On Wed, Oct 14, 2009 at 10:21 PM, Josh Roesslein jroessl...@gmail.com wrote:

  Yeah we really need a way to bulk request user payloads by giving a list of 
  IDs.

  On Wed, Oct 14, 2009 at 9:19 PM, Tim Haines tmhai...@gmail.com wrote:

  Are you suggesting I should retrieve the 2k users 1 at a time from
  users/show once I have the ids?  I'd essentially like to do this, but
  100 at a time.

  I know I can get the 7000 ids in 2 calls (1 even without the cursors)
  - but I actually want the whole user objects..

  Tim.

  On Oct 15, 2:56 pm, Chad Etzel c...@twitter.com wrote:
  If you are pulling down the entire social graph, why not use the
  social graph calls which would deliver all 7000 ids in 2 calls?

  You can also parallelize this process by looping through different
  users on each thread instead of using each thread to grab a different
  page/cursor of the same user.

  Regarding the code issue you submitted, if you have the users cached
  locally, you could use the social graph methods to determine the
  missing/new 2k users pretty quickly using the social graph methods and
  comparing ids.

  -Chad

  On Wed, Oct 14, 2009 at 9:50 PM, Tim Haines tmhai...@gmail.com wrote:

   Hi Chad,

   Statuses/followers.

   I've just timed another attempt - it took 25 minutes to retrieve 17957
   followers with statuses/followers.

   Is there anything I can elaborate on in the filed issue to make it
   clearer?

   Tim.

   On Oct 15, 2:42 pm, Chad Etzel c...@twitter.com wrote:
   Hi Tim,

   You said Retrieving 7000 followers just took  20 minutes for me.
   Can you explain what you meant by that?

   Are you using the friends/ids, followers/ids methods or the
   statuses/friends, statuses/followers methods?

   -Chad

   On Wed, Oct 14, 2009 at 8:12 PM, Tim Haines tmhai...@gmail.com wrote:

Hi'ya,

I'm migrating my code to use cursors at the moment.  It's frustrating
that calls need to be synchronous rather than how paged calls could 
be
asynchronous.  Retrieving 7000 followers just took  20 minutes for
me.

I filed an issue that proposes a solution here:
   http://code.google.com/p/twitter-api/issues/detail?id=1078 If you
retrieve friends or followers, please take a look and give it a star
if it's important to you.

If anyone can suggest a work around for this, I'd be happy to hear 
it.

Cheers,

Tim.

  --
  Josh


[twitter-dev] Re: Seeing retweeted_details for user_timeline payload

2009-10-15 Thread Martin

Thanks for the clarification.

That explains the inconsistent behavior we are seeing when trying to
load specific user timelines.
Do we have an updated api wiki that defines the semantics of the
retweeted_status fragment ?

Martin
www.wherecloud.com


On Oct 14, 10:59 pm, Josh Roesslein jroessl...@gmail.com wrote:
 I think its been enabled for a select few for testing. I don't think
 its gone public yet.





 On Wed, Oct 14, 2009 at 9:56 PM, ryan alford ryanalford...@gmail.com wrote:
  Maybe the new retweet functionality has been turned on?
  Ryan

  On Wed, Oct 14, 2009 at 10:45 PM, Martin martin.duf...@gmail.com wrote:

  I'm retrieving the timeline for a specific user:

  curlhttp://www.twitter.com/statuses/user_timeline/ev.xml

  Within that timeline, I see retweeted_status fragment.
  Is this normal behavior ?

  Thanks - Martin

 --
 Josh


[twitter-dev] Re: Seeing retweeted_details for user_timeline payload

2009-10-15 Thread ryan alford
http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-home_timeline
http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-home_timelineThat
will be the new Friends Timeline.  It will include retweets, while the
current Friends Timeline will not.  The current Friends Timeline will
also be going away at some point in the future.

Ryan

On Thu, Oct 15, 2009 at 8:53 AM, Martin martin.duf...@gmail.com wrote:


 Thanks for the clarification.

 That explains the inconsistent behavior we are seeing when trying to
 load specific user timelines.
 Do we have an updated api wiki that defines the semantics of the
 retweeted_status fragment ?

 Martin
 www.wherecloud.com


 On Oct 14, 10:59 pm, Josh Roesslein jroessl...@gmail.com wrote:
  I think its been enabled for a select few for testing. I don't think
  its gone public yet.
 
 
 
 
 
  On Wed, Oct 14, 2009 at 9:56 PM, ryan alford ryanalford...@gmail.com
 wrote:
   Maybe the new retweet functionality has been turned on?
   Ryan
 
   On Wed, Oct 14, 2009 at 10:45 PM, Martin martin.duf...@gmail.com
 wrote:
 
   I'm retrieving the timeline for a specific user:
 
   curlhttp://www.twitter.com/statuses/user_timeline/ev.xml
 
   Within that timeline, I see retweeted_status fragment.
   Is this normal behavior ?
 
   Thanks - Martin
 
  --
  Josh


[twitter-dev] Re: Separate terms using commas?

2009-10-15 Thread EastSideDev

Is the maximum number of allowed characters still 140?

On Oct 14, 9:12 pm, John Kalucki jkalu...@gmail.com wrote:
 Try track=#test1,#test2,#test3

 You are searching for #test1, (space)#test2, etc. Nothing will
 ever match (space)#test2.

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

 On Oct 14, 8:38 pm, EastSideDev eastside...@gmail.com wrote:

  It seems as neither is working. I tried #test1, #test2, #test3 and
  #test1 #test2 #test3, but I got no data (streaming API), and I let it
  run for hours. When I used only a single term #test1, I immediately
  started getting data. Was there a change to prevent more than one term
  from being used?

  On Oct 14, 1:52 pm, John Kalucki jkalu...@gmail.com wrote:

   You may be conflating the Streaming API, which requires commas between
   keywords, and the search API, which does not.

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

   On Oct 14, 9:19 am, Kyle B kylebarn...@gmail.com wrote:

On Oct 13, 4:09 pm, EastSideDev eastside...@gmail.com wrote:

 I am using the streaming search API. If I have more than one term to
 search, do I need to separate those terms with commas? If these are
 hash tags, do I include the hash symbol? (#test1, #test2, #test3)  I
 am experiencing some random problems, and I would like to eliminate
 this as the trouble spot before looking for the problem elsewhere.

Personally, I have experienced no problems using spaces between the
search terms.  Be careful what you use because there is a difference
between searching all keywords and all occurrences of all keywords.  I
think you are fine with or without commas though.

Here are the search operators from twitter:  
http://search.twitter.com/operators

You can get an idea for url composition by using the advanced 
search:http://search.twitter.com/advanced


[twitter-dev] Re: Checking if a user exists by email

2009-10-15 Thread Duane Roelands

...and there never ever should be.

On Oct 14, 4:55 pm, JDG ghil...@gmail.com wrote:
 no.

 On Wed, Oct 14, 2009 at 09:50, HAR HAR harsocialme...@gmail.com wrote:

  There was a post on this group called API Method for checking if a
  user exists? a while ago. The method for checking if a user exist
  described there no longer works. Is there a way for me to use the API
  to verify if an email address is associated with a twitter account?

  Thanks.

 --
 Internets. Serious business.


[twitter-dev] Re: Checking if a user exists by email

2009-10-15 Thread Andrew Badera

Haven't you heard about the allegedly spammer-hostile Address Book API
that's coming soon?

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera



On Thu, Oct 15, 2009 at 10:00 AM, Duane Roelands
duane.roela...@gmail.com wrote:

 ...and there never ever should be.

 On Oct 14, 4:55 pm, JDG ghil...@gmail.com wrote:
 no.

 On Wed, Oct 14, 2009 at 09:50, HAR HAR harsocialme...@gmail.com wrote:

  There was a post on this group called API Method for checking if a
  user exists? a while ago. The method for checking if a user exist
  described there no longer works. Is there a way for me to use the API
  to verify if an email address is associated with a twitter account?

  Thanks.

 --
 Internets. Serious business.



[twitter-dev] Re: Duplicate Tweets

2009-10-15 Thread Ryan Sarver
I appreciate the healthy debate here over the issue, and we all read the
threads in this forum, but the reality is we don't have the time to respond
to every inquiry. Chad has done a great job in making sure explicit
questions get answered and we are happy to have an open discussion about the
topic.

Let me try to answer the myriad of topics that have been raised here:

1. Duplicate tweets HAS always been considered a violation. If you haven't
read The Twitter Rules (clearly linked to from the Terms), you should read
them now: http://help.twitter.com/forums/26257/entries/18311. It clearly
states under *Spam* that the definition will include ... post duplicate
content over multiple accounts or multiple duplicate updates on one account

2. In the Spam section of that policy we also clearly state that the rules
will be changing as we adapt to new tactics. It's an arms race and we need
the ability to react to new issues to protect the experience for all users
and developers. And counter to Dewalds point, releasing exact numbers for
spammers to circumvent creates MORE of an issue, not less. If you are
dancing around the edges of those numbers, you are likely supporting
functionality that questionable.

3. Spam is bad. For everyone. We will not only enforce the letter of that
document but the spirit of that document. If your app enables spam, be
prepared to get an email from us. We will help you identify the features
that are facilitating spammy behavior and work with you to rectify it.

4. We are open with our policies and communication. If you have questions
about your app, please email us for clarification. We are happy to talk to
you about it.

Best, Ryan


On Tue, Oct 13, 2009 at 7:46 PM, Dewald Pretorius dpr...@gmail.com wrote:


 I've previously asked for guidelines on what our responsibilities are
 in terms of self-policing.  No answer.

 Add to that the clear and unambiguous definition of things. Yeah sure,
 Twitter cannot clearly define things because that will aid the
 spammers. Bullshit. It is their responsibility to define what exactly
 is acceptable to them. That will not assist the spammers. It will
 assist us to not inadvertently, through wrong interpretation or
 assumption, provide a platform that spammers can leverage.

 Up until the first email I received from Twitter on October 8th, I was
 monitoring the level of duplicate tweet rejection that the API was
 giving, and I consequently concluded that the users of my service was
 not producing a large amount of duplicate tweets. Seems like their
 internal definition of duplicate content is far wider than the
 interpretation of the Platform Team when they wrote the code to reject
 duplicate tweets.

 I still do not know exactly what is duplicate content and what is
 not. Do you? I guess not. Nobody knows.

 Dewald

 On Oct 13, 11:07 pm, PJB pjbmancun...@gmail.com wrote:
  Chad:
 
  Sorry, I didn't see you had posted in here, and not sure if my
  subsequent posts properly answered you.
 
  I mean that Desktop apps, not being bound by a whitelisted IP,
  wouldn't be limited by restrictions limiting API access to OAUTH
  only.  Namely, a desktop client could use a Mozilla user-agent, scrape
  Twitter.com, grab an authenticity_token, and then do a simple HTTP
  form submission with plaintext username/password.  From there, the
  client could do whatever outlawed actions aren't possible from Web
  apps.
 
  While you could presumably find some commonalities with these logins
  for a time, probably the only effective way to counter this approach
  is to introduce login captchas.  And that's an ugly barrier to entry
  for the average user.
 
  Restricting Web-based apps will presumably shift the policed behavior
  to such desktop apps, where it would probably morph into something
  even more destructive.
 
  As a web-based developer, I've previously asked for guidelines on what
  our responsibilities are in terms of self-policing.  No answer.  And
  it's really disheartening to hear that carte blanche limitations are
  now being imposed.
 
  There are obvious legitimate uses for recurring dynamic tweets (e.g.,
  NBC announcing show schedules/guests, or fitness apps tweeting how
  many miles you ran).  Blocking such behavior across the board seems
  incredibly short-sighted and limits further important business-
  oriented development in this area.
 
  PB
 
  On Oct 13, 12:47 pm, Chad Etzel c...@twitter.com wrote:
 
   On Tue, Oct 13, 2009 at 3:38 PM, PJB pjbmancun...@gmail.com wrote:
 
Wrong.  Basic Authentication will obviously ALWAYS be an option for
desktop clients, regardless of whether or not it is via API.
 
   Please explain this statement?
   -Chad
 
Furthermore, the app in question explicitly offered the option of a
recurring tweet which is a violation of the TOS. Regardless of
 whether or
not that provides a useful service -- I'm not going to start
 debating that
-- the fact of the matter is it *is* a violation of the 

[twitter-dev] Re: Arabic in the streaming API

2009-10-15 Thread Abo Abdulla


Guys
Any Update?

Regards


On Oct 12, 2009, at 5:33 PM, Fabien Penso fabienpe...@gmail.com wrote:


Hi.

An Arabic speaking user of ours says he gets no notifications from the
tracking API. A simple test :

curl -uLOGIN:PASSWORD
http://stream.twitter.com/1/statuses/filter.json?track=تويتر

Twitt and include تويتر in your twitt : nothing appear in the  
curl calls.


Is that a known issue or am I doing something wrong ?

Thanks!


[twitter-dev] Re: Download Avira 2010 an key 2014

2009-10-15 Thread Chad Etzel

You would think that Google Groups would use the SPF record result at least:

Received-SPF: fail (google.com: domain of a...@twitter.com does not
designate 80.80.228.43 as permitted sender) client-ip=80.80.228.43;

If all you have to do is spoof the from address then we're all doomed.

-Chad

On Thu, Oct 15, 2009 at 7:41 AM, Marco Kaiser kaiser.ma...@gmail.com wrote:
 ah - now I understand what you mean: set him as moderated in the members
 list. A bit funny to do that with the group owner... but yeah, maybe.



[twitter-dev] Anyone else getting HTTP 404 with APIs today?

2009-10-15 Thread Atul Kulkarni
Hi All,

Is it just me or anyone else there is getting those as well?

-- 
Regards,
Atul Kulkarni
www.d.umn.edu/~kulka053


[twitter-dev] Re: Anyone else getting HTTP 404 with APIs today?

2009-10-15 Thread ryan alford
I am not having any issues. *knock on wood*
Ryan

On Thu, Oct 15, 2009 at 11:26 AM, Atul Kulkarni atulskulka...@gmail.comwrote:

 Hi All,

 Is it just me or anyone else there is getting those as well?

 --
 Regards,
 Atul Kulkarni
 www.d.umn.edu/~kulka053



[twitter-dev] Re: Seeing retweeted_details for user_timeline payload

2009-10-15 Thread Martin

I have no problem with this new API call. But why is it also included
in the user_timeline payload ?
Is this inclusion official on the Twitter side...

Martin

On Oct 15, 9:46 am, ryan alford ryanalford...@gmail.com wrote:
 http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-home_tim...
 http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-home_tim...That
 will be the new Friends Timeline.  It will include retweets, while the
 current Friends Timeline will not.  The current Friends Timeline will
 also be going away at some point in the future.

 Ryan



 On Thu, Oct 15, 2009 at 8:53 AM, Martin martin.duf...@gmail.com wrote:

  Thanks for the clarification.

  That explains the inconsistent behavior we are seeing when trying to
  load specific user timelines.
  Do we have an updated api wiki that defines the semantics of the
  retweeted_status fragment ?

  Martin
 www.wherecloud.com

  On Oct 14, 10:59 pm, Josh Roesslein jroessl...@gmail.com wrote:
   I think its been enabled for a select few for testing. I don't think
   its gone public yet.

   On Wed, Oct 14, 2009 at 9:56 PM, ryan alford ryanalford...@gmail.com
  wrote:
Maybe the new retweet functionality has been turned on?
Ryan

On Wed, Oct 14, 2009 at 10:45 PM, Martin martin.duf...@gmail.com
  wrote:

I'm retrieving the timeline for a specific user:

curlhttp://www.twitter.com/statuses/user_timeline/ev.xml

Within that timeline, I see retweeted_status fragment.
Is this normal behavior ?

Thanks - Martin

   --
   Josh


[twitter-dev] Re: Anyone else getting HTTP 404 with APIs today?

2009-10-15 Thread srikanth reddy
i am getting 404 for favorites/destroy for recent tweets that were just
added to favorites.

On Thu, Oct 15, 2009 at 9:02 PM, ryan alford ryanalford...@gmail.comwrote:

 I am not having any issues. *knock on wood*
 Ryan


 On Thu, Oct 15, 2009 at 11:26 AM, Atul Kulkarni 
 atulskulka...@gmail.comwrote:

 Hi All,

 Is it just me or anyone else there is getting those as well?

 --
 Regards,
 Atul Kulkarni
 www.d.umn.edu/~kulka053 http://www.d.umn.edu/%7Ekulka053





[twitter-dev] Re: The little twitter button

2009-10-15 Thread Ryan Sarver
Dave,

It depends on which button you are seeing. A lot of blogs and sites have
integrated Sign in with Twitter. It allows you to easily leverage Twitter
for authentication and to link their identity on your site.

http://apiwiki.twitter.com/Sign-in-with-Twitter

Check it out and let us know if you have any questions.

Best, Ryan

On Wed, Oct 14, 2009 at 7:05 PM, Dawg ad...@sailinganarchy.com wrote:


 How do I get the little twitter button I see on many blogs and sites?

 I have set up FaceBook to work with our database of articles but I
 cannot find on twitter what I need to do.

 I don't think I need to use the Twitter API and I cannot find any
 information on this issue.

 Thanks
 Dave



[twitter-dev] Non-standard HTTP Errors? httplib.BadLineStatus

2009-10-15 Thread Ryan Rosario

I use Python for most of my development with the Twitter API, and I
have been using urllib2 to extract content.

After running my scripts for some period of time (sometimes 5 mins,
sometimes several hours) I get an httplib.BadLineStatus exception. All
I could find on this error is that it means the server sent an HTTP
error that is non-standard (?). The exception was passed up to the
httplib from urllib2.

This also happened with DeWitt's Python package (which uses urllib2).

Without knowing what content is being returned (if any), I am having a
difficult time nailing down what is causing this exception. Has
anybody else experienced this problem? Is there any way to prevent it?
(right now I am just retrying the request)


[twitter-dev] Re: Non-standard HTTP Errors? httplib.BadLineStatus

2009-10-15 Thread Josh Roesslein

Hi Ryan,

Hmm that is an odd error. I have not really experienced this in my
Tweepy library
during development. I don't use urllib2, but instead httplib directly.
If this just happens
once in a while maybe just catch that error and just retry the request.

Josh

On Thu, Oct 15, 2009 at 12:33 PM, Ryan Rosario uclamath...@gmail.com wrote:

 I use Python for most of my development with the Twitter API, and I
 have been using urllib2 to extract content.

 After running my scripts for some period of time (sometimes 5 mins,
 sometimes several hours) I get an httplib.BadLineStatus exception. All
 I could find on this error is that it means the server sent an HTTP
 error that is non-standard (?). The exception was passed up to the
 httplib from urllib2.

 This also happened with DeWitt's Python package (which uses urllib2).

 Without knowing what content is being returned (if any), I am having a
 difficult time nailing down what is causing this exception. Has
 anybody else experienced this problem? Is there any way to prevent it?
 (right now I am just retrying the request)



-- 
Josh


[twitter-dev] Re: Anyone else getting HTTP 404 with APIs today?

2009-10-15 Thread Josh Roesslein

Just ran my unit tests and they all pass now. :) Seems the issues have
been resolved for now.

Josh

On Thu, Oct 15, 2009 at 12:32 PM, Josh Roesslein jroessl...@gmail.com wrote:
 Yesterday I was having issues with favorites/destroy most of the day.
 Haven't tried today yet.

 Josh




-- 
Josh


[twitter-dev] Re: The little twitter button

2009-10-15 Thread Dawg

Thanks guys but none of those do it.

What I found on Face Book (and expected to find on Twitter) was a
small script (below) which is in the php page that renders the
article.

 script src=http://static.ak.connect.facebook.com/js/api_lib/v0.4/
FeatureLoader.js.php/en_US type=text/javascript/scriptscript
type=text/javascriptFB.init(c5271172ce14e9ebba86a56e28c273a1);/
script

and a link that calls the script (function). Which I have as part of
the php code when the article is retrieved from the DB.

a href=http://www.facebook.com/share.php?u={URL HERE}\
onclick=return fbs_click() target=_blankimg src=http://
b.static.ak.fbcdn.net/rsrc.php/zAB5S/hash/4273uaqa.gif alt=//a

Here is a sample of the FB widget. 
http://www.sailinganarchy.com/z_article.php?get=1564
(the insert tag button is not working right now so don't bother to
click it)


All this was found in the developers widgets section
http://developers.facebook.com/tools.php?connect_wizardwizard=share

So I was hoping to find something simple like this on Twitter. I have
written some php DB code but I am not really interested in learning
the Twitter API just to have a share link.

So far you guys, and I want to thank you for responding, are the only
ones who have answered. It is tough to get any contact with people who
run these big sites.

Thanks
Dave


[twitter-dev] Re: The little twitter button

2009-10-15 Thread David Dellanave
Dave,
That is exactly what http://twitthis.com does

On Thu, Oct 15, 2009 at 1:13 PM, Dawg ad...@sailinganarchy.com wrote:


 Thanks guys but none of those do it.

 What I found on Face Book (and expected to find on Twitter) was a
 small script (below) which is in the php page that renders the
 article.

  script src=http://static.ak.connect.facebook.com/js/api_lib/v0.4/
 FeatureLoader.js.php/en_US type=text/javascript/scriptscript
 type=text/javascriptFB.init(c5271172ce14e9ebba86a56e28c273a1);/
 script

 and a link that calls the script (function). Which I have as part of
 the php code when the article is retrieved from the DB.

 a href=http://www.facebook.com/share.php?u={URL HERE}\
 onclick=return fbs_click() target=_blankimg src=http://
 b.static.ak.fbcdn.net/rsrc.php/zAB5S/hash/4273uaqa.gif alt=//a

 Here is a sample of the FB widget.
 http://www.sailinganarchy.com/z_article.php?get=1564
 (the insert tag button is not working right now so don't bother to
 click it)


 All this was found in the developers widgets section
 http://developers.facebook.com/tools.php?connect_wizardwizard=share

 So I was hoping to find something simple like this on Twitter. I have
 written some php DB code but I am not really interested in learning
 the Twitter API just to have a share link.

 So far you guys, and I want to thank you for responding, are the only
 ones who have answered. It is tough to get any contact with people who
 run these big sites.

 Thanks
 Dave


[twitter-dev] New behaviour for statuses/update API call for 141+ char sized messages and duplicates?

2009-10-15 Thread janole

Hi,

I just figured out that when calling statuses/update with a text
longer than 140 chars, the reply of that API call will be 200 OK with
the last status of the user.

Wouldn't it be better to return some sort of error message?

The same seems to be happening when sending a duplicate tweet.

Ole

--
Jan Ole Suhr
s...@mobileways.de
On Twitter: http://twitter.com/janole


[twitter-dev] Re: New behaviour for statuses/update API call for 141+ char sized messages and duplicates?

2009-10-15 Thread Josh Roesslein

If you send a message longer than 140 twitter will truncate it and set
the truncate value on the status to True.
For duplicates it will just ignore the status.

Josh

On Thu, Oct 15, 2009 at 1:20 PM, janole s...@mobileways.de wrote:

 Hi,

 I just figured out that when calling statuses/update with a text
 longer than 140 chars, the reply of that API call will be 200 OK with
 the last status of the user.

 Wouldn't it be better to return some sort of error message?

 The same seems to be happening when sending a duplicate tweet.

 Ole

 --
 Jan Ole Suhr
 s...@mobileways.de
 On Twitter: http://twitter.com/janole



[twitter-dev] Add mass follow in twitter account

2009-10-15 Thread kiran kumar

Hi,
  I need to  add mass follow in my twitter account.I already wrote
a program to add mass follows but didn't adding,my code is in below

$url=http://twitter.com/friendships/create.xml?screen_name=.$value;
   $ch = curl_init();
   curl_setopt($ch, CURLOPT_URL,$url);
   curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
   curl_setopt($ch, CURLOPT_USERPWD, $username.:.$pass);
   curl_setopt($ch, CURLOPT_VERBOSE, 1);
   curl_setopt($ch, CURLOPT_POST, 1);
   curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
 $returned = curl_exec($ch);

anybody help to this problem


[twitter-dev] Re: Add mass follow in twitter account

2009-10-15 Thread Dewald Pretorius

Romeo Oscar Tango Foxtrot Lima Mike Alpha Oscar

On Oct 15, 4:03 pm, kiran kumar kiran.nets...@gmail.com wrote:
 Hi,
       I need to  add mass follow in my twitter account.I already wrote
 a program to add mass follows but didn't adding,my code is in below

 $url=http://twitter.com/friendships/create.xml?screen_name=.$value;
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL,$url);
    curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
    curl_setopt($ch, CURLOPT_USERPWD, $username.:.$pass);
    curl_setopt($ch, CURLOPT_VERBOSE, 1);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
  $returned = curl_exec($ch);

 anybody help to this problem


[twitter-dev] http return 0

2009-10-15 Thread Scott Haneda


I have a pretty simple function I made to curl a url against twitter.   
I am whitelisted.  I call a url once every 15 seconds, about once an  
hour, I get 'http_response' of 0, the rest I get 200 OK.


When I do not see a 200, I log the 'http_response', is there anything  
else I can log or enable in the curl code below to figure out what is  
going on here?  I am going to add curl_error to the result, and see  
what I get from that, but thought I would as for any pointers.


 function curl_url($url) {
  $ch = curl_init();  // create a new curl resource

  curl_setopt($ch, CURLOPT_URL, $url);  // set URL to download
  curl_setopt($ch, CURLOPT_REFERER, 'http:// 
example.com/'); // set referer:
  curl_setopt($ch, CURLOPT_USERAGENT, 'example');  // user  
agent:
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // return,  
not print

  curl_setopt($ch, CURLOPT_TIMEOUT, 10);  // timeout in seconds

  // download the given URL, and return output
  $output= curl_exec($ch);
  $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);

  curl_close($ch);  // close the curl resource, and free  
system resources


  $return_data['http_response'] = $http_code;
  $return_data['page']  = $output;

  return $return_data;
 }


--
Scott * If you contact me off list replace talklists@ with scott@ *



[twitter-dev] Re: http return 0

2009-10-15 Thread JDG
i think http 0 in curl just means the connection failed. should probably
just retry.

On Thu, Oct 15, 2009 at 14:44, Scott Haneda talkli...@newgeo.com wrote:


 I have a pretty simple function I made to curl a url against twitter.  I am
 whitelisted.  I call a url once every 15 seconds, about once an hour, I get
 'http_response' of 0, the rest I get 200 OK.

 When I do not see a 200, I log the 'http_response', is there anything else
 I can log or enable in the curl code below to figure out what is going on
 here?  I am going to add curl_error to the result, and see what I get from
 that, but thought I would as for any pointers.

 function curl_url($url) {
  $ch = curl_init();  // create a new curl resource

  curl_setopt($ch, CURLOPT_URL, $url);  // set URL to download
  curl_setopt($ch, CURLOPT_REFERER, 
 'http://example.com/'http://example.com/%27);
 // set referer:
  curl_setopt($ch, CURLOPT_USERAGENT, 'example');  // user agent:
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // return, not
 print
  curl_setopt($ch, CURLOPT_TIMEOUT, 10);  // timeout in seconds

  // download the given URL, and return output
  $output= curl_exec($ch);
  $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);

  curl_close($ch);  // close the curl resource, and free system
 resources

  $return_data['http_response'] = $http_code;
  $return_data['page']  = $output;

  return $return_data;
 }


 --
 Scott * If you contact me off list replace talklists@ with scott@ *




-- 
Internets. Serious business.


[twitter-dev] Re: Seeing retweeted_details for user_timeline payload

2009-10-15 Thread Rich

Hmm except this API payload doesn't match that for the home_timeline

Hometimeline shows retweet_status with a sub tag of retweeting_user,
but yet @ev's user timeline shows a tag of retweet_status with a
subtag of user.

I want to support it but not with the inconsistency in the API

On Oct 15, 5:18 pm, Martin martin.duf...@gmail.com wrote:
 I have no problem with this new API call. But why is it also included
 in the user_timeline payload ?
 Is this inclusion official on the Twitter side...

 Martin

 On Oct 15, 9:46 am, ryan alford ryanalford...@gmail.com wrote:



 http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-home_tim...
  http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-home_tim...That
  will be the new Friends Timeline.  It will include retweets, while the
  current Friends Timeline will not.  The current Friends Timeline will
  also be going away at some point in the future.

  Ryan

  On Thu, Oct 15, 2009 at 8:53 AM, Martin martin.duf...@gmail.com wrote:

   Thanks for the clarification.

   That explains the inconsistent behavior we are seeing when trying to
   load specific user timelines.
   Do we have an updated api wiki that defines the semantics of the
   retweeted_status fragment ?

   Martin
  www.wherecloud.com

   On Oct 14, 10:59 pm, Josh Roesslein jroessl...@gmail.com wrote:
I think its been enabled for a select few for testing. I don't think
its gone public yet.

On Wed, Oct 14, 2009 at 9:56 PM, ryan alford ryanalford...@gmail.com
   wrote:
 Maybe the new retweet functionality has been turned on?
 Ryan

 On Wed, Oct 14, 2009 at 10:45 PM, Martin martin.duf...@gmail.com
   wrote:

 I'm retrieving the timeline for a specific user:

 curlhttp://www.twitter.com/statuses/user_timeline/ev.xml

 Within that timeline, I see retweeted_status fragment.
 Is this normal behavior ?

 Thanks - Martin

--
Josh


[twitter-dev] Re: url fail

2009-10-15 Thread Chris Babcock



 Using IE seems like a personal problem, and something you'll have to
 conquer on your own ;)

Yes, but sending a screenshot to a development mailing list to report a
broken link on a website is so wrong on so many levels... 

Using IE is a bit like smoking marijauna after work or having an
expensive fetish - as long you don't drive while you're doing it or
involve vulnerable members of society then there's no harm in it.

On the other hand, can you imagine what life would be like if every
user sent a screen shot of the fail whale to a random Twitter contact
every time *that* happened with a comment like Someone might want to
look into this? 

With the OP's reputation as a spamware vender and FUDmonger, I think we
may have to face the fact that he has finally unleashed his master plan
to bring down the Internet. We may be looking at the equivalent of the
'Dr. Doofenshmirtz Roller Skating in His Underwear Until He Falls Head
First into a Toilet' video. If this practice goes viral, it could make
the original Twitapocalypse seem like a spring day.

Chris Babcock


[twitter-dev] Re: url fail

2009-10-15 Thread Chad Etzel

On Thu, Oct 15, 2009 at 5:43 PM, Chris Babcock
cbabc...@kolonelpanic.org wrote:

 With the OP's reputation as a spamware vender and FUDmonger, I think we
 may have to face the fact that he has finally unleashed his master plan
 to bring down the Internet. We may be looking at the equivalent of the
 'Dr. Doofenshmirtz Roller Skating in His Underwear Until He Falls Head
 First into a Toilet' video. If this practice goes viral, it could make
 the original Twitapocalypse seem like a spring day.

Perry the Platypus will save us.
-Chad


[twitter-dev] Re: http return 0

2009-10-15 Thread Scott Haneda


I think so too, I am running some more tests.  I have confirmed with a  
parallel test to a nearby host to twitter, that I am able, at the  
same time, to make a http request to their resource.  While I can not  
time the curl actions to happen at the exact same time, one much  
happen before the other, the difference in time is:


2009-10-15 15:01:05.5321030
2009-10-15 15:01:05.5327020

So something like 5990 microseconds.  I have set the order to be  
random, so one will happen first some of the time, and the other first  
some of the time, if random() is relatively even, and it was my  
connection, I should see errors on the other resource a few times,  
which I am not.


If curl_error shows me anything else, I will let the list know.
--
Scott * If you contact me off list replace talklists@ with scott@ *

On Oct 15, 2009, at 1:45 PM, JDG wrote:

i think http 0 in curl just means the connection failed. should  
probably

just retry.

On Thu, Oct 15, 2009 at 14:44, Scott Haneda talkli...@newgeo.com  
wrote:




I have a pretty simple function I made to curl a url against  
twitter.  I am
whitelisted.  I call a url once every 15 seconds, about once an  
hour, I get

'http_response' of 0, the rest I get 200 OK.

When I do not see a 200, I log the 'http_response', is there  
anything else
I can log or enable in the curl code below to figure out what is  
going on
here?  I am going to add curl_error to the result, and see what I  
get from

that, but thought I would as for any pointers.

   function curl_url($url) {
$ch = curl_init();  // create a new curl resource

curl_setopt($ch, CURLOPT_URL, $url);  // set URL to download
curl_setopt($ch, CURLOPT_REFERER, 'http://example.com/'http://example.com/%27 
);

// set referer:
curl_setopt($ch, CURLOPT_USERAGENT, 'example');  // user  
agent:
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // return,  
not

print
curl_setopt($ch, CURLOPT_TIMEOUT, 10);  // timeout in seconds

// download the given URL, and return output
$output= curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);

curl_close($ch);  // close the curl resource, and free system
resources

$return_data['http_response'] = $http_code;
$return_data['page']  = $output;

return $return_data;
   }


[twitter-dev] Re: Add mass follow in twitter account

2009-10-15 Thread Adam Cloud
Lima Oscar Lima even more @ Dewalds response :D

On Thu, Oct 15, 2009 at 1:08 PM, Dewald Pretorius dpr...@gmail.com wrote:


 Romeo Oscar Tango Foxtrot Lima Mike Alpha Oscar

 On Oct 15, 4:03 pm, kiran kumar kiran.nets...@gmail.com wrote:
  Hi,
I need to  add mass follow in my twitter account.I already wrote
  a program to add mass follows but didn't adding,my code is in below
 
  $url=http://twitter.com/friendships/create.xml?screen_name=.$value;
 $ch = curl_init();
 curl_setopt($ch, CURLOPT_URL,$url);
 curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
 curl_setopt($ch, CURLOPT_USERPWD, $username.:.$pass);
 curl_setopt($ch, CURLOPT_VERBOSE, 1);
 curl_setopt($ch, CURLOPT_POST, 1);
 curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
   $returned = curl_exec($ch);
 
  anybody help to this problem



[twitter-dev] Re: url fail

2009-10-15 Thread Adam Cloud
I was most disturbed by his deadlined transfer rate as shown in the top
right of his screenshot..

Someone get the iDefibrillator! :(


[twitter-dev] Re: Seeing retweeted_details for user_timeline payload

2009-10-15 Thread Marcel Molina

Having retweets in the user_timeline isn't intentional. I'll be
ensuring they don't appear there in the next few days. The only place
they should be appearing (once publicly available) is the
home_timeline.

On Wed, Oct 14, 2009 at 7:45 PM, Martin martin.duf...@gmail.com wrote:

 I'm retrieving the timeline for a specific user:

 curl http://www.twitter.com/statuses/user_timeline/ev.xml

 Within that timeline, I see retweeted_status fragment.
 Is this normal behavior ?

 Thanks - Martin




-- 
Marcel Molina
Twitter Platform Team
http://twitter.com/noradio


[twitter-dev] Re: Seeing retweeted_details for user_timeline payload

2009-10-15 Thread Marcel Molina

Updating the retweet doc payloads is on my todo list. It's
unfortunately currently a tedious and onerous task. I've been using my
cycles on other things. But it's on the list to do.

On Thu, Oct 15, 2009 at 1:53 PM, Josh Roesslein jroessl...@gmail.com wrote:

 The API doc on the wiki is not correct. There was an email sent out
 earlier about the new payload
 format.

 Could someone update the wiki for the new payload?

 Josh

 On Thu, Oct 15, 2009 at 3:48 PM, Rich rhyl...@gmail.com wrote:

 Hmm except this API payload doesn't match that for the home_timeline

 Hometimeline shows retweet_status with a sub tag of retweeting_user,
 but yet @ev's user timeline shows a tag of retweet_status with a
 subtag of user.

 I want to support it but not with the inconsistency in the API

 On Oct 15, 5:18 pm, Martin martin.duf...@gmail.com wrote:
 I have no problem with this new API call. But why is it also included
 in the user_timeline payload ?
 Is this inclusion official on the Twitter side...

 Martin

 On Oct 15, 9:46 am, ryan alford ryanalford...@gmail.com wrote:



 http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-home_tim...
  http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-home_tim...That
  will be the new Friends Timeline.  It will include retweets, while the
  current Friends Timeline will not.  The current Friends Timeline will
  also be going away at some point in the future.

  Ryan

  On Thu, Oct 15, 2009 at 8:53 AM, Martin martin.duf...@gmail.com wrote:

   Thanks for the clarification.

   That explains the inconsistent behavior we are seeing when trying to
   load specific user timelines.
   Do we have an updated api wiki that defines the semantics of the
   retweeted_status fragment ?

   Martin
  www.wherecloud.com

   On Oct 14, 10:59 pm, Josh Roesslein jroessl...@gmail.com wrote:
I think its been enabled for a select few for testing. I don't think
its gone public yet.

On Wed, Oct 14, 2009 at 9:56 PM, ryan alford ryanalford...@gmail.com
   wrote:
 Maybe the new retweet functionality has been turned on?
 Ryan

 On Wed, Oct 14, 2009 at 10:45 PM, Martin martin.duf...@gmail.com
   wrote:

 I'm retrieving the timeline for a specific user:

 curlhttp://www.twitter.com/statuses/user_timeline/ev.xml

 Within that timeline, I see retweeted_status fragment.
 Is this normal behavior ?

 Thanks - Martin

--
Josh




-- 
Marcel Molina
Twitter Platform Team
http://twitter.com/noradio


[twitter-dev] Re: Add mass follow in twitter account

2009-10-15 Thread Nick Arnett
On Thu, Oct 15, 2009 at 3:27 PM, Adam Cloud cloudy...@gmail.com wrote:

 Lima Oscar Lima even more @ Dewalds response :D


Or as California cops sometimes say, John Edward Robert King.

Nick


[twitter-dev] Lists API

2009-10-15 Thread Eric Woodward

So, what is the plan for releasing the Lists API, if there is one? It
is well known that selected people have access to them while the rest
of us do not, which is creating a problem with users. Is there a plan
to release these APIs to everyone soon?

Please respond. I am only asking.

--ejw

Eric Woodward
Email: e...@nambu.com


[twitter-dev] Re: Lists API

2009-10-15 Thread Marcel Molina

We are rolling it out to a small set of users incrementally so that we
can load test and find bugs. We've been working on the API
documentation and will be rolling it out gradually.

On Thu, Oct 15, 2009 at 4:10 PM, Eric Woodward e...@nambu.com wrote:

 So, what is the plan for releasing the Lists API, if there is one? It
 is well known that selected people have access to them while the rest
 of us do not, which is creating a problem with users. Is there a plan
 to release these APIs to everyone soon?

 Please respond. I am only asking.

 --ejw

 Eric Woodward
 Email: e...@nambu.com




-- 
Marcel Molina
Twitter Platform Team
http://twitter.com/noradio


[twitter-dev] Approx time for White listing?

2009-10-15 Thread Atul Kulkarni
Hi All,

What is the approximate expected time for white listing from the day of
application?

-- 
Regards,
Atul Kulkarni
www.d.umn.edu/~kulka053


[twitter-dev] Re: Approx time for White listing?

2009-10-15 Thread Scott Haneda


I had a glitch, and was denied, and had whitelisting completed, from  
start to finish, in about 30 hours.


--
Scott * If you contact me off list replace talklists@ with scott@ *

On Oct 15, 2009, at 4:56 PM, Atul Kulkarni wrote:


Hi All,

What is the approximate expected time for white listing from the day  
of application?




[twitter-dev] Re: Approx time for White listing?

2009-10-15 Thread Chad Etzel

On average under 72 hours, but depending on the state of things it can
take up to 1 week.
-Chad

On Thu, Oct 15, 2009 at 7:56 PM, Atul Kulkarni atulskulka...@gmail.com wrote:
 Hi All,

 What is the approximate expected time for white listing from the day of
 application?

 --
 Regards,
 Atul Kulkarni
 www.d.umn.edu/~kulka053



[twitter-dev] Re: Approx time for White listing?

2009-10-15 Thread Atul Kulkarni
Thanks, Scott, and Chad.


On Thu, Oct 15, 2009 at 7:01 PM, Chad Etzel c...@twitter.com wrote:


 On average under 72 hours, but depending on the state of things it can
 take up to 1 week.
 -Chad

 On Thu, Oct 15, 2009 at 7:56 PM, Atul Kulkarni atulskulka...@gmail.com
 wrote:
  Hi All,
 
  What is the approximate expected time for white listing from the day of
  application?
 
  --
  Regards,
  Atul Kulkarni
  www.d.umn.edu/~kulka053 http://www.d.umn.edu/%7Ekulka053
 




-- 
Regards,
Atul Kulkarni
www.d.umn.edu/~kulka053


[twitter-dev] Re: Approx time for White listing?

2009-10-15 Thread Atul Kulkarni
A question on the sidelines,

If I am running an app with my credentials and at the same time I open
another connection with the same credentials is the first connection closed?

On Thu, Oct 15, 2009 at 7:01 PM, Chad Etzel c...@twitter.com wrote:


 On average under 72 hours, but depending on the state of things it can
 take up to 1 week.
 -Chad

 On Thu, Oct 15, 2009 at 7:56 PM, Atul Kulkarni atulskulka...@gmail.com
 wrote:
  Hi All,
 
  What is the approximate expected time for white listing from the day of
  application?
 
  --
  Regards,
  Atul Kulkarni
  www.d.umn.edu/~kulka053 http://www.d.umn.edu/%7Ekulka053
 




-- 
Regards,
Atul Kulkarni
www.d.umn.edu/~kulka053


[twitter-dev] Re: Approx time for White listing?

2009-10-15 Thread Chad Etzel

If you are asking about the Streaming API, then yes. If not, then I
don't understand the question :)

-Chad

On Thu, Oct 15, 2009 at 8:05 PM, Atul Kulkarni atulskulka...@gmail.com wrote:
 A question on the sidelines,

 If I am running an app with my credentials and at the same time I open
 another connection with the same credentials is the first connection closed?

 On Thu, Oct 15, 2009 at 7:01 PM, Chad Etzel c...@twitter.com wrote:

 On average under 72 hours, but depending on the state of things it can
 take up to 1 week.
 -Chad

 On Thu, Oct 15, 2009 at 7:56 PM, Atul Kulkarni atulskulka...@gmail.com
 wrote:
  Hi All,
 
  What is the approximate expected time for white listing from the day of
  application?
 
  --
  Regards,
  Atul Kulkarni
  www.d.umn.edu/~kulka053
 



 --
 Regards,
 Atul Kulkarni
 www.d.umn.edu/~kulka053



[twitter-dev] Re: Approx time for White listing?

2009-10-15 Thread Atul Kulkarni
I have a small app (that I wrote) that fetches tweets from twitter and sends
ocasionally with authentication and then I have my Echofon running that I
use to post tweets well.

Scenario that occured:
This app was running while I tweeted from Echofon (I assume it authenticated
me again) and then my app got a connection closed error.
Hence I was asking, if one authentication nullfies previous one for the same
user. I am using the same ID to work and tweet hence the problem I suppose.

Regards,
Atul.
On Thu, Oct 15, 2009 at 7:07 PM, Chad Etzel c...@twitter.com wrote:


 If you are asking about the Streaming API, then yes. If not, then I
 don't understand the question :)

 -Chad

 On Thu, Oct 15, 2009 at 8:05 PM, Atul Kulkarni atulskulka...@gmail.com
 wrote:
  A question on the sidelines,
 
  If I am running an app with my credentials and at the same time I open
  another connection with the same credentials is the first connection
 closed?
 
  On Thu, Oct 15, 2009 at 7:01 PM, Chad Etzel c...@twitter.com wrote:
 
  On average under 72 hours, but depending on the state of things it can
  take up to 1 week.
  -Chad
 
  On Thu, Oct 15, 2009 at 7:56 PM, Atul Kulkarni atulskulka...@gmail.com
 
  wrote:
   Hi All,
  
   What is the approximate expected time for white listing from the day
 of
   application?
  
   --
   Regards,
   Atul Kulkarni
   www.d.umn.edu/~kulka053 http://www.d.umn.edu/%7Ekulka053
  
 
 
 
  --
  Regards,
  Atul Kulkarni
  www.d.umn.edu/~kulka053 http://www.d.umn.edu/%7Ekulka053
 




-- 
Regards,
Atul Kulkarni
www.d.umn.edu/~kulka053


[twitter-dev] Re: url fail

2009-10-15 Thread JDG
with the i at the beginning, i thought it was the Spanish upside down
exclamation point and read it aloud as defibalaTOR ...

i need help.

On Thu, Oct 15, 2009 at 16:31, Adam Cloud cloudy...@gmail.com wrote:

 I was most disturbed by his deadlined transfer rate as shown in the top
 right of his screenshot..

 Someone get the iDefibrillator! :(




-- 
Internets. Serious business.


[twitter-dev] Re: Approx time for White listing?

2009-10-15 Thread Chad Etzel

If both are using the REST API then it was probably a fluke. You
should be able to have multiple applications authenticating on your
behalf (within the  rate-limits) w/o much of a problem. If you can
consistently repeat this behavior let us know.

-Chad

On Thu, Oct 15, 2009 at 8:14 PM, Atul Kulkarni atulskulka...@gmail.com wrote:
 I have a small app (that I wrote) that fetches tweets from twitter and sends
 ocasionally with authentication and then I have my Echofon running that I
 use to post tweets well.

 Scenario that occured:
 This app was running while I tweeted from Echofon (I assume it authenticated
 me again) and then my app got a connection closed error.
 Hence I was asking, if one authentication nullfies previous one for the same
 user. I am using the same ID to work and tweet hence the problem I suppose.

 Regards,
 Atul.
 On Thu, Oct 15, 2009 at 7:07 PM, Chad Etzel c...@twitter.com wrote:

 If you are asking about the Streaming API, then yes. If not, then I
 don't understand the question :)

 -Chad

 On Thu, Oct 15, 2009 at 8:05 PM, Atul Kulkarni atulskulka...@gmail.com
 wrote:
  A question on the sidelines,
 
  If I am running an app with my credentials and at the same time I open
  another connection with the same credentials is the first connection
  closed?
 
  On Thu, Oct 15, 2009 at 7:01 PM, Chad Etzel c...@twitter.com wrote:
 
  On average under 72 hours, but depending on the state of things it can
  take up to 1 week.
  -Chad
 
  On Thu, Oct 15, 2009 at 7:56 PM, Atul Kulkarni
  atulskulka...@gmail.com
  wrote:
   Hi All,
  
   What is the approximate expected time for white listing from the day
   of
   application?
  
   --
   Regards,
   Atul Kulkarni
   www.d.umn.edu/~kulka053
  
 
 
 
  --
  Regards,
  Atul Kulkarni
  www.d.umn.edu/~kulka053
 



 --
 Regards,
 Atul Kulkarni
 www.d.umn.edu/~kulka053



[twitter-dev] Re: New cursor methods are way too slow

2009-10-15 Thread jmathai

I'm curious why you're using followers/ids and then users/show for
each id?  I tried using that and using statuses/followers and found
that the total times were in the same ballpark.  statuses/followers
requires far fewer api calls if you're interested in user objects.

FYI, I do want to add and say I agree that either method is EXTREMELY
inefficient.  Regardless what the argument against pages and for
cursors are...the current implementation is painful from an end user
perspective.  Our backend doesn't really care, but our users don't
like to wait 10-30 minutes for a web page to gather a social graph.

I wish instead of a cursor I could get a snapshot id, # of pages and a
page parameter.  I don't know how it's implemented, but the ability to
deterministically parallelize the calls - is such a benefit to the end
user.  Pages let me do that.

On Oct 15, 9:17 am, Michael Steuer mste...@gmail.com wrote:
 That's great!! I'm currently using the suggested method (get IDs, then do
 users/show for each of them) and it's horrendously slow and cumbersome. It'd
 be great if you could get a 100 user objects at the time, based on 100 ids
 you provide..

 On 10/14/09 7:30 PM, Chad Etzel c...@twitter.com wrote:



  I agree. I'm lobbying the team for something like this.
  -Chad

  On Wed, Oct 14, 2009 at 10:21 PM, Josh Roesslein jroessl...@gmail.com 
  wrote:

  Yeah we really need a way to bulk request user payloads by giving a list of
  IDs.

  On Wed, Oct 14, 2009 at 9:19 PM, Tim Haines tmhai...@gmail.com wrote:

  Are you suggesting I should retrieve the 2k users 1 at a time from
  users/show once I have the ids?  I'd essentially like to do this, but
  100 at a time.

  I know I can get the 7000 ids in 2 calls (1 even without the cursors)
  - but I actually want the whole user objects..

  Tim.

  On Oct 15, 2:56 pm, Chad Etzel c...@twitter.com wrote:
  If you are pulling down the entire social graph, why not use the
  social graph calls which would deliver all 7000 ids in 2 calls?

  You can also parallelize this process by looping through different
  users on each thread instead of using each thread to grab a different
  page/cursor of the same user.

  Regarding the code issue you submitted, if you have the users cached
  locally, you could use the social graph methods to determine the
  missing/new 2k users pretty quickly using the social graph methods and
  comparing ids.

  -Chad

  On Wed, Oct 14, 2009 at 9:50 PM, Tim Haines tmhai...@gmail.com wrote:

  Hi Chad,

  Statuses/followers.

  I've just timed another attempt - it took 25 minutes to retrieve 17957
  followers with statuses/followers.

  Is there anything I can elaborate on in the filed issue to make it
  clearer?

  Tim.

  On Oct 15, 2:42 pm, Chad Etzel c...@twitter.com wrote:
  Hi Tim,

  You said Retrieving 7000 followers just took  20 minutes for me.
  Can you explain what you meant by that?

  Are you using the friends/ids, followers/ids methods or the
  statuses/friends, statuses/followers methods?

  -Chad

  On Wed, Oct 14, 2009 at 8:12 PM, Tim Haines tmhai...@gmail.com wrote:

  Hi'ya,

  I'm migrating my code to use cursors at the moment.  It's frustrating
  that calls need to be synchronous rather than how paged calls could be
  asynchronous.  Retrieving 7000 followers just took  20 minutes for
  me.

  I filed an issue that proposes a solution here:
 http://code.google.com/p/twitter-api/issues/detail?id=1078 If you
  retrieve friends or followers, please take a look and give it a star
  if it's important to you.

  If anyone can suggest a work around for this, I'd be happy to hear it.

  Cheers,

  Tim.

  --
  Josh


[twitter-dev] Re: New cursor methods are way too slow

2009-10-15 Thread jmathai

For clarification, an api to get user objects in bulk given a set of
ids - would work just as well :).

Rooting for Chad on that one.

On Oct 15, 6:07 pm, jmathai jmat...@gmail.com wrote:
 I'm curious why you're using followers/ids and then users/show for
 each id?  I tried using that and using statuses/followers and found
 that the total times were in the same ballpark.  statuses/followers
 requires far fewer api calls if you're interested in user objects.

 FYI, I do want to add and say I agree that either method is EXTREMELY
 inefficient.  Regardless what the argument against pages and for
 cursors are...the current implementation is painful from an end user
 perspective.  Our backend doesn't really care, but our users don't
 like to wait 10-30 minutes for a web page to gather a social graph.

 I wish instead of a cursor I could get a snapshot id, # of pages and a
 page parameter.  I don't know how it's implemented, but the ability to
 deterministically parallelize the calls - is such a benefit to the end
 user.  Pages let me do that.

 On Oct 15, 9:17 am, Michael Steuer mste...@gmail.com wrote:

  That's great!! I'm currently using the suggested method (get IDs, then do
  users/show for each of them) and it's horrendously slow and cumbersome. It'd
  be great if you could get a 100 user objects at the time, based on 100 ids
  you provide..

  On 10/14/09 7:30 PM, Chad Etzel c...@twitter.com wrote:

   I agree. I'm lobbying the team for something like this.
   -Chad

   On Wed, Oct 14, 2009 at 10:21 PM, Josh Roesslein jroessl...@gmail.com 
   wrote:

   Yeah we really need a way to bulk request user payloads by giving a list 
   of
   IDs.

   On Wed, Oct 14, 2009 at 9:19 PM, Tim Haines tmhai...@gmail.com wrote:

   Are you suggesting I should retrieve the 2k users 1 at a time from
   users/show once I have the ids?  I'd essentially like to do this, but
   100 at a time.

   I know I can get the 7000 ids in 2 calls (1 even without the cursors)
   - but I actually want the whole user objects..

   Tim.

   On Oct 15, 2:56 pm, Chad Etzel c...@twitter.com wrote:
   If you are pulling down the entire social graph, why not use the
   social graph calls which would deliver all 7000 ids in 2 calls?

   You can also parallelize this process by looping through different
   users on each thread instead of using each thread to grab a different
   page/cursor of the same user.

   Regarding the code issue you submitted, if you have the users cached
   locally, you could use the social graph methods to determine the
   missing/new 2k users pretty quickly using the social graph methods and
   comparing ids.

   -Chad

   On Wed, Oct 14, 2009 at 9:50 PM, Tim Haines tmhai...@gmail.com wrote:

   Hi Chad,

   Statuses/followers.

   I've just timed another attempt - it took 25 minutes to retrieve 17957
   followers with statuses/followers.

   Is there anything I can elaborate on in the filed issue to make it
   clearer?

   Tim.

   On Oct 15, 2:42 pm, Chad Etzel c...@twitter.com wrote:
   Hi Tim,

   You said Retrieving 7000 followers just took  20 minutes for me.
   Can you explain what you meant by that?

   Are you using the friends/ids, followers/ids methods or the
   statuses/friends, statuses/followers methods?

   -Chad

   On Wed, Oct 14, 2009 at 8:12 PM, Tim Haines tmhai...@gmail.com 
   wrote:

   Hi'ya,

   I'm migrating my code to use cursors at the moment.  It's 
   frustrating
   that calls need to be synchronous rather than how paged calls could 
   be
   asynchronous.  Retrieving 7000 followers just took  20 minutes for
   me.

   I filed an issue that proposes a solution here:
  http://code.google.com/p/twitter-api/issues/detail?id=1078 If you
   retrieve friends or followers, please take a look and give it a star
   if it's important to you.

   If anyone can suggest a work around for this, I'd be happy to hear 
   it.

   Cheers,

   Tim.

   --
   Josh


[twitter-dev] Re: New cursor methods are way too slow

2009-10-15 Thread Tim Haines
FYI, My backend cares.

On Fri, Oct 16, 2009 at 2:07 PM, jmathai jmat...@gmail.com wrote:


 I'm curious why you're using followers/ids and then users/show for
 each id?  I tried using that and using statuses/followers and found
 that the total times were in the same ballpark.  statuses/followers
 requires far fewer api calls if you're interested in user objects.

 FYI, I do want to add and say I agree that either method is EXTREMELY
 inefficient.  Regardless what the argument against pages and for
 cursors are...the current implementation is painful from an end user
 perspective.  Our backend doesn't really care, but our users don't
 like to wait 10-30 minutes for a web page to gather a social graph.

 I wish instead of a cursor I could get a snapshot id, # of pages and a
 page parameter.  I don't know how it's implemented, but the ability to
 deterministically parallelize the calls - is such a benefit to the end
 user.  Pages let me do that.

 On Oct 15, 9:17 am, Michael Steuer mste...@gmail.com wrote:
  That's great!! I'm currently using the suggested method (get IDs, then do
  users/show for each of them) and it's horrendously slow and cumbersome.
 It'd
  be great if you could get a 100 user objects at the time, based on 100
 ids
  you provide..
 
  On 10/14/09 7:30 PM, Chad Etzel c...@twitter.com wrote:
 
 
 
   I agree. I'm lobbying the team for something like this.
   -Chad
 
   On Wed, Oct 14, 2009 at 10:21 PM, Josh Roesslein jroessl...@gmail.com
 wrote:
 
   Yeah we really need a way to bulk request user payloads by giving a
 list of
   IDs.
 
   On Wed, Oct 14, 2009 at 9:19 PM, Tim Haines tmhai...@gmail.com
 wrote:
 
   Are you suggesting I should retrieve the 2k users 1 at a time from
   users/show once I have the ids?  I'd essentially like to do this, but
   100 at a time.
 
   I know I can get the 7000 ids in 2 calls (1 even without the cursors)
   - but I actually want the whole user objects..
 
   Tim.
 
   On Oct 15, 2:56 pm, Chad Etzel c...@twitter.com wrote:
   If you are pulling down the entire social graph, why not use the
   social graph calls which would deliver all 7000 ids in 2 calls?
 
   You can also parallelize this process by looping through different
   users on each thread instead of using each thread to grab a
 different
   page/cursor of the same user.
 
   Regarding the code issue you submitted, if you have the users cached
   locally, you could use the social graph methods to determine the
   missing/new 2k users pretty quickly using the social graph methods
 and
   comparing ids.
 
   -Chad
 
   On Wed, Oct 14, 2009 at 9:50 PM, Tim Haines tmhai...@gmail.com
 wrote:
 
   Hi Chad,
 
   Statuses/followers.
 
   I've just timed another attempt - it took 25 minutes to retrieve
 17957
   followers with statuses/followers.
 
   Is there anything I can elaborate on in the filed issue to make it
   clearer?
 
   Tim.
 
   On Oct 15, 2:42 pm, Chad Etzel c...@twitter.com wrote:
   Hi Tim,
 
   You said Retrieving 7000 followers just took  20 minutes for
 me.
   Can you explain what you meant by that?
 
   Are you using the friends/ids, followers/ids methods or the
   statuses/friends, statuses/followers methods?
 
   -Chad
 
   On Wed, Oct 14, 2009 at 8:12 PM, Tim Haines tmhai...@gmail.com
 wrote:
 
   Hi'ya,
 
   I'm migrating my code to use cursors at the moment.  It's
 frustrating
   that calls need to be synchronous rather than how paged calls
 could be
   asynchronous.  Retrieving 7000 followers just took  20 minutes
 for
   me.
 
   I filed an issue that proposes a solution here:
  http://code.google.com/p/twitter-api/issues/detail?id=1078 If you
   retrieve friends or followers, please take a look and give it a
 star
   if it's important to you.
 
   If anyone can suggest a work around for this, I'd be happy to
 hear it.
 
   Cheers,
 
   Tim.
 
   --
   Josh



[twitter-dev] What is included In the Queries are limited 140 URL encoded characters. restriction?

2009-10-15 Thread leonspencer

What us being counted as part of the length of the query - entire
query string? What names (of query string name/value pair), values
(of query string name/value pair), and delimiters are counted in the
Twitter API restriction Queries are limited 140 URL encoded
characters? I've run the Twitter API Advanced Search Form to generate
queries:

http://search.twitter.com/advanced

At some point it will say the query is too large - should be 140 but
is 155

Query example:
http://search.twitter.com/search?q=ands=All+of+these+wordsphrase=This+exact+phraseors=Any+of+these+wordsnots=None+of+these+wordstag=Balloonboylang=enfrom=leonspencerto=ref=near=within=15units=misince=2009-10-15until=2009-10-16rpp=15

What us being included in this length? The entire query string? (i.e. ?
q to the end or just the length of the values?

Thank you


[twitter-dev] Odd behavior?

2009-10-15 Thread Astralis

I just sent a group of messages to Twitter and the only thing that got
posted was the shortened link.

This happens only sometimes, though, and I can't find a pattern that
points to the issue.  The character counts are fine, too.

The only thing different that I've done is to send 10 tweets in one
burst because we've been timing our articles for releases on the hour
instead of spreading them throughout the day (I have no control over
this).

What might be the issue?


[twitter-dev] Re: Separate terms using commas?

2009-10-15 Thread John Kalucki

Allowed characters where? Each track keyword is limited to, at most,
30 characters. A tweet can be at most 140 characters.

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



On Oct 15, 6:54 am, EastSideDev eastside...@gmail.com wrote:
 Is the maximum number of allowed characters still 140?

 On Oct 14, 9:12 pm, John Kalucki jkalu...@gmail.com wrote:

  Try track=#test1,#test2,#test3

  You are searching for #test1, (space)#test2, etc. Nothing will
  ever match (space)#test2.

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

  On Oct 14, 8:38 pm, EastSideDev eastside...@gmail.com wrote:

   It seems as neither is working. I tried #test1, #test2, #test3 and
   #test1 #test2 #test3, but I got no data (streaming API), and I let it
   run for hours. When I used only a single term #test1, I immediately
   started getting data. Was there a change to prevent more than one term
   from being used?

   On Oct 14, 1:52 pm, John Kalucki jkalu...@gmail.com wrote:

You may be conflating the Streaming API, which requires commas between
keywords, and the search API, which does not.

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

On Oct 14, 9:19 am, Kyle B kylebarn...@gmail.com wrote:

 On Oct 13, 4:09 pm, EastSideDev eastside...@gmail.com wrote:

  I am using the streaming search API. If I have more than one term to
  search, do I need to separate those terms with commas? If these are
  hash tags, do I include the hash symbol? (#test1, #test2, #test3)  
  I
  am experiencing some random problems, and I would like to eliminate
  this as the trouble spot before looking for the problem elsewhere.

 Personally, I have experienced no problems using spaces between the
 search terms.  Be careful what you use because there is a difference
 between searching all keywords and all occurrences of all keywords.  I
 think you are fine with or without commas though.

 Here are the search operators from twitter:  
 http://search.twitter.com/operators

 You can get an idea for url composition by using the advanced 
 search:http://search.twitter.com/advanced


[twitter-dev] Re: Lists API

2009-10-15 Thread Eric Woodward

Hmm. Ok, thats is obviously fair enough, in theory. You obviously need
to test and debug something with a subset of traffic. But Lists are
operational now on twitter.com which serves millions, so it seems you
are well down that road, yet no API, no draft API methods to review
like we have for retweets, nothing. Services contact me to integrate
services they developed on top of Lists meaning they have had access
to the API for weeks, or more.

Basically, you are rolling out critical platform improvements that
many of us don't have access to. I am not sure what the point of being
a Twitter developer is if you dont give us all fair access to key
elements of the service.

You have also created a small nightmare for those us that implemented
a version of Lists/Groups that is now starting to confuse users.

Basically, from what has been going on from the bit.ly transition to
suggested users lists to preferential access to stream APIs to free
advertising/endorsements for some to now giving access to the Lists
API to selected people, I could write a book on how to not manage an
ecosystem using Twitter as the prime example.

Please please at least give us a draft API to review for Lists as you
have done for Rewteets so we can at least *plan* a transition from our
own Groups implementations, or how we will coordinate the two features
based on the API methods. You have people building services on opt of
the Lists API and pitching me to include it in Nambu, so it is
obviously a lot further along you are letting on here.

--ejw

Eric Woodward
Email: e...@nambu.com


On Oct 15, 4:19 pm, Marcel Molina mar...@twitter.com wrote:
 We are rolling it out to a small set of users incrementally so that we
 can load test and find bugs. We've been working on the API
 documentation and will be rolling it out gradually.

 On Thu, Oct 15, 2009 at 4:10 PM, Eric Woodward e...@nambu.com wrote:

  So, what is the plan for releasing the Lists API, if there is one? It
  is well known that selected people have access to them while the rest
  of us do not, which is creating a problem with users. Is there a plan
  to release these APIs to everyone soon?

  Please respond. I am only asking.

  --ejw

  Eric Woodward
  Email: e...@nambu.com

 --
 Marcel Molina
 Twitter Platform Teamhttp://twitter.com/noradio


[twitter-dev] 401 Unauthorized with good access token (or seemingly good)

2009-10-15 Thread DanInDC

I am using python-auth, and oauth twitter to do backend authentication
via twitter sign in. It works as designed. I am able to get an
access_token and then use that to get the user info. I am having
trouble when it comes to trying to post a status update using the
oauth. I have pasted an example to illustrate my problem at
http://pastebin.com/m50ed2c7e . You can see where I fail. Also at the
bottom of that is pasted the encoded post data that I am sending to do
the status update. Also, pasted below.


encoded_post_data='status=Testoauth_nonce=43777168oauth_timestamp=1255665189oauth_consumer_key=MY_CONSUMER_KEYoauth_signature_method=HMAC-
SHA1oauth_version=1.0oauth_token=SAME_AS_TOKEN.KEYoauth_signature=SIGNATURE_REMOVED'

I don't expect anyone to be familiar with the libraries I am using but
it is odd I can sign in properly but can't do much beyond that. I'd
ideally like to chat with someone at twitter so I can send my Consumer
info and the access_key in question to see if they can check things on
their end and tell me what I am doing wrong. Thanks.

Dan


[twitter-dev] Re: Seeing retweeted_details for user_timeline payload

2009-10-15 Thread Rich

To be honest, it seems a bit strange that they shouldn't appear in
user_timeline surely if you're looking at a user's timeline then you'd
want to also see what they've retweeted (or will the retweet appear
but without the retweet_status tag?

On Oct 15, 11:50 pm, Marcel Molina mar...@twitter.com wrote:
 Updating the retweet doc payloads is on my todo list. It's
 unfortunately currently a tedious and onerous task. I've been using my
 cycles on other things. But it's on the list to do.





 On Thu, Oct 15, 2009 at 1:53 PM, Josh Roesslein jroessl...@gmail.com wrote:

  The API doc on the wiki is not correct. There was an email sent out
  earlier about the new payload
  format.

  Could someone update the wiki for the new payload?

  Josh

  On Thu, Oct 15, 2009 at 3:48 PM, Rich rhyl...@gmail.com wrote:

  Hmm except this API payload doesn't match that for the home_timeline

  Hometimeline shows retweet_status with a sub tag of retweeting_user,
  but yet @ev's user timeline shows a tag of retweet_status with a
  subtag of user.

  I want to support it but not with the inconsistency in the API

  On Oct 15, 5:18 pm, Martin martin.duf...@gmail.com wrote:
  I have no problem with this new API call. But why is it also included
  in the user_timeline payload ?
  Is this inclusion official on the Twitter side...

  Martin

  On Oct 15, 9:46 am, ryan alford ryanalford...@gmail.com wrote:

  http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-home_tim...
   http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-home_tim...That
   will be the new Friends Timeline.  It will include retweets, while the
   current Friends Timeline will not.  The current Friends Timeline 
   will
   also be going away at some point in the future.

   Ryan

   On Thu, Oct 15, 2009 at 8:53 AM, Martin martin.duf...@gmail.com wrote:

Thanks for the clarification.

That explains the inconsistent behavior we are seeing when trying to
load specific user timelines.
Do we have an updated api wiki that defines the semantics of the
retweeted_status fragment ?

Martin
   www.wherecloud.com

On Oct 14, 10:59 pm, Josh Roesslein jroessl...@gmail.com wrote:
 I think its been enabled for a select few for testing. I don't think
 its gone public yet.

 On Wed, Oct 14, 2009 at 9:56 PM, ryan alford 
 ryanalford...@gmail.com
wrote:
  Maybe the new retweet functionality has been turned on?
  Ryan

  On Wed, Oct 14, 2009 at 10:45 PM, Martin martin.duf...@gmail.com
wrote:

  I'm retrieving the timeline for a specific user:

  curlhttp://www.twitter.com/statuses/user_timeline/ev.xml

  Within that timeline, I see retweeted_status fragment.
  Is this normal behavior ?

  Thanks - Martin

 --
 Josh

 --
 Marcel Molina
 Twitter Platform Teamhttp://twitter.com/noradio


[twitter-dev] Re: Lists API

2009-10-15 Thread Rich

I too would like to know what is going on here, some high profile
people are tweeting about lists and how they work, yet none (well
maybe none) of us have any idea how we could integrate this into our
apps yet.

Yet at the same time the ReTweet api docs have been around for a
while, they are being tested and not rolled out yet.

On Oct 16, 5:09 am, Eric Woodward e...@nambu.com wrote:
 Hmm. Ok, thats is obviously fair enough, in theory. You obviously need
 to test and debug something with a subset of traffic. But Lists are
 operational now on twitter.com which serves millions, so it seems you
 are well down that road, yet no API, no draft API methods to review
 like we have for retweets, nothing. Services contact me to integrate
 services they developed on top of Lists meaning they have had access
 to the API for weeks, or more.

 Basically, you are rolling out critical platform improvements that
 many of us don't have access to. I am not sure what the point of being
 a Twitter developer is if you dont give us all fair access to key
 elements of the service.

 You have also created a small nightmare for those us that implemented
 a version of Lists/Groups that is now starting to confuse users.

 Basically, from what has been going on from the bit.ly transition to
 suggested users lists to preferential access to stream APIs to free
 advertising/endorsements for some to now giving access to the Lists
 API to selected people, I could write a book on how to not manage an
 ecosystem using Twitter as the prime example.

 Please please at least give us a draft API to review for Lists as you
 have done for Rewteets so we can at least *plan* a transition from our
 own Groups implementations, or how we will coordinate the two features
 based on the API methods. You have people building services on opt of
 the Lists API and pitching me to include it in Nambu, so it is
 obviously a lot further along you are letting on here.

 --ejw

 Eric Woodward
 Email: e...@nambu.com

 On Oct 15, 4:19 pm, Marcel Molina mar...@twitter.com wrote:



  We are rolling it out to a small set of users incrementally so that we
  can load test and find bugs. We've been working on the API
  documentation and will be rolling it out gradually.

  On Thu, Oct 15, 2009 at 4:10 PM, Eric Woodward e...@nambu.com wrote:

   So, what is the plan for releasing the Lists API, if there is one? It
   is well known that selected people have access to them while the rest
   of us do not, which is creating a problem with users. Is there a plan
   to release these APIs to everyone soon?

   Please respond. I am only asking.

   --ejw

   Eric Woodward
   Email: e...@nambu.com

  --
  Marcel Molina
  Twitter Platform Teamhttp://twitter.com/noradio


[twitter-dev] Re: Whitelisted IPs only work when authed?

2009-10-15 Thread Ajinkya Patil

Hello,
I also have similar problem, my app got whitelisted atleast 10 days
ago. And its the account from which i requested the whitelist, got
whitelisted, but the ip whitelist was still showing the same stuff
(i.e. 150 limit).
After readin this post and bit of google'in i solved the problem.

To check what ip is passed exactly to twitter with your requests use
the following code in a blank php file...
?
echo file_get_contents(http://www.ipchicken.com/;);
?

Then i replace that code with this to chk if CURLOPT_INTERFACE is
working...

?php
$url = 'http://www.ipchicken.com/';
$ch = curl_init();
curl_setopt($ch, CURLOPT_INTERFACE, '74.54.26.63');
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0);
print curl_exec ($ch);
curl_close ($ch);
?

then u can again replace ipchicken.com with the twitter api call url
http://twitter.com/account/rate_limit_status.xml; to see if ur
response is changed.

Also if ur using epiTwitter class for interfacing with Twitter OAuth
(as im using)... add the following line in EpiTwitter.php after line
no. 38... (i.e. just after the $ch  = curl_init($url); line)...

curl_setopt($ch, CURLOPT_INTERFACE, $_SERVER ['SERVER_ADDR']);

 i've also notified on github to the author... but in the meanwhile,
this will surely help with those unauthenticated OAuth  API calls.

Hope this helps.

-Ajinkya

On Oct 10, 9:36 pm, Waldron Faulkner waldronfaulk...@gmail.com
wrote:
 Are you sure your requests are coming from the same IP youwhitelisted? If 
 you're on a shared host, for example, your outbound
 requests may come from a different IP as your dedicated inbound IP. I
 had this issue, had to bind curl to my dedicated IP, and it worked
 fine. Setting the CURLOPT_INTERFACE option is what worked for me.

 On Oct 9, 5:08 pm, Charles colei...@gmail.com wrote:

  I recently received email that confirmed my whitelisting status.  I
  have several IPswhitelisted, as well as the account.  From a shell on
  one of thewhitelistedservers, I make a couple requests and then try:

  curlhttp://twitter.com/account/rate_limit_status.xml

  ?xml version=1.0 encoding=UTF-8?
  hash
    hourly-limit type=integer150/hourly-limit
    reset-time-in-seconds type=integer1255123230/reset-time-in-
  seconds
    reset-time type=datetime2009-10-09T21:20:30+00:00/reset-time
    remaining-hits type=integer147/remaining-hits
  /hash

  If, on the other hand, I try:

  curl -u username:passwordhttp://twitter.com/account/rate_limit_status.xml

  hash
    remaining-hits type=integer1/remaining-hits
    reset-time type=datetime2009-10-09T21:57:09+00:00/reset-time
    hourly-limit type=integer2/hourly-limit
    reset-time-in-seconds type=integer1255125429/reset-time-in-
  seconds
  /hash

  I was under the impression I did not have to auth if I was making
  calls from the API?  Also:  if I use my application's oauth
  credentials to generate an oauth_request and use the oauth URL, I am
  still getting the lower rate limit.  Is this normal behavior?


[twitter-dev] problem in friendships create..

2009-10-15 Thread Lenin

Hello all,

I am getting some problem in creating friends using twiiter API. I
dont know why this is happening. I could not create a single friend
since last few days.. Please advice Bellow is the code returned by
twitter...

* Server auth using Basic with user 'FamousGroup1'
 POST /friendships/create.xml?user_id=57929642 HTTP/1.1
Authorization: Basic RmFtb3VzR3JvdXAxOmludGVybmV0Mw==
Host: twitter.com
Accept: */*
Content-Length: 0
Content-Type: application/x-www-form-urlencoded

 HTTP/1.1 403 Forbidden
 Date: Wed, 14 Oct 2009 02:48:03 GMT
 Server: hi
 X-Transaction: 1255488486-30308-24158
 Status: 403 Forbidden
 Last-Modified: Wed, 14 Oct 2009 02:48:06 GMT
 Content-Type: application/xml; charset=utf-8
 Pragma: no-cache
 Content-Length: 311
 Cache-Control: no-cache, no-store, must-revalidate, pre-check=0,
post-check=0
 Expires: Tue, 31 Mar 1981 05:00:00 GMT
 X-Revision: 8e98ae8624f9fc2586caf89fd09fb6a9ca56aada
 Set-Cookie: lang=en; path=/
 Set-Cookie: lang=en; path=/


[twitter-dev] Re: Duplicate Tweets

2009-10-15 Thread Toxic



On Oct 15, 7:50 am, Ryan Sarver rsar...@twitter.com wrote:

 1. Duplicate tweets HAS always been considered a violation.

Sure, it's always been a reason to kick someone off, but by attempting
to automatically police it, you've managed to take out a couple of
quite legitimate services, some of which were using twitter in new and
interesting ways.


But for those collecting examples of collateral damage, I've got
another one for you.  Perhaps someone above the approptiate pay
grade at Twitter is a skier/rider?  Because this change in behavior
(even if it's not a change in policy) is going to eliminate two
resources that Bay Area skiers tend to use.  Neither seems like
something that Twitter wants to shut off, but neither can continue to
operate with the current de-duplication filters:

@i80chains.  That rebroadcasts Caltrans's announcements for Interstate
80 in the Sierra Nevadas. During the winter, it lets people know when
chains are required to drive over Donner Pass.  When chain control is
turned off, it tweets OPEN: NO RESTRICTIONS (or something to that
effect).  That all clear tweet is getting caught by the filters,
which leaves out-of-date information on the stream/feed.  It is as
important to receive a tweet that says you don't need chains as it
is to receive one that says you'll need them from Kingvale to
Truckee, but as of right now, only one is allowed to get through.

@tahoe_weather.  Rebroadcasts National Weather Service warnings/
watches and announcements relevant to people in Tahoe.  It also has a
No active advisory tweet that it sends out when there are no longer
any active weather statements.  Again, these all clear tweets are
getting filtered, which rather drastically reduces the usefulness of
the bot.


 2. In the Spam section of that policy we also clearly state that the rules
 will be changing as we adapt to new tactics

I understand that it's impossible to really define spam and/or abuse,
and that anything that's ultimately an announcement-bot is going to be
walking a fine line.  But those two bots above seem like they're not
remotely abusive, do seem like they're useful, and they're getting
swept up among the spammers.



[twitter-dev] Re: Separate terms using commas?

2009-10-15 Thread Oren Rose

It will work if you do #term1 OR #term2 OR #term3 spaces mean AND
for Twitter search term.

Also, please note that you MUST use OR and or :)

Good luck,

= Oren

On Oct 15, 3:54 pm, EastSideDev eastside...@gmail.com wrote:
 Is the maximum number of allowed characters still 140?

 On Oct 14, 9:12 pm, John Kalucki jkalu...@gmail.com wrote:



  Try track=#test1,#test2,#test3

  You are searching for #test1, (space)#test2, etc. Nothing will
  ever match (space)#test2.

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

  On Oct 14, 8:38 pm, EastSideDev eastside...@gmail.com wrote:

   It seems as neither is working. I tried #test1, #test2, #test3 and
   #test1 #test2 #test3, but I got no data (streaming API), and I let it
   run for hours. When I used only a single term #test1, I immediately
   started getting data. Was there a change to prevent more than one term
   from being used?

   On Oct 14, 1:52 pm, John Kalucki jkalu...@gmail.com wrote:

You may be conflating the Streaming API, which requires commas between
keywords, and the search API, which does not.

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

On Oct 14, 9:19 am, Kyle B kylebarn...@gmail.com wrote:

 On Oct 13, 4:09 pm, EastSideDev eastside...@gmail.com wrote:

  I am using the streaming search API. If I have more than one term to
  search, do I need to separate those terms with commas? If these are
  hash tags, do I include the hash symbol? (#test1, #test2, #test3)  
  I
  am experiencing some random problems, and I would like to eliminate
  this as the trouble spot before looking for the problem elsewhere.

 Personally, I have experienced no problems using spaces between the
 search terms.  Be careful what you use because there is a difference
 between searching all keywords and all occurrences of all keywords.  I
 think you are fine with or without commas though.

 Here are the search operators from twitter:  
 http://search.twitter.com/operators

 You can get an idea for url composition by using the advanced 
 search:http://search.twitter.com/advanced


[twitter-dev] Re: Issues I came across migrating to cursors

2009-10-15 Thread Oren Rose

I migrated my code to cursors and successfully pulled large graphs in
method #2.

My code handles each and every Twitter errors (at least those I got in
the last few months)... which means that sometimes I wait for a short
while and then resume, sometimes I wait for longer time, depends on
the error code, In order not to get into an tight loop overloading the
already overloaded Twitter server the wait time grows on the next
attempts...

Oh - and I use paralellism for multiple users, where each user has its
own thread, so the code was synchronous to begin with... maybe that's
the reason it was so easy to migrate the code to cursors.

= Oren

On Oct 15, 3:14 am, Tim Haines tmhai...@gmail.com wrote:
 No - I pulled down the 7000 followers using the cursor calls - not
 just the ids.

 Tim.

 On Oct 15, 1:48 pm, Michael Steuer mste...@gmail.com wrote:



  So now that you pulled down 7000 IDs, are you making 7000 user/show calls to
  get the rest of the details? How's that working out?

  On 10/14/09 5:03 PM, Tim Haines tmhai...@gmail.com wrote:

   I'm migrating my code now.  I just pulled down 7000 users.  If I get a
   bad response to a call I'll retry it up to 5 times.

   It took  20 mins and  1 hour, which is going to be troublesome.

   Tim.

   On Oct 7, 6:59 pm, jmathai jmat...@gmail.com wrote:
   So a user comes to the site and I need to build their social graph.  I
   have two options.

   1) Use followers/ids and get ids of all their followers 5,000 at a
   time
   2) Use statuses/followers and get profiles of all followers 100 at a
   time

   Ids alone don't really do me much good.  So option 2 is more efficient
   for me (unless there's a batch user fetch api I'm unaware of).

   That being said, if a user has 10,000 followers (not uncommon) then I
   have to make 100 API calls to fetch profiles for all the followers.
   Not a big deal.  Except, Twitter gives me random errors.  Sometimes
   it's a 502 and other times a 400.  I'm not confident that I won't
   randomly receive a different 4xx or 5xx response.

   I tried to put code in place so that on 5xx responses that I would
   *continue* and retry the request.  That's when I got a 400 response.
   I have yet to fetch someone's entire graph using a sample account with
   13,000 followers.

   Has anyone successfully migrated tocursorsand consistently pulled
   down a large (10k) graph?


[twitter-dev] cursor based paging

2009-10-15 Thread dozykraut

http:// twitter.com/statuses/followers/username.xml?cursor=-1 gives me
page 1 of my followers list,. When I then request http:// twitter.com/
statuses/followers/username.xml?cursor=-new_cursor_value I get page 1
again.

The same happens when I request
http://twitter.com/statuses/followers.xml?screen_name=usernamecursor=-cursor_value

So everywhichway - it don't work


[twitter-dev] Re: Separate terms using commas?

2009-10-15 Thread Chad Etzel

Ok, now everybody is just getting confused, here.

Dear OP,

Are you asking about Streaming API or the Search API?

-Chad

On Thu, Oct 15, 2009 at 3:44 PM, Oren Rose o...@netta.co.il wrote:

 It will work if you do #term1 OR #term2 OR #term3 spaces mean AND
 for Twitter search term.

 Also, please note that you MUST use OR and or :)

 Good luck,

 = Oren

 On Oct 15, 3:54 pm, EastSideDev eastside...@gmail.com wrote:
 Is the maximum number of allowed characters still 140?

 On Oct 14, 9:12 pm, John Kalucki jkalu...@gmail.com wrote:



  Try track=#test1,#test2,#test3

  You are searching for #test1, (space)#test2, etc. Nothing will
  ever match (space)#test2.

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

  On Oct 14, 8:38 pm, EastSideDev eastside...@gmail.com wrote:

   It seems as neither is working. I tried #test1, #test2, #test3 and
   #test1 #test2 #test3, but I got no data (streaming API), and I let it
   run for hours. When I used only a single term #test1, I immediately
   started getting data. Was there a change to prevent more than one term
   from being used?

   On Oct 14, 1:52 pm, John Kalucki jkalu...@gmail.com wrote:

You may be conflating the Streaming API, which requires commas between
keywords, and the search API, which does not.

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

On Oct 14, 9:19 am, Kyle B kylebarn...@gmail.com wrote:

 On Oct 13, 4:09 pm, EastSideDev eastside...@gmail.com wrote:

  I am using the streaming search API. If I have more than one term 
  to
  search, do I need to separate those terms with commas? If these are
  hash tags, do I include the hash symbol? (#test1, #test2, #test3) 
   I
  am experiencing some random problems, and I would like to eliminate
  this as the trouble spot before looking for the problem elsewhere.

 Personally, I have experienced no problems using spaces between the
 search terms.  Be careful what you use because there is a difference
 between searching all keywords and all occurrences of all keywords.  
 I
 think you are fine with or without commas though.

 Here are the search operators from twitter:  
 http://search.twitter.com/operators

 You can get an idea for url composition by using the advanced 
 search:http://search.twitter.com/advanced