[twitter-dev] Re: API limit confusion

2009-07-23 Thread Abraham Williams
On Wed, Jul 22, 2009 at 15:06, srikanth reddy srikanth.yara...@gmail.comwrote:

 @Abraham: Does it mean my consumer app (not Desktop client) cannot serve
 more than 150 authorized users/hour(if it is not white listed). It is hard
 to believe.
 If it is desktop client the 150 limit is understandable.


Each user and each IP has 150 calls/hour. If five applications (desktop or
web) are making calls on behalf of a single user or IP they count against
the same 150. Rate limiting has no connection to applications.



 The blog post says

 This limit applies to your Twitter account rather than the applications
 which make the calls to the API i.e. you have 100 API calls per hour in
 total regardless of which Twitter applications you use - it is NOT 100 API
 calls per application

 As you said

 Also it used to be that user requests from a whitelisted IP would reflect
 on the users limit unless they had hit their rate limit at which point it
 would count against the IP.

 its probably first user and then IP.


Yes. User then IP.



  POST request have their own limits
 yes i do not mean infinite calls but my consumer app should be able to get
 more than 20k request tokens

 Thanks for your time. Really helpful
 Srikanth


 On Wed, Jul 22, 2009 at 7:41 PM, Abraham Williams 4bra...@gmail.comwrote:

 In your first email you said When I check an oAuth'd user's rate limit,
 he also seems gets 2 API hits. so I'm not sure what you are seeing.
 Also it used to be that user requests from a whitelisted IP would reflect
 on the users limit unless they had hit their rate limit at which point it
 would count against the IP. I'm not sure if it still works this way though.
 Abraham

 On Wed, Jul 22, 2009 at 08:43, sjespers se...@webkitchen.be wrote:


 @Abraham: If that were true then calling rate_limit_status should give
 the same result... which it doesn't!


 On Jul 22, 3:26 pm, Abraham Williams 4bra...@gmail.com wrote:
  I recommend that you both read:
 http://apiwiki.twitter.com/Rate-limiting
 
  Serge: If you have an IP that is white listed all applicable calls from
 that
  IP will count against the 2 limit.
 
  Srikanth: That blog post says that twitter.com has no limit. It says
 nothing
  about anybody else not having a limit. The 20k is for GET requests
 however
  POST request have their own limits.
 
  Abraham
 
  On Wed, Jul 22, 2009 at 03:07, srikanth reddy 
 srikanth.yara...@gmail.comwrote:
 
 
 
 
 
   Hi
   I am also looking for this. The following post says there is no limit
 on
   calls from application
 
  http://tweetdeck.posterous.com/what-does-rate-limit-exceeded
 
   Rate limit is applicable on Get methods from ip/client.
   Can someone confirm if one can make unlimited calls (from an app) to
 get
   request token? What is this 2 limit? Is it for GET calls for
 authorized
   client/ip
 
   Regards
   Srikanth
 
   On Wed, Jul 22, 2009 at 1:24 PM, sjespers se...@webkitchen.be
 wrote:
 
   Hi there,
 
   I am a little bit confused by the API limits.
 
   The server for my application is whitelisted. So it's limit is 2
   API hits.
   I use oAuth to authorize Twitter users.
   When I check an oAuth'd user's rate limit, he also seems gets 2
   API hits. Is that true?
 
   Also, when I call the Twitter API using the user's oAuth
 credentials,
   which API limit gets that hit? The user's? Or the server's?
 
   Thanks,
   Serge
 
  --
  Abraham Williams | Community Evangelist |http://web608.org
  Hacker |http://abrah.am|http://twitter.com/abraham
  Project |http://fireeagle.labs.poseurtech.com
  This email is: [ ] blogable [x] ask first [ ] private.
  Sent from Madison, WI, United States




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





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


[twitter-dev] Re: Create Favourite API Not returning new status

2009-07-23 Thread Coderanger

Sorry


[twitter-dev] Re: API limit confusion

2009-07-23 Thread Abraham Williams
On Thu, Jul 23, 2009 at 02:02, srikanth reddy srikanth.yara...@gmail.comwrote:

 The  whole confusion is regarding this statement in
 http://apiwiki.twitter.com/Rate-limiting

 IP whitelisting takes precedence to account rate limits. *GET requests
 from a whitelisted IP address made on a user's behalf will be deducted from
 the whitelisted IP's limit, not the users*. Therefore, IP-based
 whitelisting is a best practice for applications that request many users'
 data

 If the above holds true my consumer web app could end up serving very few
 authenticated users. As you said it should be the other way.
 May be some one who has developed and encountered this problem with a
 webapp (with out being whitelisted) can confirm.


