[twitter-dev] Are statuses deleted method

2009-02-23 Thread Abraham Williams
Currently there is not a good method of finding out if statuses have been
deleted other then running statuses/show/*id.  *A possible solution is to
add a method that accepts an array or a csv string of say 100 statuses. It
could return FALSE if none of the statuses are deleted or the ids of deleted
statuses.

I'm not sure if this is architecturally feasible but if it is I'll add it to
the issue queue.

-- 
Abraham Williams | http://the.hackerconundrum.com
Web608 | Community Evangelist | http://web608.org
This email is: [ ] blogable [x] ask first [ ] private.
Sent from: Madison Wi United States.


[twitter-dev] Not escaping double quotes when returning a JSON result

2009-02-23 Thread ylerouzic

When I try to retrieve a user (using 
http://www.twitter.com/users/show/stephenfry.json),
the double quotes are not escaped in the user description
(description:I'm blacked out: Stand up against Guilt Upon
Accusation for New Zealand http:\/\/creativefreedom.org.nz\/
blackout.html), which means that it can not be easily converted from
JSON to a Javascript Object.

Has anyone already encountered this behaviour?


[twitter-dev] Re: Not escaping double quotes when returning a JSON result

2009-02-23 Thread Cameron Kaiser

 When I try to retrieve a user (using
 http://www.twitter.com/users/show/stephenfry.json),
 the double quotes are not escaped in the user description
 (description:I'm blacked out: Stand up against Guilt Upon
 Accusation for New Zealand http:\/\/creativefreedom.org.nz\/
 blackout.html), which means that it can not be easily converted from
 JSON to a Javascript Object.
 
 Has anyone already encountered this behaviour?

I am not seeing this. When I query it, everything is properly escaped:

/usr/bin/curl -s -m 13 -f --basic -u naughty:nopeeking -f 
https://twitter.com/statuses/user_timeline/stephenfry.json;
[{'truncated':false,'text':'@CoolieJartmell Who? You? Yoo 
hoo!','user':{'followers_count':222925,'description':'ISSQQ0m blacked out: 
Stand up against quot;Guilt Upon Accusationquot; for New Zealand 
http:\/\/creativefreedom.org.nz\/blackout.html', ...

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- I must confess, I was born at a very early age. -- Groucho Marx 


[twitter-dev] Re: Include $ as a searchable character

2009-02-23 Thread Matt Sanford

Hi there,

I added this info to the ticket.

Thanks;
  — Matt

On Feb 23, 2009, at 06:21 AM, Karthik wrote:



Can you accept the request for the colon character too? I may use the
prefix $IN for Indian stocks and would like to retrieve only the
updates containing the term $IN:REL for example? Does that make sense?


On Feb 23, 3:39 am, Matt Sanford m...@twitter.com wrote:

Hi all,

 Requests for this have come up before so I opened a ticket for
the person working on our tokenizer to add this. I'm not sure when
he'll get to it but it's on the road map now. One bit of forewarning:
if you try to query for every ticker symbol every five minutes you're
building something unscalable and you can expect to hit the rate
limit. Not that I'm sure this is what people have in mind but I
thought I'd put this out there ahead of time just in case.

— Matt

On Feb 22, 2009, at 02:17 AM, Karthik Murugan wrote:


No, they show status updates from unrelated profiles too. I guess,
they are indexing updates containing stock names and filtering out
posts that don't have a dollar sign before the stock name



On Sun, Feb 22, 2009 at 12:40 PM, Chad Etzel jazzyc...@gmail.com
wrote:



My SWAG is that they are just parsing their follower/friend stream
themselves and highlighting tokens beginning with $.



-Chad


On Sat, Feb 21, 2009 at 12:40 PM, Karthik fermis...@gmail.com  
wrote:



I'm looking for a similar feature too. I wonder 
howhttp://stocktwits.com/streams/all
could show statuses containing $



On Feb 21, 10:35 pm, Chad Etzel jazzyc...@gmail.com wrote:

Yes, that's correct.  Add $ as a token modifier, if you will.
-Chad



On Sat, Feb 21, 2009 at 10:43 AM, Nick Arnett

nick.arn...@gmail.com wrote:



On Fri, Feb 20, 2009 at 6:46 PM, Chad Etzel

jazzyc...@gmail.com wrote:



Sorry I must have been unclear.



I don't want the $ by itself, I want it to be a searchable

character

in conjunction with other strings, so I want to search for

$AAPL or

$C much like # is with hashtags.



FYI, in search engine language this means is that you want

words to be

tokenized with and without the $ (or other) similar characters.
Right now, it sounds like $AAPL is tokenized as AAPL.  If I

understand

correctly, you'd want the search engine to also add the token

$AAPL.

NIck




[twitter-dev] Re: Twitter Profile Image(s)

2009-02-23 Thread Shannon Whitley

You may want to look at the SPIURL project:

http://code.google.com/p/spiurl/

It provides static urls for each Twitter profile image.


On Feb 22, 8:43 am, dougw igu...@gmail.com wrote:
 I take that back, Ricardo. I looks like this has already been
 officially requested.

 Be sure to star it if you want to add your vote.

 http://code.google.com/p/twitter-api/issues/detail?id=242

 @dougw

 On Feb 21, 11:12 pm, dougw igu...@gmail.com wrote:



  Ricardo,
  It's not possible through the API as it stands, and has been brought
  up before as a shortcoming. I didn't find any duplicate issues in my
  searches. Sounds like an enhancement defect to report: 
  addhttp://code.google.com/p/twitter-api/issues/entry

  @dougw

  On Feb 21, 5:28 pm, Ricardo Sousa thericardoso...@gmail.com wrote:

   Hello,

   I'm working as the developer of a Wordpress plugin that pulls twittar
   avatars into wordpress comments. What it actually does is to pull the
   avatar img each time user comments but the problem is that users
   change the avatar often so we need to make API calls very often.

   The default syntax url for Twitter profile images is:

  http://s3.amazonaws.com/twitter_production/profile_images/80319404/av...
   (avatars is the name of the image in user computer)

   The problem is is that avatars change whenever users change avatar
   making it impossible to store the user's avatar url in DB and forcing
   me to do a lot of API calls in order to get the most recent image.
   What i want is to be able to call directly the user profile image
   whitout need to call API first. Any ideas?

   My question is if there's another syntax which is independent from the
   image name? Something like:

  http://s3.amazonaws.com/twitter_production/profile_images/80319404/bi...

   If yes: How can i do that without need to call the API on each page
   load (which is huge and terrible)?

   if no: is that planned?- Hide quoted text -

 - Show quoted text -


[twitter-dev] Re: Include $ as a searchable character

2009-02-23 Thread Karthik

Thanks a lot :)

On Feb 23, 7:52 pm, Matt Sanford m...@twitter.com wrote:
 Hi there,

      I added this info to the ticket.

 Thanks;
    — Matt

 On Feb 23, 2009, at 06:21 AM, Karthik wrote:



  Can you accept the request for the colon character too? I may use the
  prefix $IN for Indian stocks and would like to retrieve only the
  updates containing the term $IN:REL for example? Does that make sense?

  On Feb 23, 3:39 am, Matt Sanford m...@twitter.com wrote:
  Hi all,

       Requests for this have come up before so I opened a ticket for
  the person working on our tokenizer to add this. I'm not sure when
  he'll get to it but it's on the road map now. One bit of forewarning:
  if you try to query for every ticker symbol every five minutes you're
  building something unscalable and you can expect to hit the rate
  limit. Not that I'm sure this is what people have in mind but I
  thought I'd put this out there ahead of time just in case.

  — Matt

  On Feb 22, 2009, at 02:17 AM, Karthik Murugan wrote:

  No, they show status updates from unrelated profiles too. I guess,
  they are indexing updates containing stock names and filtering out
  posts that don't have a dollar sign before the stock name

  On Sun, Feb 22, 2009 at 12:40 PM, Chad Etzel jazzyc...@gmail.com
  wrote:

  My SWAG is that they are just parsing their follower/friend stream
  themselves and highlighting tokens beginning with $.

  -Chad

  On Sat, Feb 21, 2009 at 12:40 PM, Karthik fermis...@gmail.com  
  wrote:

  I'm looking for a similar feature too. I wonder 
  howhttp://stocktwits.com/streams/all
  could show statuses containing $

  On Feb 21, 10:35 pm, Chad Etzel jazzyc...@gmail.com wrote:
  Yes, that's correct.  Add $ as a token modifier, if you will.
  -Chad

  On Sat, Feb 21, 2009 at 10:43 AM, Nick Arnett
  nick.arn...@gmail.com wrote:

  On Fri, Feb 20, 2009 at 6:46 PM, Chad Etzel
  jazzyc...@gmail.com wrote:

  Sorry I must have been unclear.

  I don't want the $ by itself, I want it to be a searchable
  character
  in conjunction with other strings, so I want to search for
  $AAPL or
  $C much like # is with hashtags.

  FYI, in search engine language this means is that you want
  words to be
  tokenized with and without the $ (or other) similar characters.
  Right now, it sounds like $AAPL is tokenized as AAPL.  If I
  understand
  correctly, you'd want the search engine to also add the token
  $AAPL.
  NIck


[twitter-dev] Re: Not escaping double quotes when returning a JSON result

2009-02-23 Thread Abraham Williams
I get the same thing. Are you perhaps viewing it in something that would
convert quot;?

On Mon, Feb 23, 2009 at 07:42, Cameron Kaiser spec...@floodgap.com wrote:


  When I try to retrieve a user (using
  http://www.twitter.com/users/show/stephenfry.json),
  the double quotes are not escaped in the user description
  (description:I'm blacked out: Stand up against Guilt Upon
  Accusation for New Zealand http:\/\/creativefreedom.org.nz\/
  blackout.html), which means that it can not be easily converted from
  JSON to a Javascript Object.
 
  Has anyone already encountered this behaviour?

 I am not seeing this. When I query it, everything is properly escaped:

 /usr/bin/curl -s -m 13 -f --basic -u naughty:nopeeking -f 
 https://twitter.com/statuses/user_timeline/stephenfry.json;
 [{'truncated':false,'text':'@CoolieJartmell Who? You? Yoo
 hoo!','user':{'followers_count':222925,'description':'ISSQQ0m blacked out:
 Stand up against quot;Guilt Upon Accusationquot; for New Zealand http:\/\/
 creativefreedom.org.nz\/blackout.html', ...

 --
  personal:
 http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com *
 ckai...@floodgap.com
 -- I must confess, I was born at a very early age. -- Groucho Marx
 




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


[twitter-dev] Re: Not escaping double quotes when returning a JSON result

2009-02-23 Thread Abraham Williams
and by that I mean the same thing as Cameron.

On Mon, Feb 23, 2009 at 11:23, Abraham Williams 4bra...@gmail.com wrote:

 I get the same thing. Are you perhaps viewing it in something that would
 convert quot;?


 On Mon, Feb 23, 2009 at 07:42, Cameron Kaiser spec...@floodgap.comwrote:


  When I try to retrieve a user (using
  http://www.twitter.com/users/show/stephenfry.json),
  the double quotes are not escaped in the user description
  (description:I'm blacked out: Stand up against Guilt Upon
  Accusation for New Zealand http:\/\/creativefreedom.org.nz\/
  blackout.html), which means that it can not be easily converted from
  JSON to a Javascript Object.
 
  Has anyone already encountered this behaviour?

 I am not seeing this. When I query it, everything is properly escaped:

 /usr/bin/curl -s -m 13 -f --basic -u naughty:nopeeking -f 
 https://twitter.com/statuses/user_timeline/stephenfry.json;
 [{'truncated':false,'text':'@CoolieJartmell Who? You? Yoo
 hoo!','user':{'followers_count':222925,'description':'ISSQQ0m blacked out:
 Stand up against quot;Guilt Upon Accusationquot; for New Zealand http:\/\/
 creativefreedom.org.nz\/blackout.html', ...

 --
  personal:
 http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com *
 ckai...@floodgap.com
 -- I must confess, I was born at a very early age. -- Groucho Marx
 




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




-- 
Abraham Williams | http://the.hackerconundrum.com
Web608 | Community Evangelist | http://web608.org
This email is: [ ] blogable [x] ask first [ ] private.
Sent from: Madison Wi United States.


[twitter-dev] Re: Method for getting disabled Twitter IDs

2009-02-23 Thread jstrellner

I second this, it would be useful.  Although, if you are requesting
info for that user, Twitter should be returning that the user no
longer exists, and your app should remove them.

Your solution would be good for bulk cleans, but incremental would
probably be more efficient.

So while it would be useful, I'm not sure its required.  I'll vote 1/2
of a +1, as it would be nice to have available, but here are more
important things.

Maybe you should add it to their API feature request site?

iematthew wrote:
 I haven't seen anything on the group or otherwise for a basic house-
 cleaning method for getting a list of suspended/canceled/deleted
 Twitter accounts. As our Twitter apps continue to grow, having methods
 for clearing out the dead wood from our systems would be quite useful.
 I don't think anyone wants to end up a few years down the road with a
 million non-existent Twitter accounts in their system, and I don't
 think it helps Twitter to have traffic coming back to them for
 accounts that no longer exist.

 What I propose is a simple method for grabbing the Twitter IDs of
 those accounts which have been permanently removed. If we could have
 returned an array of these ids (much the same as the new Social Graphs
 methods return only the IDs of a user's friends or followers) it would
 help us all keep our systems clear of these defunct accounts. Perhaps
 options for a since_id or since_time would also be useful so we only
 get the IDs we haven't already cleared out.

 Thoughts on this?


[twitter-dev] Re: oAuth and 401 Unauthorised Request

2009-02-23 Thread Matt Sanford

Hi there,

I am working on a fix for the case where a brand new token takes  
a few seconds to propagate to all of our database slaves. During that  
time you would see errors like Invalid / expired Token and then they  
would suddenly start working. They may even work on some requests and  
not others because you don't hit the same database every time. Like I  
said, working on a fix for it now. Once the fix is done I'll keep and  
eye out for more reports like this.


Thanks;
  — Matt

On Feb 21, 2009, at 02:47 PM, Santosh Panda wrote:


Hi Paul,
We see the same issue couple of times but infrequently. In another  
threaded mail, few more developers have conveyed the same.


cheers,
Santosh Panda
www.twitblogs.com

On Sat, Feb 21, 2009 at 9:50 PM, Paul Kinlan paul.kin...@gmail.com  
wrote:

Hi,

Following on from my previous email about not being able to use  
verify_credentials, I am still having sporadic problems and I am  
wondering if anyone else has seen them.


Our page call creates a request_token and navigates to the the  
twitter oAuth page, on successful return we swap our tokens for an  
access token, we then call verify_credentials.json.  Sometimes  
(quite often) when we call this method we get a 401 Un-authorised  
exception.  If no-one else see's this then I will have to see if the  
library I am using has the problem.


Kind Regards,
Paul Kinlan.







[twitter-dev] Re: oAuth and 401 Unauthorised Request

2009-02-23 Thread Paul Kinlan
Hi Matt,

Excellent news, thanks.

Paul.

2009/2/23 Matt Sanford m...@twitter.com

 Hi there,
 I am working on a fix for the case where a brand new token takes a few
 seconds to propagate to all of our database slaves. During that time you
 would see errors like Invalid / expired Token and then they would suddenly
 start working. They may even work on some requests and not others because
 you don't hit the same database every time. Like I said, working on a fix
 for it now. Once the fix is done I'll keep and eye out for more reports like
 this.

 Thanks;
   — Matt

 On Feb 21, 2009, at 02:47 PM, Santosh Panda wrote:

 Hi Paul,
 We see the same issue couple of times but infrequently. In another threaded
 mail, few more developers have conveyed the same.

 cheers,
 Santosh Panda
 www.twitblogs.com

 On Sat, Feb 21, 2009 at 9:50 PM, Paul Kinlan paul.kin...@gmail.comwrote:

 Hi,

 Following on from my previous email about not being able to use
 verify_credentials, I am still having sporadic problems and I am wondering
 if anyone else has seen them.

 Our page call creates a request_token and navigates to the the twitter
 oAuth page, on successful return we swap our tokens for an access token, we
 then call verify_credentials.json.  Sometimes (quite often) when we call
 this method we get a 401 Un-authorised exception.  If no-one else see's this
 then I will have to see if the library I am using has the problem.

 Kind Regards,
 Paul Kinlan.








[twitter-dev] 'import sys' unnecessary?

2009-02-23 Thread Rogério Schneider

Hi folks.

During some tests on a patch I saw some weird things in the code,
maybe you can help me to understand it all.

--
$ pychecker twitter.py
Processing twitter...

Warnings...

twitter.py:29: Imported module (sys) not used
twitter.py:2064: Local variable (e) not used
--

Maybe we could clean this up?

Regards,
Rogério Schneider


[twitter-dev] 24,386 unfollow calls

2009-02-23 Thread Zac Bowling

So I have kind of weird request.

My boss, who is following 24,386 people (and has 22,752 followers)
came to me and wanted me to hack something to wipe out all the people
he follows so he can start clean again for various reasons.

I'm curious if there is any tools internally at twitter that could
help with this maybe because this seems to push the limits of what the
API was intended for. (If so, you can contact me off list at
z...@seesmic.com)

If not, the code is fairly trivial to do (I already have something
that does something similar in fact), but I don't want to set off any
alarms if I make 24,385 unfollow requests and several requests to pull
his social graph down as it runs. I can also throttle it as I was
planning to do and do it across a few days.

Thanks,

Zac Bowling
http://twitter.com/zbowling
http://zbowling.com/


[twitter-dev] Re: Help!! Oauth weirdness, invalid / expired token.

2009-02-23 Thread Abraham Williams
How long does it take for a request token to expire?

On Mon, Feb 23, 2009 at 11:29, Matt Sanford m...@twitter.com wrote:


 Hi Emmanuel,

Since we improved the error messaging a bit that error message now leads
 to something useful. When we tried to lookup your token it was not found.
 Was this right after you exchanged the request token for an access token, or
 had some time passed?

 Thanks;
  — Matt


 On Feb 21, 2009, at 11:14 AM, Emmanuel wrote:


 Hey, a couple of days ago I had Twitter OAUTH working just fine for
 GET requests, but when I tried a few today, I keep getting invalid /
 expired Token.

 I still didn't get any POST requests to work btw, but that's a
 different thread.

 This is super weird, below is my return:

 [request] = Array
   (
   [#text] = /favorites.xml?

 oauth_version=1.0oauth_nonce=69d47b6fef9cfa10dc7fdcbf58cd0f29oauth_timestamp=1235243383oauth_consumer_key=mykeyhereoauth_token=tokenHereoauth_signature_method=HMAC-
 SHA1oauth_signature=signature_here
   )

   [error] = Array
   (
   [#text] = Invalid / expired Token
   )

 Is this happening to anyone else?





-- 
Abraham Williams | http://the.hackerconundrum.com
Web608 | Community Evangelist | http://web608.org
This email is: [ ] blogable [x] ask first [ ] private.
Sent from: Madison Wi United States.


[twitter-dev] Re: Help!! Oauth weirdness, invalid / expired token.

2009-02-23 Thread Matt Sanford

Hi there,

A request token is expected to be very short lived, since it's  
only used to exchange for an access token. Right now they do not  
expire but in an upcoming change we're going to limit them to a one  
hour life span to improve performance and scalability. The life span  
of an access token is detailed at http://apiwiki.twitter.com/OAuth-FAQ.


Thanks;
  — Matt Sanford


On Feb 23, 2009, at 09:49 AM, Abraham Williams wrote:


How long does it take for a request token to expire?

On Mon, Feb 23, 2009 at 11:29, Matt Sanford m...@twitter.com wrote:

Hi Emmanuel,

   Since we improved the error messaging a bit that error message  
now leads to something useful. When we tried to lookup your token it  
was not found. Was this right after you exchanged the request token  
for an access token, or had some time passed?


Thanks;
 — Matt


On Feb 21, 2009, at 11:14 AM, Emmanuel wrote:


Hey, a couple of days ago I had Twitter OAUTH working just fine for
GET requests, but when I tried a few today, I keep getting invalid /
expired Token.

I still didn't get any POST requests to work btw, but that's a
different thread.

This is super weird, below is my return:

[request] = Array
  (
  [#text] = /favorites.xml?
oauth_version 
= 
1.0 
oauth_nonce 
= 
69d47b6fef9cfa10dc7fdcbf58cd0f29 
oauth_timestamp 
= 
1235243383 
oauth_consumer_key 
=mykeyhereoauth_token=tokenHereoauth_signature_method=HMAC-

SHA1oauth_signature=signature_here
  )

  [error] = Array
  (
  [#text] = Invalid / expired Token
  )

Is this happening to anyone else?




--
Abraham Williams | http://the.hackerconundrum.com
Web608 | Community Evangelist | http://web608.org
This email is: [ ] blogable [x] ask first [ ] private.
Sent from: Madison Wi United States.




[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Ricardo Sousa

If i'm not wrong there's no limit for POST ans as this is a post
request type you should have no problems in creating a quick script
that makes you unfollow everyone.

Thx

On Feb 23, 4:41 pm, Zac Bowling zbowl...@gmail.com wrote:
 So I have kind of weird request.

 My boss, who is following 24,386 people (and has 22,752 followers)
 came to me and wanted me to hack something to wipe out all the people
 he follows so he can start clean again for various reasons.

 I'm curious if there is any tools internally at twitter that could
 help with this maybe because this seems to push the limits of what the
 API was intended for. (If so, you can contact me off list at
 z...@seesmic.com)

 If not, the code is fairly trivial to do (I already have something
 that does something similar in fact), but I don't want to set off any
 alarms if I make 24,385 unfollow requests and several requests to pull
 his social graph down as it runs. I can also throttle it as I was
 planning to do and do it across a few days.

 Thanks,

 Zac Bowlinghttp://twitter.com/zbowlinghttp://zbowling.com/


[twitter-dev] Re: In Reply To

2009-02-23 Thread Alex Payne

Added to the FAQ:
http://apiwiki.twitter.com/FAQ#HowdoIgetallrepliestoaparticularstatus

On Fri, Feb 20, 2009 at 22:36, Duane Storey duanesto...@gmail.com wrote:

 Is there any way to query all the replies to a particular status ID?
 I scanned the API but didn't see anything.  Thanks.




-- 
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x


[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Damon Clinkscales

Zac,

I would space the calls a bit, but I've been told by Alex previously
that a mass unfollow wouldn't be limited.

-damon
--
http://twitter.com/damon

On Mon, Feb 23, 2009 at 10:41 AM, Zac Bowling zbowl...@gmail.com wrote:

 So I have kind of weird request.

 My boss, who is following 24,386 people (and has 22,752 followers)
 came to me and wanted me to hack something to wipe out all the people
 he follows so he can start clean again for various reasons.


[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Terry Jones

Hi Zac

 Zac == Zac Bowling zbowl...@gmail.com writes:
 My boss, who is following 24,386 people (and has 22,752 followers) came
 to me and wanted me to hack something to wipe out all the people he
 follows so he can start clean again for various reasons.
...
 you can contact me off list at z...@seesmic.com

You have a Seesmic address, and your boss follows 24K people and wants to
unfollow them all H.

So, uh, why does Loic hate us? :-)  Not so long ago we were all his friends!

You might suggest he try Tweetdeck. That would let him nicely keep up to
date with just the people and topics he really wants to read, without the
mass unfollow.  Of course you guys might have to buy Tweetdeck too before
that could happen :-)

Or if he really does want to start again, just delete the account and
recreate it. That would have a certain appealing symmetry.

Regards,
Terry


[twitter-dev] Re: is there an Intro to Twitter API with PHP?

2009-02-23 Thread Alex Payne

Twitter API: Up  Running from O'Reilly is exactly what you're
looking for. It assumes a smidge of basic PHP/programming knowledge,
and goes from there. http://oreilly.com/catalog/9780596157791/

(Full disclosure: I was a technical editor on this book. I don't get a
cut for every book sold or anything like that, though. It just happens
to be the best resource I'm aware of that meets your needs.)

On Sat, Feb 21, 2009 at 21:26, TjL luo...@gmail.com wrote:

 I know just enough PHP to be dangerous, but I'd like to start to play
 around with the API when designing web pages.

 Is there a for dummies or similar basic set of examples somewhere?
 I've never done API stuff (any API) via PHP.

 (for starters: I'd like to build myself a custom DM page which shows
 threaded (at least time-sorted) messages sent and received. I seem
 to always forget what I've been talking about with people and then
 they DM me and I have to go back and try to piece it together.)

 Thanks
 TjL




-- 
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x


[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Nick Arnett
On Mon, Feb 23, 2009 at 10:50 AM, Terry Jones terry.jo...@gmail.com wrote:


 Or if he really does want to start again, just delete the account and
 recreate it. That would have a certain appealing symmetry.


Ah, but new accounts can only follow 2,000 people, so I'll bet he doesn't
want that.

Nick


[twitter-dev] Re: Are statuses deleted method

2009-02-23 Thread Alex Payne

For the moment, when we delete statuses, we really DELETE (in SQL
terms) statuses! In the future we'll probably just hide them, as we do
with deleted users whose accounts are still being held for possible
user-triggered restoration.

On Mon, Feb 23, 2009 at 00:47, Abraham Williams 4bra...@gmail.com wrote:
 Currently there is not a good method of finding out if statuses have been
 deleted other then running statuses/show/id.  A possible solution is to add
 a method that accepts an array or a csv string of say 100 statuses. It could
 return FALSE if none of the statuses are deleted or the ids of deleted
 statuses.

 I'm not sure if this is architecturally feasible but if it is I'll add it to
 the issue queue.

 --
 Abraham Williams | http://the.hackerconundrum.com
 Web608 | Community Evangelist | http://web608.org
 This email is: [ ] blogable [x] ask first [ ] private.
 Sent from: Madison Wi United States.



-- 
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x


[twitter-dev] Re: Method for getting disabled Twitter IDs

2009-02-23 Thread Alex Payne

Yes, please do: http://code.google.com/p/twitter-api/issues/entry

On Mon, Feb 23, 2009 at 09:28, jstrellner jstrell...@urltrends.com wrote:

 I second this, it would be useful.  Although, if you are requesting
 info for that user, Twitter should be returning that the user no
 longer exists, and your app should remove them.

 Your solution would be good for bulk cleans, but incremental would
 probably be more efficient.

 So while it would be useful, I'm not sure its required.  I'll vote 1/2
 of a +1, as it would be nice to have available, but here are more
 important things.

 Maybe you should add it to their API feature request site?

 iematthew wrote:
 I haven't seen anything on the group or otherwise for a basic house-
 cleaning method for getting a list of suspended/canceled/deleted
 Twitter accounts. As our Twitter apps continue to grow, having methods
 for clearing out the dead wood from our systems would be quite useful.
 I don't think anyone wants to end up a few years down the road with a
 million non-existent Twitter accounts in their system, and I don't
 think it helps Twitter to have traffic coming back to them for
 accounts that no longer exist.

 What I propose is a simple method for grabbing the Twitter IDs of
 those accounts which have been permanently removed. If we could have
 returned an array of these ids (much the same as the new Social Graphs
 methods return only the IDs of a user's friends or followers) it would
 help us all keep our systems clear of these defunct accounts. Perhaps
 options for a since_id or since_time would also be useful so we only
 get the IDs we haven't already cleared out.

 Thoughts on this?




-- 
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x


[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Alex Payne

That's not accurate, Nick. All accounts are expected to maintain a
ratio of followers to following. As long as more people follow you
than you follow in turn, you're good.

On Mon, Feb 23, 2009 at 10:55, Nick Arnett nick.arn...@gmail.com wrote:


 On Mon, Feb 23, 2009 at 10:50 AM, Terry Jones terry.jo...@gmail.com wrote:

 Or if he really does want to start again, just delete the account and
 recreate it. That would have a certain appealing symmetry.

 Ah, but new accounts can only follow 2,000 people, so I'll bet he doesn't
 want that.
 Nick



-- 
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x


[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Zac Bowling

Haha, being that you know who I work for and the we own Twhirl, I
probably shouldn't comment about Tweetdeck.  :-)

Loic loves everyone, but he had an auto-follow bot that followed
everyone that followed him. Got a little crazy.

The biggest issue was



Zac Bowling
http://twitter.com/zbowling
http://zbowling.com/




On Mon, Feb 23, 2009 at 10:50 AM, Terry Jones terry.jo...@gmail.com wrote:

 Hi Zac

 Zac == Zac Bowling zbowl...@gmail.com writes:
 My boss, who is following 24,386 people (and has 22,752 followers) came
 to me and wanted me to hack something to wipe out all the people he
 follows so he can start clean again for various reasons.
 ...
 you can contact me off list at z...@seesmic.com

 You have a Seesmic address, and your boss follows 24K people and wants to
 unfollow them all H.

 So, uh, why does Loic hate us? :-)  Not so long ago we were all his friends!

 You might suggest he try Tweetdeck. That would let him nicely keep up to
 date with just the people and topics he really wants to read, without the
 mass unfollow.  Of course you guys might have to buy Tweetdeck too before
 that could happen :-)

 Or if he really does want to start again, just delete the account and
 recreate it. That would have a certain appealing symmetry.

 Regards,
 Terry



[twitter-dev] Re: Method for getting disabled Twitter IDs

2009-02-23 Thread iematthew

Just curious, but how does one go about setting the type of an issue
in the bug/feature request system? I haven't seen any option for doing
so, so my Enhancement gets entered as a Defect.


On Feb 23, 2:39 pm, iematthew matthew.dai...@ientryinc.com wrote:
 Yes, there are more important things. But for future planning and
 keeping things clean, I think it would be a good thing to have. For
 apps that cache Twitter users and have tons in their system,
 requesting updates on each user can be resource-consuming, not to
 mention whitelist-consuming.

 A features request has been submitted as suggested:

 http://code.google.com/p/twitter-api/issues/detail?id=311

 On Feb 23, 2:11 pm, Alex Payne a...@twitter.com wrote:

  Yes, please do:http://code.google.com/p/twitter-api/issues/entry

  On Mon, Feb 23, 2009 at 09:28, jstrellner jstrell...@urltrends.com wrote:

   I second this, it would be useful.  Although, if you are requesting
   info for that user, Twitter should be returning that the user no
   longer exists, and your app should remove them.

   Your solution would be good for bulk cleans, but incremental would
   probably be more efficient.

   So while it would be useful, I'm not sure its required.  I'll vote 1/2
   of a +1, as it would be nice to have available, but here are more
   important things.

   Maybe you should add it to their API feature request site?

   iematthew wrote:
   I haven't seen anything on the group or otherwise for a basic house-
   cleaning method for getting a list of suspended/canceled/deleted
   Twitter accounts. As our Twitter apps continue to grow, having methods
   for clearing out the dead wood from our systems would be quite useful.
   I don't think anyone wants to end up a few years down the road with a
   million non-existent Twitter accounts in their system, and I don't
   think it helps Twitter to have traffic coming back to them for
   accounts that no longer exist.

   What I propose is a simple method for grabbing the Twitter IDs of
   those accounts which have been permanently removed. If we could have
   returned an array of these ids (much the same as the new Social Graphs
   methods return only the IDs of a user's friends or followers) it would
   help us all keep our systems clear of these defunct accounts. Perhaps
   options for a since_id or since_time would also be useful so we only
   get the IDs we haven't already cleared out.

   Thoughts on this?

  --
  Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x


[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Nick Arnett
On Mon, Feb 23, 2009 at 11:15 AM, Alex Payne a...@twitter.com wrote:


 That's not accurate, Nick. All accounts are expected to maintain a
 ratio of followers to following. As long as more people follow you
 than you follow in turn, you're good.


Oh, thanks.  I did a quick search on follow limits and all I came across was
the 2,000 number. I'm guessing that 2000 is the limit until you have 2001
followers?  So a brand-new account is limited to 2,000, but only until then?

That's good to know.

Nick


[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Cameron Kaiser

 The biggest issue was

The gold it's in the

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Don't treat fictional people as if they're real. It only encourages them. --

(*) Obscured by Clouds, Pink Floyd


[twitter-dev] Re: Method for getting disabled Twitter IDs

2009-02-23 Thread Alex Payne

Just start typing? Or Matt and I will re-file it.

On Mon, Feb 23, 2009 at 11:44, iematthew matthew.dai...@ientryinc.com wrote:

 Just curious, but how does one go about setting the type of an issue
 in the bug/feature request system? I haven't seen any option for doing
 so, so my Enhancement gets entered as a Defect.


 On Feb 23, 2:39 pm, iematthew matthew.dai...@ientryinc.com wrote:
 Yes, there are more important things. But for future planning and
 keeping things clean, I think it would be a good thing to have. For
 apps that cache Twitter users and have tons in their system,
 requesting updates on each user can be resource-consuming, not to
 mention whitelist-consuming.

 A features request has been submitted as suggested:

 http://code.google.com/p/twitter-api/issues/detail?id=311

 On Feb 23, 2:11 pm, Alex Payne a...@twitter.com wrote:

  Yes, please do:http://code.google.com/p/twitter-api/issues/entry

  On Mon, Feb 23, 2009 at 09:28, jstrellner jstrell...@urltrends.com wrote:

   I second this, it would be useful.  Although, if you are requesting
   info for that user, Twitter should be returning that the user no
   longer exists, and your app should remove them.

   Your solution would be good for bulk cleans, but incremental would
   probably be more efficient.

   So while it would be useful, I'm not sure its required.  I'll vote 1/2
   of a +1, as it would be nice to have available, but here are more
   important things.

   Maybe you should add it to their API feature request site?

   iematthew wrote:
   I haven't seen anything on the group or otherwise for a basic house-
   cleaning method for getting a list of suspended/canceled/deleted
   Twitter accounts. As our Twitter apps continue to grow, having methods
   for clearing out the dead wood from our systems would be quite useful.
   I don't think anyone wants to end up a few years down the road with a
   million non-existent Twitter accounts in their system, and I don't
   think it helps Twitter to have traffic coming back to them for
   accounts that no longer exist.

   What I propose is a simple method for grabbing the Twitter IDs of
   those accounts which have been permanently removed. If we could have
   returned an array of these ids (much the same as the new Social Graphs
   methods return only the IDs of a user's friends or followers) it would
   help us all keep our systems clear of these defunct accounts. Perhaps
   options for a since_id or since_time would also be useful so we only
   get the IDs we haven't already cleared out.

   Thoughts on this?

  --
  Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x




-- 
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x


[twitter-dev] Re: Method for getting disabled Twitter IDs

2009-02-23 Thread Chad Etzel

On Mon, Feb 23, 2009 at 3:13 PM, Alex Payne a...@twitter.com wrote:

 Just start typing?

Eh?  I don't see an option to choose between Enhancement or Defect
either when creating a new issue.  Is it hiding somewhere?
-Chad


 On Mon, Feb 23, 2009 at 11:44, iematthew matthew.dai...@ientryinc.com wrote:

 Just curious, but how does one go about setting the type of an issue
 in the bug/feature request system? I haven't seen any option for doing
 so, so my Enhancement gets entered as a Defect.


 On Feb 23, 2:39 pm, iematthew matthew.dai...@ientryinc.com wrote:
 Yes, there are more important things. But for future planning and
 keeping things clean, I think it would be a good thing to have. For
 apps that cache Twitter users and have tons in their system,
 requesting updates on each user can be resource-consuming, not to
 mention whitelist-consuming.

 A features request has been submitted as suggested:

 http://code.google.com/p/twitter-api/issues/detail?id=311

 On Feb 23, 2:11 pm, Alex Payne a...@twitter.com wrote:

  Yes, please do:http://code.google.com/p/twitter-api/issues/entry

  On Mon, Feb 23, 2009 at 09:28, jstrellner jstrell...@urltrends.com 
  wrote:

   I second this, it would be useful.  Although, if you are requesting
   info for that user, Twitter should be returning that the user no
   longer exists, and your app should remove them.

   Your solution would be good for bulk cleans, but incremental would
   probably be more efficient.

   So while it would be useful, I'm not sure its required.  I'll vote 1/2
   of a +1, as it would be nice to have available, but here are more
   important things.

   Maybe you should add it to their API feature request site?

   iematthew wrote:
   I haven't seen anything on the group or otherwise for a basic house-
   cleaning method for getting a list of suspended/canceled/deleted
   Twitter accounts. As our Twitter apps continue to grow, having methods
   for clearing out the dead wood from our systems would be quite useful.
   I don't think anyone wants to end up a few years down the road with a
   million non-existent Twitter accounts in their system, and I don't
   think it helps Twitter to have traffic coming back to them for
   accounts that no longer exist.

   What I propose is a simple method for grabbing the Twitter IDs of
   those accounts which have been permanently removed. If we could have
   returned an array of these ids (much the same as the new Social Graphs
   methods return only the IDs of a user's friends or followers) it would
   help us all keep our systems clear of these defunct accounts. Perhaps
   options for a since_id or since_time would also be useful so we only
   get the IDs we haven't already cleared out.

   Thoughts on this?

  --
  Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x




 --
 Alex Payne - API Lead, Twitter, Inc.
 http://twitter.com/al3x



[twitter-dev] Re: Method for getting disabled Twitter IDs

2009-02-23 Thread Matt Sanford

Hi there,

I looked into this a bit and it looks like non-admins are not  
seeing the field. Hoping I can make Google Code play ball, otherwise  
I'll keep doing the triage comments.


— Matt

On Feb 23, 2009, at 12:17 PM, Chad Etzel wrote:



On Mon, Feb 23, 2009 at 3:13 PM, Alex Payne a...@twitter.com wrote:


Just start typing?


Eh?  I don't see an option to choose between Enhancement or Defect
either when creating a new issue.  Is it hiding somewhere?
-Chad



On Mon, Feb 23, 2009 at 11:44, iematthew matthew.dai...@ientryinc.com 
 wrote:


Just curious, but how does one go about setting the type of an issue
in the bug/feature request system? I haven't seen any option for  
doing

so, so my Enhancement gets entered as a Defect.


On Feb 23, 2:39 pm, iematthew matthew.dai...@ientryinc.com wrote:

Yes, there are more important things. But for future planning and
keeping things clean, I think it would be a good thing to have. For
apps that cache Twitter users and have tons in their system,
requesting updates on each user can be resource-consuming, not to
mention whitelist-consuming.

A features request has been submitted as suggested:

http://code.google.com/p/twitter-api/issues/detail?id=311

On Feb 23, 2:11 pm, Alex Payne a...@twitter.com wrote:


Yes, please do:http://code.google.com/p/twitter-api/issues/entry


On Mon, Feb 23, 2009 at 09:28, jstrellner  
jstrell...@urltrends.com wrote:


I second this, it would be useful.  Although, if you are  
requesting

info for that user, Twitter should be returning that the user no
longer exists, and your app should remove them.


Your solution would be good for bulk cleans, but incremental  
would

probably be more efficient.


So while it would be useful, I'm not sure its required.  I'll  
vote 1/2

of a +1, as it would be nice to have available, but here are more
important things.



Maybe you should add it to their API feature request site?



iematthew wrote:
I haven't seen anything on the group or otherwise for a basic  
house-

cleaning method for getting a list of suspended/canceled/deleted
Twitter accounts. As our Twitter apps continue to grow, having  
methods
for clearing out the dead wood from our systems would be quite  
useful.
I don't think anyone wants to end up a few years down the road  
with a
million non-existent Twitter accounts in their system, and I  
don't

think it helps Twitter to have traffic coming back to them for
accounts that no longer exist.


What I propose is a simple method for grabbing the Twitter IDs  
of
those accounts which have been permanently removed. If we  
could have
returned an array of these ids (much the same as the new  
Social Graphs
methods return only the IDs of a user's friends or followers)  
it would
help us all keep our systems clear of these defunct accounts.  
Perhaps
options for a since_id or since_time would also be useful so  
we only

get the IDs we haven't already cleared out.



Thoughts on this?



--
Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x






--
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x





[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Zac Bowling

Script is running now. It has a 1.5 second delay between calls to be
nice to twitter (hope that is enough). Already down about 2,000
people.

using the twyt python library (with some modifications to support the
new social graph api) and simplejson.

---
from twyt.twitter import Twitter
import simplejson
import time

t = Twitter()
t.set_auth(loic,)
b = simplejson.loads(t.user_friends_graph())
for i in range(len(b)):
try:
t.friendship_destroy(b[i])
print %s - unfriending %s % (i,b[i])
except Exception:
#TODO: INSERT ASCII FAIL WHALE
print insert ascii fail whale here!
time.sleep(1.5)

---

Thanks a ton!

Zac Bowling
http://twitter.com/zbowling
http://zbowling.com/



On Mon, Feb 23, 2009 at 11:15 AM, Alex Payne a...@twitter.com wrote:

 That's not accurate, Nick. All accounts are expected to maintain a
 ratio of followers to following. As long as more people follow you
 than you follow in turn, you're good.

 On Mon, Feb 23, 2009 at 10:55, Nick Arnett nick.arn...@gmail.com wrote:


 On Mon, Feb 23, 2009 at 10:50 AM, Terry Jones terry.jo...@gmail.com wrote:

 Or if he really does want to start again, just delete the account and
 recreate it. That would have a certain appealing symmetry.

 Ah, but new accounts can only follow 2,000 people, so I'll bet he doesn't
 want that.
 Nick



 --
 Alex Payne - API Lead, Twitter, Inc.
 http://twitter.com/al3x



[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Matt Sanford

I usually lack any whale humor, but here goes:

 v  vv
 |  |  v |  v
 | .-, | |  |
  .--./ /  |  _.---.|
   '-. (__..-   \
  \  a|
   ',.__.   ,__.-'/
 '--/_.''`

  T H EW H A L E
 S L E E P S
   T O N I G H T

On Feb 23, 2009, at 01:52 PM, Zac Bowling wrote:



Script is running now. It has a 1.5 second delay between calls to be
nice to twitter (hope that is enough). Already down about 2,000
people.

using the twyt python library (with some modifications to support the
new social graph api) and simplejson.

---
from twyt.twitter import Twitter
import simplejson
import time

t = Twitter()
t.set_auth(loic,)
b = simplejson.loads(t.user_friends_graph())
for i in range(len(b)):
try:
t.friendship_destroy(b[i])
print %s - unfriending %s % (i,b[i])
except Exception:
#TODO: INSERT ASCII FAIL WHALE
print insert ascii fail whale here!
time.sleep(1.5)

---

Thanks a ton!

Zac Bowling
http://twitter.com/zbowling
http://zbowling.com/



On Mon, Feb 23, 2009 at 11:15 AM, Alex Payne a...@twitter.com wrote:


That's not accurate, Nick. All accounts are expected to maintain a
ratio of followers to following. As long as more people follow you
than you follow in turn, you're good.

On Mon, Feb 23, 2009 at 10:55, Nick Arnett nick.arn...@gmail.com  
wrote:



On Mon, Feb 23, 2009 at 10:50 AM, Terry Jones  
terry.jo...@gmail.com wrote:


Or if he really does want to start again, just delete the account  
and

recreate it. That would have a certain appealing symmetry.


Ah, but new accounts can only follow 2,000 people, so I'll bet he  
doesn't

want that.
Nick




--
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x





[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Zac Bowling

Oh thats awesome!

Every now and then I'll get a 503 Bad Gateway error but that is to be
expected at least a few times for 24,000+ calls :-)


Zac Bowling
http://twitter.com/zbowling
http://zbowling.com/



On Mon, Feb 23, 2009 at 1:59 PM, Matt Sanford m...@twitter.com wrote:
 I usually lack any whale humor, but here goes:
  v  vv
  |  |  v |  v
  | .-, | |  |
   .--./ /  |  _.---.|
'-. (__..-   \
   \  a|
',.__.   ,__.-'/
  '--/_.''`
   T H EW H A L E
  S L E E P S
T O N I G H T
 On Feb 23, 2009, at 01:52 PM, Zac Bowling wrote:

 Script is running now. It has a 1.5 second delay between calls to be
 nice to twitter (hope that is enough). Already down about 2,000
 people.

 using the twyt python library (with some modifications to support the
 new social graph api) and simplejson.

 ---
 from twyt.twitter import Twitter
 import simplejson
 import time

 t = Twitter()
 t.set_auth(loic,)
 b = simplejson.loads(t.user_friends_graph())
 for i in range(len(b)):
 try:
 t.friendship_destroy(b[i])
 print %s - unfriending %s % (i,b[i])
 except Exception:
 #TODO: INSERT ASCII FAIL WHALE
 print insert ascii fail whale here!
 time.sleep(1.5)

 ---

 Thanks a ton!

 Zac Bowling
 http://twitter.com/zbowling
 http://zbowling.com/



 On Mon, Feb 23, 2009 at 11:15 AM, Alex Payne a...@twitter.com wrote:

 That's not accurate, Nick. All accounts are expected to maintain a

 ratio of followers to following. As long as more people follow you

 than you follow in turn, you're good.

 On Mon, Feb 23, 2009 at 10:55, Nick Arnett nick.arn...@gmail.com wrote:


 On Mon, Feb 23, 2009 at 10:50 AM, Terry Jones terry.jo...@gmail.com wrote:

 Or if he really does want to start again, just delete the account and

 recreate it. That would have a certain appealing symmetry.

 Ah, but new accounts can only follow 2,000 people, so I'll bet he doesn't

 want that.

 Nick



 --

 Alex Payne - API Lead, Twitter, Inc.

 http://twitter.com/al3x





[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Lakshman Prasad
Why twyt library?

I have hacked on twitter API aswell; but I used the
http://code.google.com/p/python-twitter/ wrapper from Google.

Is there a wiki page that lists all different wrappers and explains why one
is to be used over the other?

Thanks.

On Tue, Feb 24, 2009 at 3:22 AM, Zac Bowling zbowl...@gmail.com wrote:


 Script is running now. It has a 1.5 second delay between calls to be
 nice to twitter (hope that is enough). Already down about 2,000
 people.

 using the twyt python library (with some modifications to support the
 new social graph api) and simplejson.

 ---
 from twyt.twitter import Twitter
 import simplejson
 import time

 t = Twitter()
 t.set_auth(loic,)
 b = simplejson.loads(t.user_friends_graph())
 for i in range(len(b)):
try:
t.friendship_destroy(b[i])
print %s - unfriending %s % (i,b[i])
except Exception:
#TODO: INSERT ASCII FAIL WHALE
print insert ascii fail whale here!
time.sleep(1.5)

 ---

 Thanks a ton!

 Zac Bowling
 http://twitter.com/zbowling
 http://zbowling.com/



 On Mon, Feb 23, 2009 at 11:15 AM, Alex Payne a...@twitter.com wrote:
 
  That's not accurate, Nick. All accounts are expected to maintain a
  ratio of followers to following. As long as more people follow you
  than you follow in turn, you're good.
 
  On Mon, Feb 23, 2009 at 10:55, Nick Arnett nick.arn...@gmail.com
 wrote:
 
 
  On Mon, Feb 23, 2009 at 10:50 AM, Terry Jones terry.jo...@gmail.com
 wrote:
 
  Or if he really does want to start again, just delete the account and
  recreate it. That would have a certain appealing symmetry.
 
  Ah, but new accounts can only follow 2,000 people, so I'll bet he
 doesn't
  want that.
  Nick
 
 
 
  --
  Alex Payne - API Lead, Twitter, Inc.
  http://twitter.com/al3x
 




-- 
Regards,
Lakshman
becomingguru.com
lakshmanprasad.com


[twitter-dev] Re: Freelance Twitter API Dev directory?

2009-02-23 Thread Lakshman Prasad
Ok, If you are starting it anyway, Please include me in that. Happy to hack
on twitter API, anyday!

twitter id:  twitter.com/scorpion032
Company:uswaretech.com/
Email:  laksh...@uswaretech.com

Thanks Alex, in advance!


On Tue, Feb 24, 2009 at 12:03 AM, Alex Payne a...@twitter.com wrote:


 There isn't one that I'm aware of, but if people would like to post
 their contact info in this thread (Twitter username, URL, email,
 whatever) I'm happy to collect them on the API Wiki.

 On Sat, Feb 21, 2009 at 18:00, Chad Etzel jazzyc...@gmail.com wrote:
 
  Hi All,
 
  I have been getting a few requests here and there for twitter API
  development work.  I cannot take on any such projects at the moment,
  but I always feel bad for leaving them in the lurch.  Is there a list
  or directory anywhere of Twitter API developers that work freelance
  that I can send to them when this happens?  I'm happy to forward on
  such requests.
 
  -Chad
 



 --
 Alex Payne - API Lead, Twitter, Inc.
 http://twitter.com/al3x




-- 
Regards,
Lakshman
becomingguru.com
lakshmanprasad.com


[twitter-dev] Re: Freelance Twitter API Dev directory?

2009-02-23 Thread CaMason

Why not...

twitter id:  twitter.com/CraigMason
company: Stasis Media (http://www.stasismedia.com)
email:   i...@stasismedia.com

-Craig

On Feb 23, 10:34 pm, Lakshman Prasad scorpion...@gmail.com wrote:
 Ok, If you are starting it anyway, Please include me in that. Happy to hack
 on twitter API, anyday!

 twitter id:      twitter.com/scorpion032
 Company:    uswaretech.com/
 Email:          laksh...@uswaretech.com

 Thanks Alex, in advance!



 On Tue, Feb 24, 2009 at 12:03 AM, Alex Payne a...@twitter.com wrote:

  There isn't one that I'm aware of, but if people would like to post
  their contact info in this thread (Twitter username, URL, email,
  whatever) I'm happy to collect them on the API Wiki.

  On Sat, Feb 21, 2009 at 18:00, Chad Etzel jazzyc...@gmail.com wrote:

   Hi All,

   I have been getting a few requests here and there for twitter API
   development work.  I cannot take on any such projects at the moment,
   but I always feel bad for leaving them in the lurch.  Is there a list
   or directory anywhere of Twitter API developers that work freelance
   that I can send to them when this happens?  I'm happy to forward on
   such requests.

   -Chad

  --
  Alex Payne - API Lead, Twitter, Inc.
 http://twitter.com/al3x

 --
 Regards,
 Lakshman
 becomingguru.com
 lakshmanprasad.com


[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Zac Bowling

I see that one but when I hit the download page, it said the last
update was Sept 2007, so I looked at the other one on the list, and
its last update was Febuary 2009, so I used that one.

That's all. Was hoping the new one had the social graph api but it
didn't but it was easy enough to add it.

Zac Bowling


On Mon, Feb 23, 2009 at 2:31 PM, Lakshman Prasad scorpion...@gmail.com wrote:
 Why twyt library?

 I have hacked on twitter API aswell; but I used the
 http://code.google.com/p/python-twitter/ wrapper from Google.

 Is there a wiki page that lists all different wrappers and explains why one
 is to be used over the other?

 Thanks.

 On Tue, Feb 24, 2009 at 3:22 AM, Zac Bowling zbowl...@gmail.com wrote:

 Script is running now. It has a 1.5 second delay between calls to be
 nice to twitter (hope that is enough). Already down about 2,000
 people.

 using the twyt python library (with some modifications to support the
 new social graph api) and simplejson.

 ---
 from twyt.twitter import Twitter
 import simplejson
 import time

 t = Twitter()
 t.set_auth(loic,)
 b = simplejson.loads(t.user_friends_graph())
 for i in range(len(b)):
try:
t.friendship_destroy(b[i])
print %s - unfriending %s % (i,b[i])
except Exception:
#TODO: INSERT ASCII FAIL WHALE
print insert ascii fail whale here!
time.sleep(1.5)

 ---

 Thanks a ton!

 Zac Bowling
 http://twitter.com/zbowling
 http://zbowling.com/



 On Mon, Feb 23, 2009 at 11:15 AM, Alex Payne a...@twitter.com wrote:
 
  That's not accurate, Nick. All accounts are expected to maintain a
  ratio of followers to following. As long as more people follow you
  than you follow in turn, you're good.
 
  On Mon, Feb 23, 2009 at 10:55, Nick Arnett nick.arn...@gmail.com
  wrote:
 
 
  On Mon, Feb 23, 2009 at 10:50 AM, Terry Jones terry.jo...@gmail.com
  wrote:
 
  Or if he really does want to start again, just delete the account and
  recreate it. That would have a certain appealing symmetry.
 
  Ah, but new accounts can only follow 2,000 people, so I'll bet he
  doesn't
  want that.
  Nick
 
 
 
  --
  Alex Payne - API Lead, Twitter, Inc.
  http://twitter.com/al3x
 



 --
 Regards,
 Lakshman
 becomingguru.com
 lakshmanprasad.com



[twitter-dev] Re: Freelance Twitter API Dev directory?

2009-02-23 Thread Dimebrain

Thanks for offering to collect this info, Alex.

Twitter Username: @dimebrain
URL: http://dimebrain.com
Email: i...@dimebrain.com
Technology: .NET, C#, Silverlight and WPF

On Feb 23, 2:33 pm, Alex Payne a...@twitter.com wrote:
 There isn't one that I'm aware of, but if people would like to post
 their contact info in this thread (Twitter username, URL, email,
 whatever) I'm happy to collect them on the API Wiki.

 On Sat, Feb 21, 2009 at 18:00, Chad Etzel jazzyc...@gmail.com wrote:

  Hi All,

  I have been getting a few requests here and there for twitter API
  development work.  I cannot take on any such projects at the moment,
  but I always feel bad for leaving them in the lurch.  Is there a list
  or directory anywhere of Twitter API developers that work freelance
  that I can send to them when this happens?  I'm happy to forward on
  such requests.

  -Chad

 --
 Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x


[twitter-dev] Re: Freelance Twitter API Dev directory?

2009-02-23 Thread Andrew Badera
Andy Badera
Higher Efficiency, Inc.
http://twitter.com/andrewbadera
and...@higherefficiency.net

Emphasis on .NET solutions and integration work.



On Mon, Feb 23, 2009 at 1:33 PM, Alex Payne a...@twitter.com wrote:


 There isn't one that I'm aware of, but if people would like to post
 their contact info in this thread (Twitter username, URL, email,
 whatever) I'm happy to collect them on the API Wiki.

 On Sat, Feb 21, 2009 at 18:00, Chad Etzel jazzyc...@gmail.com wrote:
 
  Hi All,
 
  I have been getting a few requests here and there for twitter API
  development work.  I cannot take on any such projects at the moment,
  but I always feel bad for leaving them in the lurch.  Is there a list
  or directory anywhere of Twitter API developers that work freelance
  that I can send to them when this happens?  I'm happy to forward on
  such requests.
 
  -Chad
 



 --
 Alex Payne - API Lead, Twitter, Inc.
 http://twitter.com/al3x



[twitter-dev] Re: Freelance Twitter API Dev directory?

2009-02-23 Thread Robert

Hi Alex,

Here is my contact info:

Twitter: @metarobert
Email: rob...@arlesnet.com
Web: http://32hours.com
Author of BeTwittered

Thanks for putting a list together!

Robert

On Feb 23, 10:33 am, Alex Payne a...@twitter.com wrote:
 There isn't one that I'm aware of, but if people would like to post
 their contact info in this thread (Twitter username, URL, email,
 whatever) I'm happy to collect them on the API Wiki.

 On Sat, Feb 21, 2009 at 18:00, Chad Etzel jazzyc...@gmail.com wrote:

  Hi All,

  I have been getting a few requests here and there for twitter API
  development work.  I cannot take on any such projects at the moment,
  but I always feel bad for leaving them in the lurch.  Is there a list
  or directory anywhere of Twitter API developers that work freelance
  that I can send to them when this happens?  I'm happy to forward on
  such requests.

  -Chad

 --
 Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x


[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Dossy Shiobara


On 2/23/09 4:59 PM, Matt Sanford wrote:

I usually lack any whale humor, but here goes:

  v  vv
  |  |  v |  v
  | .-, | |  |
   .--./ /  |  _.---.|
'-. (__..-   \
   \  a|
',.__.   ,__.-'/
  '--/_.''`

   T H EW H A L E
  S L E E P S
T O N I G H T



OMG.  Matt, you win at the Internets.  EPIC.

--
Dossy Shiobara  | do...@panoptic.com | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)


[twitter-dev] Re: Freelance Twitter API Dev directory?

2009-02-23 Thread Nick Arnett
Me, too.
twitter id:  twitter.com/NickArnetthttp://twitter.com/CraigMason
company: http://TwURLedNews.com
email:   nick.arn...@gmail.com

My expertise is in finding business intelligence in social media, which I've
been doing for about 10 years (I invented some of the A.C.
Nielsen/Buzzmetrics tools).  I mainly use Python and MySQL.  I move around
in the spectrum from product marketing to engineering.

Thanks!

Nick


[twitter-dev] Re: Freelance Twitter API Dev directory?

2009-02-23 Thread Abraham Williams
Abraham Williams
http://twitter.com/poseurtech
PoseurTech LLC
http://poseurte.ch
abra...@poseurte.ch

PHP, Drupal, My/SQL/ite,  OAuth, fun things.

This might be better on a user writeable page so Al3x does not have to keep
editing it.

On Mon, Feb 23, 2009 at 12:33, Alex Payne a...@twitter.com wrote:

 There isn't one that I'm aware of, but if people would like to post
 their contact info in this thread (Twitter username, URL, email,
 whatever) I'm happy to collect them on the API Wiki.




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


[twitter-dev] Re: Freelance Twitter API Dev directory?

2009-02-23 Thread Westley Annis

Username: WestleyAnnis
url: http://www.da-parish.com
email: west...@da-parish.com
Technology: PHP

-Original Message-

On Feb 23, 2:33 pm, Alex Payne a...@twitter.com wrote:
 There isn't one that I'm aware of, but if people would like to post
 their contact info in this thread (Twitter username, URL, email,
 whatever) I'm happy to collect them on the API Wiki.

 On Sat, Feb 21, 2009 at 18:00, Chad Etzel jazzyc...@gmail.com wrote:

  Hi All,

  I have been getting a few requests here and there for twitter API
  development work.  I cannot take on any such projects at the moment,
  but I always feel bad for leaving them in the lurch.  Is there a list
  or directory anywhere of Twitter API developers that work freelance
  that I can send to them when this happens?  I'm happy to forward on
  such requests.

  -Chad

 --
 Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x



[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Terry Jones

Hi Zac

 Loic loves everyone, but he had an auto-follow bot that followed everyone
 that followed him. Got a little crazy.

Sorry, I don't buy that for a second :-)

Looks to me like a Twitter personality overhaul. I mean who do you want to
be, someone with 24K followers who just follows a very small number of
people, or someone at 24K/24K?

What's the first (ok, second) thing you look at when you're assessing a
Twitter user's page?

Just when you think the old-fashioned concept of friendship, as translated
to the online world, couldn't be more thoroughly or cynically degraded... :-)

Terry


[twitter-dev] Re: Freelance Twitter API Dev directory?

2009-02-23 Thread fastest963

You know me:
Name: James Hartig
Company: isociale.com
email: fastest...@gmail.com
PHP, MySQL, AJAX, HTML, JS

On Feb 23, 7:56 pm, Westley Annis west...@da-parish.com wrote:
 Username: WestleyAnnis
 url:http://www.da-parish.com
 email: west...@da-parish.com
 Technology: PHP



 -Original Message-

 On Feb 23, 2:33 pm, Alex Payne a...@twitter.com wrote:
  There isn't one that I'm aware of, but if people would like to post
  their contact info in this thread (Twitter username, URL, email,
  whatever) I'm happy to collect them on the API Wiki.

  On Sat, Feb 21, 2009 at 18:00, Chad Etzel jazzyc...@gmail.com wrote:

   Hi All,

   I have been getting a few requests here and there for twitter API
   development work.  I cannot take on any such projects at the moment,
   but I always feel bad for leaving them in the lurch.  Is there a list
   or directory anywhere of Twitter API developers that work freelance
   that I can send to them when this happens?  I'm happy to forward on
   such requests.

   -Chad

  --
  Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x


[twitter-dev] Re: Freelance Twitter API Dev directory?

2009-02-23 Thread fastest963

You know me:
Name: James Hartig (@fastest963)
Company: isociale.com
email: fastest...@gmail.com
PHP, MySQL, AJAX, HTML, JS

On Feb 23, 1:33 pm, Alex Payne a...@twitter.com wrote:
 There isn't one that I'm aware of, but if people would like to post
 their contact info in this thread (Twitter username, URL, email,
 whatever) I'm happy to collect them on the API Wiki.

 On Sat, Feb 21, 2009 at 18:00, Chad Etzel jazzyc...@gmail.com wrote:

  Hi All,

  I have been getting a few requests here and there for twitter API
  development work.  I cannot take on any such projects at the moment,
  but I always feel bad for leaving them in the lurch.  Is there a list
  or directory anywhere of Twitter API developers that work freelance
  that I can send to them when this happens?  I'm happy to forward on
  such requests.

  -Chad

 --
 Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x


[twitter-dev] friendships/exists broken?

2009-02-23 Thread pierre

Hello,

This API call is returning true while twitter.com shows that user_a
is NOT following user_b:

  http://twitter.com/friendships/exists.json?user_a=749963user_b=14720560

Verified using curl providing user_a's username/password to
authenticate the call. Just noticed about an hour ago.

--Pierre



[twitter-dev] Re: friendships/exists broken?

2009-02-23 Thread Hayes Davis
I'm seeing the same thing. It's returning true for me no matter what when I
make the call in the way Pierre describes. It also seems to be returning the
raw true in the response body like it used to instead of the JSON repsonse
I thought it was changed to back in January.

Hayes
--
http://cheaptweet.com


On Mon, Feb 23, 2009 at 9:39 PM, pierre pomid...@gmail.com wrote:


 Hello,

 This API call is returning true while twitter.com shows that user_a
 is NOT following user_b:

  http://twitter.com/friendships/exists.json?user_a=749963user_b=14720560

 Verified using curl providing user_a's username/password to
 authenticate the call. Just noticed about an hour ago.

 --Pierre




[twitter-dev] Re: friendships/exists broken?

2009-02-23 Thread Aditya

+1 on the error.

On Feb 24, 8:39 am, pierre pomid...@gmail.com wrote:
 Hello,

 This API call is returning true while twitter.com shows that user_a
 is NOT following user_b:

  http://twitter.com/friendships/exists.json?user_a=749963user_b=14720560

 Verified using curl providing user_a's username/password to
 authenticate the call. Just noticed about an hour ago.

 --Pierre


[twitter-dev] Re: friendships/exists broken?

2009-02-23 Thread Hayes Davis

Further investigation shows the XML format is working fine. Seems to
be a problem only with the JSON version.

Hayes
--
http://cheaptweet.com


[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Andrew Price

On Feb 23, 11:07 pm, Zac Bowling zbowl...@gmail.com wrote:
 That's all. Was hoping the new one had the social graph api but it
 didn't but it was easy enough to add it.

I'll add this to twyt tomorrow. Or even sooner if you send me your
patch :-)

Cheers,

--
Andy Price


[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Zac Bowling

I'm shocked by the fall out today in the twitterverse about Loic now
only following 22 people right now. The @loic traffic is amazing.
Scoble is battling with him. Pretty interesting.

My patch stinks :-) don't have gnu diff around to give you a proper patch.

I just added these two functions to twyt\twitter.py's Twitter class:

def user_friends_graph(self, id=None):

Returns social graph of friends as json array

if id is not None and id  0:
raise TwitterException(User ID out of range)

handler = u'friends/ids.json'

data = []
if id:
data.append((id, id))

return self.get(data, handler, doauth=True)


def user_followers_graph(self, id=None):

Returns social graph of followers as json array

if id is not None and id  0:
raise TwitterException(User ID out of range)

handler = u'followers/ids.json'

data = []
if id:
data.append((id, id))

return self.get(data, handler, doauth=True)



Zac Bowling
http://twitter.com/zbowling
http://zbowling.com/



On Mon, Feb 23, 2009 at 10:44 PM, Andrew Price welshb...@gmail.com wrote:

 On Feb 23, 11:07 pm, Zac Bowling zbowl...@gmail.com wrote:
 That's all. Was hoping the new one had the social graph api but it
 didn't but it was easy enough to add it.

 I'll add this to twyt tomorrow. Or even sooner if you send me your
 patch :-)

 Cheers,

 --
 Andy Price


[twitter-dev] Re: 24,386 unfollow calls

2009-02-23 Thread Andrew Price

I've committed this to twyt's bzr repository with minor tweaks
(comments and method names) and credited you in the commit log. It'll
be included in the next release. Many thanks.

On Feb 24, 7:12 am, Zac Bowling zbowl...@gmail.com wrote:
 I'm shocked by the fall out today in the twitterverse about Loic now
 only following 22 people right now. The @loic traffic is amazing.
 Scoble is battling with him. Pretty interesting.

 My patch stinks :-) don't have gnu diff around to give you a proper patch.

 I just added these two functions to twyt\twitter.py's Twitter class:

         def user_friends_graph(self, id=None):
                 
                 Returns social graph of friends as json array
                 
                 if id is not None and id  0:
                         raise TwitterException(User ID out of range)

                 handler = u'friends/ids.json'

                 data = []
                 if id:
                         data.append((id, id))

                 return self.get(data, handler, doauth=True)

         def user_followers_graph(self, id=None):
                 
                 Returns social graph of followers as json array
                 
                 if id is not None and id  0:
                         raise TwitterException(User ID out of range)

                 handler = u'followers/ids.json'

                 data = []
                 if id:
                         data.append((id, id))

                 return self.get(data, handler, doauth=True)

 Zac Bowlinghttp://twitter.com/zbowlinghttp://zbowling.com/

 On Mon, Feb 23, 2009 at 10:44 PM, Andrew Price welshb...@gmail.com wrote:

  On Feb 23, 11:07 pm, Zac Bowling zbowl...@gmail.com wrote:
  That's all. Was hoping the new one had the social graph api but it
  didn't but it was easy enough to add it.

  I'll add this to twyt tomorrow. Or even sooner if you send me your
  patch :-)

  Cheers,

  --
  Andy Price