[twitter-dev] In Reply To

2009-02-21 Thread Duane Storey

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


[twitter-dev] Re: Rate limit exceeded for whitelisted app after inactivity.

2009-02-21 Thread gsmaverick

In case you missed it the max number of requests for any app is now
20k an hour.  So maybe that's your issue?

On Feb 20, 7:34 pm, CrewXp cre...@gmail.com wrote:
 Hey, we requested to be whitelisted about a month or two ago and it
 seemed like everything worked fine after we were added, but school
 ended for the semester here at our university, so the program's use
 stopped. School is back in session, so we have faculty using the
 program again, and are starting to see the Rate limit exceeded for our
 app.

 Is there a period where we are removed from the whitelist if the
 application isn't in use for a while?


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

2009-02-21 Thread Nick Arnett
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] Result count with search api

2009-02-21 Thread houdelou

Hi,

Is it possible to get the number of search results from the search
api? I don't see it in the  atom/xml result.

Thanks

Louis


[twitter-dev] Re: Rate limit exceeded for whitelisted app after inactivity.

2009-02-21 Thread Cameron Kaiser

  Hey, we requested to be whitelisted about a month or two ago and it
  seemed like everything worked fine after we were added, but school
  ended for the semester here at our university, so the program's use
  stopped. School is back in session, so we have faculty using the
  program again, and are starting to see the Rate limit exceeded for our
  app.
 
  Is there a period where we are removed from the whitelist if the
  application isn't in use for a while?
 
 In case you missed it the max number of requests for any app is now
 20k an hour.  So maybe that's your issue?

Only if he is whitelisted, and it doesn't sound like the OP knows for sure.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Immortality can always be assured by spectacular error. -- J. K. Galbraith -


[twitter-dev] Re: Rate limit exceeded for whitelisted app after inactivity.

2009-02-21 Thread dougw

CrewXp,
Can you run a request to the rate limit status method and share with
us what it returns?

http://apiwiki.twitter.com/REST+API+Documentation#ratelimitstatus

For example, here's my waitlisted account:

?xml version=1.0 encoding=UTF-8?
hash
  remaining-hits type=integer19995/remaining-hits
  hourly-limit type=integer2/hourly-limit
  reset-time type=datetime2009-02-21T18:00:41+00:00/reset-time
  reset-time-in-seconds type=integer1235239241/reset-time-in-
seconds
/hash

As you can see, I have an hourly limit of 2 calls. All whitelisted
accounts should see this, too.

@dougw

On Feb 21, 11:58 am, Cameron Kaiser spec...@floodgap.com wrote:
   Hey, we requested to be whitelisted about a month or two ago and it
   seemed like everything worked fine after we were added, but school
   ended for the semester here at our university, so the program's use
   stopped. School is back in session, so we have faculty using the
   program again, and are starting to see the Rate limit exceeded for our
   app.

   Is there a period where we are removed from the whitelist if the
   application isn't in use for a while?

  In case you missed it the max number of requests for any app is now
  20k an hour.  So maybe that's your issue?

 Only if he is whitelisted, and it doesn't sound like the OP knows for sure.

 --
  personal:http://www.cameronkaiser.com/--
   Cameron Kaiser * Floodgap Systems *www.floodgap.com* ckai...@floodgap.com
 -- Immortality can always be assured by spectacular error. -- J. K. Galbraith 
 -


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

2009-02-21 Thread Chad Etzel

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: TwitReport and my Intro to Twitter on the commandline scripts

2009-02-21 Thread Chad Etzel

This is very cool, thank you for sharing the info.  I am curious about
your procmail setup, but  I will email you off-list with my questions.

Thanks again,
-Chad