I guess it is not the same as it used to be with how it does not effect user
limits first. With 20k/h you can accomplish a lot. If you hit that limit
that you should contact a...@twitter.com and talk with them about higher
limits or more efficient methods to use.
Abraham

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


[twitter-dev] Re: OAuth necessary when I don't need to take over people's accounts?

2009-07-23 Thread Bjoern

On Jul 22, 6:55 pm, Grant Emsley grant.ems...@gmail.com wrote:
 It will improve the security of your account since it won't be sending
 username/password in plaintext anymore.

Although I think the OAuth keys are also in plaintext?

But thanks, I'll try to use it.


[twitter-dev] Re: OAuth necessary when I don't need to take over people's accounts?

2009-07-23 Thread Abraham Williams
Both OAuth and BasicAuth can be used over https.
Abraham

On Thu, Jul 23, 2009 at 02:45, Bjoern bjoer...@googlemail.com wrote:


 On Jul 22, 6:55 pm, Grant Emsley grant.ems...@gmail.com wrote:
  It will improve the security of your account since it won't be sending
  username/password in plaintext anymore.

 Although I think the OAuth keys are also in plaintext?

 But thanks, I'll try to use it.




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


[twitter-dev] Re: Detecting positive / negative / question

2009-07-23 Thread Joseph

Based on the search keyword tude and what follows it: (, ) or ?, I
made the same guess myself, but I did not want to assume anything.
Interesting link. I used to do some of that to analyze posts on a
forum in the early days of the internet (to weed out impostors), but
it did not work well.

On Jul 23, 12:42 am, Bjoern bjoer...@googlemail.com wrote:
 On Jul 22, 8:49 pm, Joseph northwest...@gmail.com wrote:

  That's what I meant. Short of doing a search, with tude[]=%3A) and
  store it in my cache (which will eat up a lot of API calls), do you
  have any hints on how to extract this out of the API?

 Isn't it just searching for the Strings :-(, :-) and ?? I don't
 think the attitude detection is more sophisticated than that at the
 moment?

 Otherwise, maybe have a look at this:http://danzarrella.com/tweetpsych.html

 Although don't put too much weight on it, I guess. But it's a fun
 approach.

 Björn


[twitter-dev] Re: API limit confusion

2009-07-23 Thread Hwee-Boon Yar

It's working like you want it to be.

In other words, you have a web app running on a single server with a
single IP. You make authenticated requests using each user's account.
If your IP is whitelisted, the calls go towards your 20k limit, if it
is not whitelisted, it goes against the current 150 limit for the
respective accounts. That's what it means by IP whitelisting takes
precedence to account rate limits.

--
Hwee-Boon

On Jul 23, 3:02 pm, srikanth reddy srikanth.yara...@gmail.com wrote:
 On Thu, Jul 23, 2009 at 12:07 PM, Abraham Williams 4bra...@gmail.comwrote:

 
 Each user and each IP has 150 calls/hour. If five applications (desktop or
 web) are making calls on behalf of a single user or IP they count against
 the same 150. Rate limiting has no connection to applications.



 Agreed. i have no issues with desktop apps as each user owns one (in which
 case ip/user does not matter and am pretty happy with 150 limit).

 But i am trying to understand this ip limit for web apps

 The  whole confusion is regarding this statement 
 inhttp://apiwiki.twitter.com/Rate-limiting

 IP whitelisting takes precedence to account rate limits. *GET requests from
 a whitelisted IP address made on a user's behalf will be deducted from the
 whitelisted IP's limit, not the users*. Therefore, IP-based whitelisting is
 a best practice for applications that request many users' data

 If the above holds true my consumer web app could end up serving very few
 authenticated users. As you said it should be the other way.
 May be some one who has developed and encountered this problem with a webapp
 (with out being whitelisted) can confirm.

 Thanks
 Srikanth





  On Wed, Jul 22, 2009 at 15:06, srikanth reddy 
  srikanth.yara...@gmail.comwrote:

  @Abraham: Does it mean my consumer app (not Desktop client) cannot serve
  more than 150 authorized users/hour(if it is not white listed). It is hard
  to believe.
  If it is desktop client the 150 limit is understandable.

  Each user and each IP has 150 calls/hour. If five applications (desktop or
  web) are making calls on behalf of a single user or IP they count against
  the same 150. Rate limiting has no connection to applications.

  The blog post says

  This limit applies to your Twitter account rather than the applications
  which make the calls to the API i.e. you have 100 API calls per hour in
  total regardless of which Twitter applications you use - it is NOT 100 API
  calls per application

  As you said

  Also it used to be that user requests from a whitelisted IP would
  reflect on the users limit unless they had hit their rate limit at which
  point it would count against the IP.

  its probably first user and then IP.

  Yes. User then IP.

   POST request have their own limits
  yes i do not mean infinite calls but my consumer app should be able to get
  more than 20k request tokens

  Thanks for your time. Really helpful
  Srikanth

  On Wed, Jul 22, 2009 at 7:41 PM, Abraham Williams 4bra...@gmail.comwrote:

  In your first email you said When I check an oAuth'd user's rate limit,
  he also seems gets 2 API hits. so I'm not sure what you are seeing.
  Also it used to be that user requests from a whitelisted IP would reflect
  on the users limit unless they had hit their rate limit at which point it
  would count against the IP. I'm not sure if it still works this way 
  though.
  Abraham

  On Wed, Jul 22, 2009 at 08:43, sjespers se...@webkitchen.be wrote:

  @Abraham: If that were true then calling rate_limit_status should give
  the same result... which it doesn't!

  On Jul 22, 3:26 pm, Abraham Williams 4bra...@gmail.com wrote:
   I recommend that you both read:
 http://apiwiki.twitter.com/Rate-limiting

   Serge: If you have an IP that is white listed all applicable calls
  from that
   IP will count against the 2 limit.

   Srikanth: That blog post says that twitter.com has no limit. It says
  nothing
   about anybody else not having a limit. The 20k is for GET requests
  however
   POST request have their own limits.

   Abraham

   On Wed, Jul 22, 2009 at 03:07, srikanth reddy 
  srikanth.yara...@gmail.comwrote:

Hi
I am also looking for this. The following post says there is no
  limit on
calls from application

   http://tweetdeck.posterous.com/what-does-rate-limit-exceeded

Rate limit is applicable on Get methods from ip/client.
Can someone confirm if one can make unlimited calls (from an app) to
  get
request token? What is this 2 limit? Is it for GET calls for
  authorized
client/ip

Regards
Srikanth

On Wed, Jul 22, 2009 at 1:24 PM, sjespers se...@webkitchen.be
  wrote:

Hi there,

I am a little bit confused by the API limits.

The server for my application is whitelisted. So it's limit is
  2
API hits.
I use oAuth to authorize Twitter users.
When I check an oAuth'd user's rate limit, he also seems gets 2
API hits. Is that true?

Also, when I call the 

[twitter-dev] Re: API limit confusion