On Sat, Feb 21, 2009 at 2:00 AM, TjL luo...@gmail.com wrote:

 What is a TwitReport?

 Well, you know the new follower emails that you get?

 They aren't very useful, are they? I mean it's nice to know that
 you've got a new follower, but it doesn't tell you anything about
 them.  So what do you do?

 You could click on the page and see if they are someone you want to
 follow but -- Oops, look, they have their updates protected. Or all
 they post is links to their website about how to profit from the new
 social media scene.

 Etc.

 Wouldn't it be nice to get a quick look at their 'stats'? How many
 followers / friends / posts they have? When did they join Twitter? On
 average, how often do they post?  How many of those posts, on average,
 are @replies?

 Did they post anything for their Bio, Location, or Website?

 Can I see their last 20 updates so I can see if they seem interesting?

 1) Who else do they follow who I follow?

 2) Who else follows them who I follow?

 3) Who else follows both me and this new person?

 If they look like a spammer, how about showing me the Block URL?

 For that matter, why not show me their Twitter avatar/icon/picture, I
 might not recognize their name, but I might recognize their picture.

 Well, that's what TwitReport tells you, all right in your email, so
 you can look them over at your leisure, even on the go (the emails are
 formatted to work well on an iPhone [including the picture] and should
 work on other mobile devices as well).

 (You can find out more including how to use it at
 http://tr.im/twitreport and/or follow @twitreport at
 http://twitter.com/twitreport )


 That's the What.

 The How is all done on the commandline, using standard Unix tools:
 curl, sed, grep, etc.

 In fact I've amassed a little collection of scripts designed to answer
 the question How to do basic things on Twitter via the commandline.

 What to see everyone who follows you who you don't follow?

 What to see everyone who you follow who doesn't follow you?

 Want to balance your followers, that is, follow everyone who is
 following you and unfollow everyone who isn't?

 Want to be able to favorite the last update that someone posted just
 by using their name? [*]

 I coded up a bunch of these, including some with no real practical use
 (Want to fav the last 20 posts that someone made?), some that can be
 easily re-used (validate that a given input is a real twitter user,
 convert a Twitter ID to a Twitter Name), along with the script that
 powers twitreport, and put them all up here

 http://twitreport.tntluoma.com/

 in the hopes that they might be of some use to someone

 FWIW

 TjL



 [*] why? two reasons: 1) Twitterrific pops up, I can cmd+tab to
 Terminal and fav it on the commandline. NO MOUSE NEEDED. Also, 2) I
 can KNOW that it went through. My satellite connection is kinda flaky
 sometimes, so my script will read back the tweet that I fav'd to make
 sure that it was the right one and to confirm that it went through



[twitter-dev] Re: [oauth] Re: OAuth-like user experience examples

2009-02-21 Thread Chris Messina
On Sat, Feb 21, 2009 at 6:55 AM, Christian Scholz / Tao Takashi (SL) 
tao.taka...@googlemail.com wrote:


 I guess you wanted to link to http://wiki.oauth.net/iPhoto-to-Flickr


Whoops, thanks!



 Would be happy to have a discussion about these current examples,
 especially in light of some of the recent feedback from Twitter devs [1][2].


 So I am wondering in the iPhone case how I can be sure that I am really at
 yahoo and not somewhere else. I don't see any URL, whether it's SSL or not
 etc. and even if I would this application could of course fake this as well
 (which I guess is also the point in [1]). So I agree with [1] that a better
 way would be something inside the OS to provide that but that this of course
 also might not happen (or at least soon).


Exactly. Changing the OS is a long way off if people want to use these
technologies today.

As far as the security issues, this is a problem that was discussed recently
on the OpenID User Experience list:

First message:

http://openid.net/pipermail/user-experience/2009-February/000298.html

Follow the thread:

http://openid.net/pipermail/user-experience/2009-February/thread.html

I can't say that we came to a satisfying conclusion.

However, one option could be to do the authentication bit in the app, and if
the user is concerned about using the built-in browser, offer a link to sign
in via the browser. Of course, if it's a nefarious app, they probably will
just not include that link, and without UI consistency where people know to
look for such a thing, that may be a moot option.

Therein lies the argument *against* popping the authentication to the
browser: if you're using a nefarious app and have launched it, you're
probably hosed already.

It's probably just a matter of time before some Jailbroken iPhone app for
Facebook proves this point, so we're at a cross-roads between user education
and usability.



 I also see this more as a problem for e.g. the iPhone where you usually
 need to close the application in order to jump to safari. This is not such a
 problem on the desktop and (as you demonstrate) has been done for quite a
 while with flickr.


Pownce actually did this, and I don't think that the experience was all that
bad:

https://wiki.oauth.net/OAuth-for-Pownce-on-iPhone

With using custom protocol handlers, you can make the experience quite
smooth actually. Confining the user to the task at hand is a bit harder, but
it's not impossible to handle the case where the user never completes
authentication.


 I also agree with [2] that authenticating for multiple services might make
 this whole process a bit annoying. We might also face this issue in the
 proposed MMOX IETF working group[3] if we go with OAuth and in order to
 connect to a world you might first need to authorize various services
 (profile, inventory, contacts, IM, ...).