2009-07-23 Thread srikanth reddy
Ohh. Then one user can make 150 authorized calls via consumer and deny
service to others :(


On Thu, Jul 23, 2009 at 1:36 PM, Hwee-Boon Yar hweeb...@gmail.com wrote:


 It's working like you want it to be.

 In other words, you have a web app running on a single server with a
 single IP. You make authenticated requests using each user's account.
 If your IP is whitelisted, the calls go towards your 20k limit, if it
 is not whitelisted, it goes against the current 150 limit for the
 respective accounts. That's what it means by IP whitelisting takes
 precedence to account rate limits.

 --
 Hwee-Boon

 On Jul 23, 3:02 pm, srikanth reddy srikanth.yara...@gmail.com wrote:
  On Thu, Jul 23, 2009 at 12:07 PM, Abraham Williams 4bra...@gmail.com
 wrote:
 
  
  Each user and each IP has 150 calls/hour. If five applications (desktop
 or
  web) are making calls on behalf of a single user or IP they count against
  the same 150. Rate limiting has no connection to applications.
 
 
 
  Agreed. i have no issues with desktop apps as each user owns one (in
 which
  case ip/user does not matter and am pretty happy with 150 limit).
 
  But i am trying to understand this ip limit for web apps
 
  The  whole confusion is regarding this statement inhttp://
 apiwiki.twitter.com/Rate-limiting
 
  IP whitelisting takes precedence to account rate limits. *GET requests
 from
  a whitelisted IP address made on a user's behalf will be deducted from
 the
  whitelisted IP's limit, not the users*. Therefore, IP-based whitelisting
 is
  a best practice for applications that request many users' data
 
  If the above holds true my consumer web app could end up serving very few
  authenticated users. As you said it should be the other way.
  May be some one who has developed and encountered this problem with a
 webapp
  (with out being whitelisted) can confirm.
 
  Thanks
  Srikanth
 
 
 
 
 
   On Wed, Jul 22, 2009 at 15:06, srikanth reddy 
 srikanth.yara...@gmail.comwrote:
 
   @Abraham: Does it mean my consumer app (not Desktop client) cannot
 serve
   more than 150 authorized users/hour(if it is not white listed). It is
 hard
   to believe.
   If it is desktop client the 150 limit is understandable.
 
   Each user and each IP has 150 calls/hour. If five applications (desktop
 or
   web) are making calls on behalf of a single user or IP they count
 against
   the same 150. Rate limiting has no connection to applications.
 
   The blog post says
 
   This limit applies to your Twitter account rather than the
 applications
   which make the calls to the API i.e. you have 100 API calls per hour
 in
   total regardless of which Twitter applications you use - it is NOT 100
 API
   calls per application
 
   As you said
 
   Also it used to be that user requests from a whitelisted IP would
   reflect on the users limit unless they had hit their rate limit at
 which
   point it would count against the IP.
 
   its probably first user and then IP.
 
   Yes. User then IP.
 
POST request have their own limits
   yes i do not mean infinite calls but my consumer app should be able to
 get
   more than 20k request tokens
 
   Thanks for your time. Really helpful
   Srikanth
 
   On Wed, Jul 22, 2009 at 7:41 PM, Abraham Williams 4bra...@gmail.com
 wrote:
 
   In your first email you said When I check an oAuth'd user's rate
 limit,
   he also seems gets 2 API hits. so I'm not sure what you are
 seeing.
   Also it used to be that user requests from a whitelisted IP would
 reflect
   on the users limit unless they had hit their rate limit at which
 point it
   would count against the IP. I'm not sure if it still works this way
 though.
   Abraham
 
   On Wed, Jul 22, 2009 at 08:43, sjespers se...@webkitchen.be wrote:
 
   @Abraham: If that were true then calling rate_limit_status should
 give
   the same result... which it doesn't!
 
   On Jul 22, 3:26 pm, Abraham Williams 4bra...@gmail.com wrote:
I recommend that you both read:
  http://apiwiki.twitter.com/Rate-limiting
 
Serge: If you have an IP that is white listed all applicable calls
   from that
IP will count against the 2 limit.
 
Srikanth: That blog post says that twitter.com has no limit. It
 says
   nothing
about anybody else not having a limit. The 20k is for GET requests
   however
POST request have their own limits.
 
Abraham
 
On Wed, Jul 22, 2009 at 03:07, srikanth reddy 
   srikanth.yara...@gmail.comwrote:
 
 Hi
 I am also looking for this. The following post says there is no
   limit on
 calls from application
 
http://tweetdeck.posterous.com/what-does-rate-limit-exceeded
 
 Rate limit is applicable on Get methods from ip/client.
 Can someone confirm if one can make unlimited calls (from an
 app) to
   get
 request token? What is this 2 limit? Is it for GET calls for
   authorized
 client/ip
 
 Regards
 Srikanth
 
 On Wed, Jul 22, 2009 at 1:24 PM, sjespers se...@webkitchen.be
   wrote:
 
 Hi 

[twitter-dev] Getting followers list with OAuth integration

2009-07-23 Thread dhaval

Hey all

I have integrated OAuth into my app. Now I want to get the follower
lists using http://twitter.com/statuses/followers.xml for the user who
has authenticated using OAuth.

My app works on ruby on rails. And i want to know how i can fetch the
followers list for the current logged in user.

Currently when i m sending a request to open
http://twitter.com/statuses/followers/current_user.screenname.xml i m
getting 401 unauthorised error.

Can any ne tell me the solution for it.

Thanks


[twitter-dev] Re: API limit confusion

2009-07-23 Thread jmathai

 In other words, you have a web app running on a single server with a
 single IP. You make authenticated requests using each user's account.
 If your IP is whitelisted, the calls go towards your 20k limit, if it
 is not whitelisted, it goes against the current 150 limit for the
 respective accounts. That's what it means by IP whitelisting takes
 precedence to account rate limits.

I don't believe that is true.  If your web app is running on a
whitelisted IP then you get up to 20k GET calls per hour.  POST
requests (status or DM) are counted against the user being
authenticated.  You CANNOT retrieve a user's rate limit status.


[twitter-dev] Re: Getting followers list with OAuth integration

2009-07-23 Thread Dhaval Parikh
yes i m getting access token and secret key and im  using the plugin
available on http://code.google.com/p/oauth-plugin/

On 7/23/09, jmathai jmat...@gmail.com wrote:


 Are you 100% positive that your oauth headers are correct?
 http://apiwiki.twitter.com/HTTP-Response-Codes-and-Errors

 Which library are you using?

 On Jul 23, 1:47 am, dhaval dhaval.parik...@gmail.com wrote:
  Hey all
 
  I have integrated OAuth into my app. Now I want to get the follower
  lists usinghttp://twitter.com/statuses/followers.xmlfor the user who
  has authenticated using OAuth.
 
  My app works on ruby on rails. And i want to know how i can fetch the
  followers list for the current logged in user.
 
  Currently when i m sending a request to openhttp://
 twitter.com/statuses/followers/current_user.screenname.xmli m
  getting 401 unauthorised error.
 
  Can any ne tell me the solution for it.
 
  Thanks




-- 
Dhaval Parikh
Software Engineer
Ruby on Rails
(gtalk) dhaval.parik...@gmail.com
(yahoo) parikh_dhava...@yahoo.com
(msn id) dhaval_parik...@hotmail.com
(url) www.dhavalparikh.co.in


[twitter-dev] How capture the statuses update reply?

2009-07-23 Thread crMauro

Hello,

I tried to update my Twitter status from my web page using an html
form to post the update through twitter API. As result of the below
code is that my web page is substituted with Twitter API response.
Someone can help me to find a way to capture the Twitter API response,
maybe inside JSON variable, to avoid exiting from my web page? (TIA)

form name=input action=http://twitter.com/statuses/update.json;
method=post 
bWrite inside Twitter area:/bbr
input type=text name=status maxlength=140  style=width:220px/

input type=submit value=Submit /
/form

Mauro



[twitter-dev] Update multiple users at once

2009-07-23 Thread DavidH

If I want to update multiple Twitter user accounts at once (with a
different message for each), is there anyway to do it other than
making multiple posts to update.xml?

[I want to update accounts by cron; at the moment I have only a small
number of users using the service, which isn't a problem. If this
grows to several hundred, I suspect my cron job might time out before
it can loop through 200 calls]


[twitter-dev] Re: Random updates coming from API

2009-07-23 Thread matthew

Have you tried unfollowing @twitterapi?

On Jul 22, 8:59 pm, Devonne streeter solelydiv...@gmail.com wrote:
 I 've been receiving random profile updates coming from API on my profile
 for the last 4 weeks, i have send request to solve the issue, yet it still
 happening

 thank you


[twitter-dev] Re: Random updates coming from API

2009-07-23 Thread Stuart

2009/7/23 solelydivine solelydiv...@gmail.com:

 I keep receiving random updated coming from API, are you able to check
 the mater out and stop them from randomly posting on my profile,

Change your password. Chances are you've given your Twitter username
and password to a website that's now posting updates without your
permission.

-Stuart

-- 
http://stut.net/projects/twitter/


[twitter-dev] Re: Update multiple users at once

2009-07-23 Thread Cameron Kaiser

 If I want to update multiple Twitter user accounts at once (with a
 different message for each), is there anyway to do it other than
 making multiple posts to update.xml?

Nope.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Humor is a drug which it's the fashion to abuse. -- William Gilbert 


[twitter-dev] Re: How capture the statuses update reply?

2009-07-23 Thread Cameron Kaiser

 I tried to update my Twitter status from my web page using an html
 form to post the update through twitter API. As result of the below
 code is that my web page is substituted with Twitter API response.
 Someone can help me to find a way to capture the Twitter API response,
 maybe inside JSON variable, to avoid exiting from my web page? (TIA)
 
 form name=input action=http://twitter.com/statuses/update.json;
 method=post 
   bWrite inside Twitter area:/bbr
   input type=text name=status maxlength=140  style=width:220px/
 
   input type=submit value=Submit /
 /form

You are essentially trying to post directly from your page, and this is
prohibited by Twitter due to previous abuse. If you absolutely must retain
full control over the posting process, you will need a script that does the
posting through the API like any other client (and like any other client will
need to handle authentication, etc.).

If this is not so critical, then a URL like

https://twitter.com/home?status=this+will+populate+the+input+box

will automatically populate the input box, and the user can simply click
Update if they are already logged in.

I don't see this in the FAQ; maybe it should be put there.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- This signature is free of dihydrogen monoxide! Ban it now! www.dhmo.org 


[twitter-dev] Re: A question regarding categorization of tweets

2009-07-23 Thread Terry Jones

This is not an API question, but I don't know where else to ask it...

Twitter recently changed their web setup. When I click on the followers
link when I logged in on http://twitter.com I get a page of followers and
choose between List and Expanded views.

  My first problem is that when I click on the follow icon next to a user's
  name, nothing happens. The generic gray avatar icon I click on (with the
  little + sign on it) flashes, but that's it.

  Second problem: when I go to that user's page (http://twitter.com/zooko
  in this case) and click on the Follow button, nothing happens.

  Third problem (related?): When I click on a Trending Topic link, I get
  taken to a new page that asks What are you doing?, has the usual update
  box, has the normal right sidebar - but which has no tweets on it at all.

  Fourth (related?): When I type a tweet into the update box, I no longer
  see a counter showing me how many chars I have left.

It almost feels like I have a systematic problem with Javascript. But I'm
using a stock Firefox (Ubuntu Linux Hardy 8.04 fully apt-get updated)
3.0.12. I have tried this with all FF extensions disabled.  I have
Javascript enabled.

The rest of my web browsing seems fine, no problems with other sites AFAIK.

It feels weird to be asking here about such fundamental problems. I haven't
seen anyone else bring them up, so I imagine I have something weird going
on. Or are there really so few people left on the planet using the regular
web interface to Twitter? :-)

Thanks for any help / suggestions.

Terry


[twitter-dev] Re: how to destroy the tweet by HTTP POST?

2009-07-23 Thread Cameron Kaiser

 I manage to post a tweet with HTTP POST. Then I dumped the result. It
 was in the XML format. I got this value within XML tag id2774581598/
 id when I posted it successfully. I believe this is a twit numeric
 identifier we can use to destroy it but I'm getting 404 error.
 
 Now I wish to delete (destroy) the same twit...I'm trying with
 following code but it does NOT work.
 
 cfhttp url=http://twitter.com/statuses/destroy/
 #arguments.statusID#.xml method=post
 username=#arguments.username# password=#arguments.password#
 useragent=twitterCFC
   cfhttpparam name=id value=#arguments.statusID#
 type=formfield /
   /cfhttp
 
 where  arguments.statusID = 2774581598.
 
 Can someone help me please?