Yeah, this is why I advocate for strong identity, and an identity hub that
essentially talks to your federated services on your behalf, but is your
single point of authorizing third party apps to interact with your stuff.

I hope these visual examples help to demonstrate current practices in the
wild. I know that this kind of thing freaks us out:

http://www.flickr.com/photos/factoryjoe/3260710115/

...but it's clear that that's not the case for all developers.

Chris

-- 
Chris Messina
Citizen-Participant 
 Open Web Advocate-at-Large

factoryjoe.com # diso-project.org
citizenagency.com # vidoop.com
This email is:   [ ] bloggable[X] ask first   [ ] private


[twitter-dev] oAuth and 401 Unauthorised Request

2009-02-21 Thread Paul Kinlan
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] Freelance Twitter API Dev directory?

2009-02-21 Thread Chad Etzel

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


[twitter-dev] Re: Unix Timestamp with Twitter and Search API responses.

2009-02-21 Thread Chad Etzel

Seeing no response to this thread I have created Issue 306 here:

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

Please star it if you would like unix epoch timestamps included with
each update/tweet in API results.

-Chad

On Tue, Feb 17, 2009 at 4:01 PM, Chad Etzel jazzyc...@gmail.com wrote:
 Hi All,

 Wanted to make sure this wasn't a covered issue before I submitted a ticket.

 It would be handy to have a unix-style timestamp of an update/tweet
 passed back with the results along with the created_at field.
 created_at is a useful string representation of the timestamp, but
 not all languages have strong date parsers, whereas (pretty much) all
 languages can understand a unix timestamp and do further manipulation
 from there.

 Has the been discussed before?
 Thanks,
 -Chad



[twitter-dev] Re: OAuth-like user experience examples

2009-02-21 Thread atebits

 Exactly. Changing the OS is a long way off if people want to use these
 technologies today.

I agree completely, nothing is going to change overnight.  What I
would like to do is encourage all of us to look towards the future.
Eventually, we can have our cake and eat it too (have something with a
great UX *and* be secure).

That said, what I would like to push for is a updating the OAuth spec
(and Twitter's implementation) to support non-browser-based
authentication gateways, as I described in link [1].

As pointed out, this solution has one flaw, and that it is still
requires the provider to trust the owner of the authentication
gateway... which, until OS vendors provide a blessed gateway, would
be the apps themselves.  OAuth purists wouldn't like this because it
requires trusting apps, but that point is moot given the embedded web
view workarounds so many apps are using (as pointed out in prior
posts, and in the linked discussion thread).

As I wrote on my blog, we can build a system today that leverages [an
updated version of] OAuth, has great UX and can be upgraded to
something perfectly secure once OS vendors get on board.  Until then,
we'd have a system that is *just* as secure as Basic Authentication,
as it would require users to trust the clients (consumers) that they
use... (and if you use any email client today, well, you'd be a
hypocrite to complain).

Twitter folks helped *invent* OAuth, and it's a really clever/creative
solution.  It would be awesome if they were the first to go live with
an even better implementation of it.

Loren




 As far as the security issues, this is a problem that was discussed recently
 on the OpenID User Experience list:

 First message:

 http://openid.net/pipermail/user-experience/2009-February/000298.html

 Follow the thread:

 http://openid.net/pipermail/user-experience/2009-February/thread.html

 I can't say that we came to a satisfying conclusion.

 However, one option could be to do the authentication bit in the app, and if
 the user is concerned about using the built-in browser, offer a link to sign
 in via the browser. Of course, if it's a nefarious app, they probably will
 just not include that link, and without UI consistency where people know to
 look for such a thing, that may be a moot option.

 Therein lies the argument *against* popping the authentication to the
 browser: if you're using a nefarious app and have launched it, you're
 probably hosed already.

 It's probably just a matter of time before some Jailbroken iPhone app for
 Facebook proves this point, so we're at a cross-roads between user education
 and usability.

  I also see this more as a problem for e.g. the iPhone where you usually
  need to close the application in order to jump to safari. This is not such a
  problem on the desktop and (as you demonstrate) has been done for quite a
  while with flickr.

 Pownce actually did this, and I don't think that the experience was all that
 bad:

 https://wiki.oauth.net/OAuth-for-Pownce-on-iPhone

 With using custom protocol handlers, you can make the experience quite
 smooth actually. Confining the user to the task at hand is a bit harder, but
 it's not impossible to handle the case where the user never completes
 authentication.

  I also agree with [2] that authenticating for multiple services might make
  this whole process a bit annoying. We might also face this issue in the
  proposed MMOX IETF working group[3] if we go with OAuth and in order to
  connect to a world you might first need to authorize various services
  (profile, inventory, contacts, IM, ...).

 Yeah, this is why I advocate for strong identity, and an identity hub that
 essentially talks to your federated services on your behalf, but is your
 single point of authorizing third party apps to interact with your stuff.

 I hope these visual examples help to demonstrate current practices in the
 wild. I know that this kind of thing freaks us out:

 http://www.flickr.com/photos/factoryjoe/3260710115/

 ...but it's clear that that's not the case for all developers.

 Chris

 --
 Chris Messina
 Citizen-Participant 
  Open Web Advocate-at-Large

 factoryjoe.com # diso-project.org
 citizenagency.com # vidoop.com
 This email is:   [ ] bloggable    [X] ask first   [ ] private


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

2009-02-21 Thread Santosh Panda
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] Twitter Profile Image(s)