Give a trace coming from your CF server using a proxy such as Charles. This
will help to make sure that your code is emitting the correct headers/URL.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Neckties strangle clear thinking. -- Lin Yutang 


[twitter-dev] How to get all the replies .

2009-07-23 Thread cem

Hi ;

  I am new to Twitter Apps And Trying to get all the replies sent to
me. Well the problem is when I send a query it gets only the last 20
replies. How can I be sure that I am getting all the replies sent to
me and store them in my database ? Because all my application relies
on this.

 If that is not a rule coming from twitter. Than my classes are faulty
and does some one knows the best twitter PHP class to use for my
apps.

  Thank you


[twitter-dev] Re: How to get all the replies .

2009-07-23 Thread Cameron Kaiser

   I am new to Twitter Apps And Trying to get all the replies sent to
 me. Well the problem is when I send a query it gets only the last 20
 replies. How can I be sure that I am getting all the replies sent to
 me and store them in my database ? Because all my application relies
 on this.
 
  If that is not a rule coming from twitter. Than my classes are faulty
 and does some one knows the best twitter PHP class to use for my
 apps.

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-mentions

in particular the count parameter. If you expect to be getting a crapload
of replies, you might be better off making up some sort of bot to fetch them
at regular, respectful intervals.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Maturity is only a short break in adolescence. -- Jules Feiffer 


[twitter-dev] Re: Update multiple users at once

2009-07-23 Thread DavidH

Cheers for that: it's what I thought but just wanted to check. Guess
I'll have to queue separate cron jobs if things start to get too big.

On Jul 23, 1:31 pm, Cameron Kaiser spec...@floodgap.com wrote:
  If I want to update multiple Twitter user accounts at once (with a
  different message for each), is there anyway to do it other than
  making multiple posts to update.xml?

 Nope.

 --
  personal:http://www.cameronkaiser.com/--
   Cameron Kaiser * Floodgap Systems *www.floodgap.com* ckai...@floodgap.com
 -- Humor is a drug which it's the fashion to abuse. -- William Gilbert 
 


[twitter-dev] Re: The Gardenhose Cooperative

2009-07-23 Thread Twittledee

So, I actually think that this is a very interesting idea ... but I
would turn it around a little and ask: Would people be interested in
creating a peer-to-peer network ala bit torrent for access to tweets?

The idea is that we would create a point system where you make data
available and you consume data for your own purposes. The more data
you provide (read provide more connections to others) the more
connections to other you can get. Since none of the private tweets can
come across the streaming api, there is no worries about privacy, and
since every request from one peer to another is done as a specific
temporal slice, we don't run up against 5/ii of the stream api
license.

Thoughts?

On Jul 22, 6:41 pm, braver delivera...@gmail.com wrote:
 After we lost a few days of gardenhose, I'm wondering whether it would
 be OK for us gardenhosers to back up each other.  In case we do
 research, for instance -- as we do at Dartmouth.

  I suggest the following: say you lost a day or a few within the range
 since you were authorized, and are a member of our garden variety
 cooperative.  You ask me to fill you in, and tell me the day you
 started gathering the hose.  I pick a day for which you have data, and
 ask you to verify a few tweets somehow -- e.g. tell me which tweet ids
 there are for a certain user id.

 Would it be OK to self-organize like that, and who'd be our buddy?
 Cheers,
 Alexy


[twitter-dev] Re: Updating the APIs authentication limiting policy

2009-07-23 Thread jim.renkel

Owkaye,

Thanks for the comment and suggestion.

The problem with implementing this locally at associated web sites
rather than centrally at twitter is that:
- each site would have to implement it separately; and
- users would have to sign up and create a private ID at each site
they use.

That results in much confusion and duplication of effort both for web
site developers and users. It would be be much less confusing and
require much less total effort if it were done centrally.

That said and given twitter's priorities and available resources, I
don't expect them to implement this scheme or anything like it.

And, at this time, we don't even know if this is a real issue or just
a red-herring. I raised it because I saw it as a theoretical problem
with the proposal, not because anyone that I know has experienced this
problem.

Does anybody see this as a real or potential problem, or should we
just let the issue fade away?

Comments expected and welcome.

Jim

On Jul 22, 3:28 pm, owkaye owk...@gmail.com wrote:
  One solution to this problem is to add to each twitter
  account another private ID.

 Jim,

 Wouldn't it make more sense to implement this private id
 thing on your own server?

 My thought here is that your service should maintain its own
 database of users, and issue a unique private id for each
 of these users.

 Then when the visitor tries to login, your code can check to
 see if the private id the visitor has entered is in your own
 database.  If so the person is allowed to login, and if not
 they get an error.

 Would this work to solve the problem of am I missing
 something here?

 Owkaye


[twitter-dev] Re: Updating the APIs authentication limiting policy

2009-07-23 Thread Scott Aikin

Jim,

What you're suggesting is basically what they offer with OAuth.  Apps
are given a token to represent logins and a secret key to represent
passwords for their authenticated users.  Both are very long and
impossible to guess.  This mechanism works very well and basically
corrects all the issues with collecting actual logins and passwords
from users.

Scott


[twitter-dev] Re: Detecting positive / negative / question

2009-07-23 Thread tomz

http://tweetsentiments.com uses Machine Learning and NLP for sentiment
analysis.
No published API access yet(some already available), but it's on the
road map.
Currently sacrificing some precision for speed, but we will focus on
improving precision in the near future.


[twitter-dev] Re: The Gardenhose Cooperative

2009-07-23 Thread Doug Williams

What John was referring to above were the statements in the EULA which
you sign to access the gardenhose which prohibit this type of
redistribution.

Thanks,
Doug