2009-02-21 Thread Ricardo Sousa

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/avatars_bigger.png
(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/bigger.png

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?


[twitter-dev] Getting Profile Picture/Avatar

2009-02-21 Thread Ricardo Sousa

Hello,

I run a application that retrieves twitter users profile pictures and
adds them to wordpress blog comments. The actual format of an twitter
user picture is the following:

http://s3.amazonaws.com/twitter_production/profile_images/80319404/avatars_bigger.png
(the avatars bit is the original pic name)

This means that everytime the user changes his avatar i MUST change
the url i will call for the picture. This makes me call the API more
often than what i wish (exceeding limits as this is to use in
different WP blogs). My question is if I'm missing some technique that
let's me pull the avatar regardingless the original uploaded image
name. Something like:

http://s3.amazonaws.com/twitter_production/profile_images/80319404/useravatar_bigger.png
(the useravatar bit wouldn't change)

That way i would need to call the API only one time per user, then i
would store the pic adress on my webpage and each time avatar changes
i wouldn't need to change the avatar URL and make another API call i
would just add the img.

Any idea if that's possible and, if not, will this be implemented?


Thanks


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

2009-02-21 Thread Emmanuel

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?


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

2009-02-21 Thread dougw

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: add
http://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?


[twitter-dev] Re: Result count with search api

2009-02-21 Thread Doug Williams
Louis,
That is not currently supported.

@dougw

On Sat, Feb 21, 2009 at 11:51 AM, houdelou houde...@gmail.com wrote:


 Hi,

 Is it possible to get the number of search results from the search
 api? I don't see it in the  atom/xml result.

 Thanks

 Louis




-- 
Doug Williams

do...@igudo.com
http://www.igudo.com


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

2009-02-21 Thread Karthik

I'm looking for a similar feature too. I wonder how 
http://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: TwitReport and my Intro to Twitter on the commandline scripts

2009-02-21 Thread Doug Williams
Great body of work here TjL, thanks for sharing. Good examples for people
wanting to get up and running with the API.

@dougw

On Sat, Feb 21, 2009 at 2:00 AM, TjL luo...@gmail.com wrote:


 What is a TwitReport?

 Well, you know the new follower emails that you get?

 They aren't very useful, are they? I mean it's nice to know that
 you've got a new follower, but it doesn't tell you anything about
 them.  So what do you do?

 You could click on the page and see if they are someone you want to
 follow but -- Oops, look, they have their updates protected. Or all
 they post is links to their website about how to profit from the new
 social media scene.

 Etc.

 Wouldn't it be nice to get a quick look at their 'stats'? How many
 followers / friends / posts they have? When did they join Twitter? On
 average, how often do they post?  How many of those posts, on average,
 are @replies?

 Did they post anything for their Bio, Location, or Website?

 Can I see their last 20 updates so I can see if they seem interesting?

 1) Who else do they follow who I follow?

 2) Who else follows them who I follow?

 3) Who else follows both me and this new person?

 If they look like a spammer, how about showing me the Block URL?

 For that matter, why not show me their Twitter avatar/icon/picture, I
 might not recognize their name, but I might recognize their picture.

 Well, that's what TwitReport tells you, all right in your email, so
 you can look them over at your leisure, even on the go (the emails are
 formatted to work well on an iPhone [including the picture] and should
 work on other mobile devices as well).

 (You can find out more including how to use it at
 http://tr.im/twitreport and/or follow @twitreport at
 http://twitter.com/twitreport )


 That's the What.

 The How is all done on the commandline, using standard Unix tools:
 curl, sed, grep, etc.

 In fact I've amassed a little collection of scripts designed to answer
 the question How to do basic things on Twitter via the commandline.

 What to see everyone who follows you who you don't follow?

 What to see everyone who you follow who doesn't follow you?

 Want to balance your followers, that is, follow everyone who is
 following you and unfollow everyone who isn't?

 Want to be able to favorite the last update that someone posted just
 by using their name? [*]

 I coded up a bunch of these, including some with no real practical use
 (Want to fav the last 20 posts that someone made?), some that can be
 easily re-used (validate that a given input is a real twitter user,
 convert a Twitter ID to a Twitter Name), along with the script that
 powers twitreport, and put them all up here

 http://twitreport.tntluoma.com/

 in the hopes that they might be of some use to someone

 FWIW

 TjL



 [*] why? two reasons: 1) Twitterrific pops up, I can cmd+tab to
 Terminal and fav it on the commandline. NO MOUSE NEEDED. Also, 2) I
 can KNOW that it went through. My satellite connection is kinda flaky
 sometimes, so my script will read back the tweet that I fav'd to make
 sure that it was the right one and to confirm that it went through