On Thu, Jul 23, 2009 at 7:19 AM, Twittledeewebs...@twittledee.com wrote:

 So, I actually think that this is a very interesting idea ... but I
 would turn it around a little and ask: Would people be interested in
 creating a peer-to-peer network ala bit torrent for access to tweets?

 The idea is that we would create a point system where you make data
 available and you consume data for your own purposes. The more data
 you provide (read provide more connections to others) the more
 connections to other you can get. Since none of the private tweets can
 come across the streaming api, there is no worries about privacy, and
 since every request from one peer to another is done as a specific
 temporal slice, we don't run up against 5/ii of the stream api
 license.

 Thoughts?

 On Jul 22, 6:41 pm, braver delivera...@gmail.com wrote:
 After we lost a few days of gardenhose, I'm wondering whether it would
 be OK for us gardenhosers to back up each other.  In case we do
 research, for instance -- as we do at Dartmouth.

  I suggest the following: say you lost a day or a few within the range
 since you were authorized, and are a member of our garden variety
 cooperative.  You ask me to fill you in, and tell me the day you
 started gathering the hose.  I pick a day for which you have data, and
 ask you to verify a few tweets somehow -- e.g. tell me which tweet ids
 there are for a certain user id.

 Would it be OK to self-organize like that, and who'd be our buddy?
 Cheers,
 Alexy



[twitter-dev] Re: Change your avatar's Twitter

2009-07-23 Thread Cameron Kaiser

 How to replace the image of the avatar through the Twitter API or any
 other form automatically?

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0update_profile_image

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Courage is being scared to death, and saddling up anyway. -- John Wayne 


[twitter-dev] Change your avatar's Twitter

2009-07-23 Thread Leo Baiano

Hi,

How to replace the image of the avatar through the Twitter API or any
other form automatically?

I am wanting to do something similar to http://twibbon.com

-- 
Amplexos,

Leo Baiano
http://www.leobaiano.com
http://www.blog.ljunior.com
http://www.mcelebridades.com
http://www.twitter.com/leobaiano


[twitter-dev] Re: Detecting positive / negative / question

2009-07-23 Thread Joseph

Tom, thanks for the link. I've been to the site in the past. I just
revisited, and entered Sarah Palin in the search box. It returned 50
tweets, labeled 39 as neutral, 5 positive and 6 negative. I checked
the actual tweets, and here's what I found:

- Neutral: I only found one (maybe). The other 38 were actually pretty
negative.
- Positive: only one was positive, the other four were sarcasm.
- Negative: you did well here, 5 were negative, and one was actually
positive.

So, the accuracy level on this test is 6 or 7 out of 50, or anywhere
from 12% to 14%. Given the state of the art in computing power, I
think we're still years away from NLP and Machine Learning, being able
to properly process sarcasm, double entendre, backhanded compliments,
turns of word, etc. So that may work in a limited fashion, and for
certain topics, where the format and style are controlled, but not
when it's free for all.


On Jul 23, 1:28 pm, tomz tom.z.z...@gmail.com wrote:
 http://tweetsentiments.comuses Machine Learning and NLP for sentiment
 analysis.
 No published API access yet(some already available), but it's on the
 road map.
 Currently sacrificing some precision for speed, but we will focus on
 improving precision in the near future.


[twitter-dev] Re: Getting followers list with OAuth integration

2009-07-23 Thread Dhaval Parikh
Can someone tell me if they have done it before?

On 7/23/09, Dhaval Parikh dhaval.parik...@gmail.com wrote:

 yes i m getting access token and secret key and im  using the plugin
 available on http://code.google.com/p/oauth-plugin/

 On 7/23/09, jmathai jmat...@gmail.com wrote:


 Are you 100% positive that your oauth headers are correct?
 http://apiwiki.twitter.com/HTTP-Response-Codes-and-Errors

 Which library are you using?

 On Jul 23, 1:47 am, dhaval dhaval.parik...@gmail.com wrote:
  Hey all
 
  I have integrated OAuth into my app. Now I want to get the follower
  lists usinghttp://twitter.com/statuses/followers.xmlfor the user who
  has authenticated using OAuth.
 
  My app works on ruby on rails. And i want to know how i can fetch the
  followers list for the current logged in user.
 
  Currently when i m sending a request to openhttp://
 twitter.com/statuses/followers/current_user.screenname.xmli m
  getting 401 unauthorised error.
 
  Can any ne tell me the solution for it.
 
  Thanks




 --
 Dhaval Parikh
 Software Engineer
 Ruby on Rails
 (gtalk) dhaval.parik...@gmail.com
 (yahoo) parikh_dhava...@yahoo.com
 (msn id) dhaval_parik...@hotmail.com
 (url) www.dhavalparikh.co.in




-- 
Dhaval Parikh
Software Engineer
Ruby on Rails
(gtalk) dhaval.parik...@gmail.com
(yahoo) parikh_dhava...@yahoo.com
(msn id) dhaval_parik...@hotmail.com
(url) www.dhavalparikh.co.in