-- 
Doug Williams

do...@igudo.com
http://www.igudo.com


[twitter-dev] Re: Rate limit exceeded for whitelisted app after inactivity.

2009-02-21 Thread Doug Williams
CrewXp,
Can you run a request to the rate limit status method and share with us what
it returns?

http://apiwiki.twitter.com/REST+API+Documentation#ratelimitstatus

For example, here's my waitlisted account:

?xml version=1.0 encoding=UTF-8?
hash
  remaining-hits type=integer19995/remaining-hits
  hourly-limit type=integer2/hourly-limit
  reset-time type=datetime2009-02-21T18:00:41+00:00/reset-time
  reset-time-in-seconds type=integer1235239241/reset-time-in-seconds
/hash

As you can see, I have an hourly limit of 2 calls. All whitelisted
accounts should see this, too.

@dougw

On Sat, Feb 21, 2009 at 11:58 AM, Cameron Kaiser spec...@floodgap.comwrote:


   Hey, we requested to be whitelisted about a month or two ago and it
   seemed like everything worked fine after we were added, but school
   ended for the semester here at our university, so the program's use
   stopped. School is back in session, so we have faculty using the
   program again, and are starting to see the Rate limit exceeded for our
   app.
  
   Is there a period where we are removed from the whitelist if the
   application isn't in use for a while?
 
  In case you missed it the max number of requests for any app is now
  20k an hour.  So maybe that's your issue?

 Only if he is whitelisted, and it doesn't sound like the OP knows for sure.

 --
  personal:
 http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com *
 ckai...@floodgap.com
 -- Immortality can always be assured by spectacular error. -- J. K.
 Galbraith -




-- 
Doug Williams

do...@igudo.com
http://www.igudo.com


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

2009-02-21 Thread TjL

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


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

2009-02-21 Thread Chad Etzel

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 how 
 http://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: Result count with search api

2009-02-21 Thread Chad Etzel

However, many languages support functions that turn xml into arrays
and/or objects, which usually have accompanying .length or count()
properties/functions that will give you the length.

for example, in javascript with json format I usually store the result
in a variable called data, so I can say

var count = data.results.length;

In PHP I think you can do something similar with XML such as (assuming
$xml has the xml data):

$data = simplexml_load_string($xml);
$count = count($data-results);

ymmv,

-Chad

On Sat, Feb 21, 2009 at 12:27 PM, Doug Williams do...@igudo.com wrote:
 Louis,
 That is not currently supported.

 @dougw

 On Sat, Feb 21, 2009 at 11:51 AM, houdelou houde...@gmail.com wrote:

 Hi,

 Is it possible to get the number of search results from the search
 api? I don't see it in the  atom/xml result.

 Thanks

 Louis



 --
 Doug Williams

 do...@igudo.com
 http://www.igudo.com