[twitter-dev] Re: Authorizing for partial control

2010-09-21 Thread Papa.Coen
Of course, Twitter is not a secure means of communication. You know
that, I know that. How about the majority of Twitter users? I think
you could imagine the personal harm you could get from insulting
tweets, spamming on your behalf or even setting pornographic images as
your avatar. People are getting sued/prosecuted/fired/apprehended even
here in the Netherlands for the tweets they post.
Rediculous.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-21 Thread andy
Hello Tom,

unfortunately, it still doesn´t work. When my basestring does not
include x_auth_password and x_auth_username I don´t get an successfull
response?

Now I am doing it as it is described in the documentation on
http://dev.twitter.com/pages/xauth.

I get an successfull Response with following parameter:
oauth_token=1177oauth_token_secret=WfLZlea...user_id=myID6screen_name=myNamex_auth_expires=0


Now, I will get the Friends Timeline with the URL
http://api.twitter.com/1/statuses/friends_timeline.xml and the
following GET-Parameter:

oauth_consumer_key, oauth_signature, oauth_token, oauth_consumer_key
and oauth_token_secret

When I send the request with this parameters, it will open a new
window, where should I enter my user data.

After this, I get an error response with following message:


?xml version=1.0 encoding=UTF-8?
hash
  request/1/statuses/friends_timeline.xml?
oauth_consumer_key=iTAqwZGGBLrC95j9N7VJAamp;oauth_nonce=41A58B82-45EA-
D3DC-
B770-3336247590DFamp;oauth_signature=Qze584pBZdLVX2OiPAdk7rLwOjE=amp;oauth_signature_method=HMAC-
SHA1amp;oauth_timestamp=1285054407amp;oauth_token=17312344-
qoIC5BRaaMw63fnP5fCZf8rfTJ73uqIPjjXLtvlJYamp;oauth_version=1.0amp;x_auth_mode=client_authamp;x_auth_password=infoMantisamp;x_auth_username=Matapolo/
request
  errorIncorrect signature/error
/hash


Can you tell me, what is wrong on my request?












On 20 Sep., 20:43, andy andreas-wilkeme...@andreazw.de wrote:
 OK, tomorrow I will try it again.

 Thaks
 Andreas

 On 20 Sep., 20:37, Tom van der Woerdt i...@tvdw.eu wrote:

  Thanks, I know how xAuth works. ;-) This isn't xAuth though.

  The Base String consists of all parameters you send to Twitter. You
  aren't sending x_auth_username/x_auth_password (nor should you) so it
  shouldn't be in the Base String.

  You may be confused between xAuth and OAuth here: xAuth is simply an
  extension to OAuth, so that Desktop applications can easily exchange
  usernames/passwords for credentials. However, a call to any other
  endpoint than access_token is not at all related to xAuth, so you should
  not be sending the username and/or password. That's what credentials are
  for :-)

  Tom

  On 9/20/10 8:35 PM, andy wrote:

   I use xauth, so I can log in directly from my application for Twitter.
   For pure OAuth it l ft an extra URL on Twitter and you get a pin code
   with which I return to my application needs.

   The xauth-i parameter to give, as it is described in the Twitter
   documentation.

   Would in my GET request, the parameters are passed with xauth?

   On 20 Sep., 20:23, Tom van der Woerdt i...@tvdw.eu wrote:
   No, that's no problem.

   What I *did* just notice is that the parameters in your Base String
   don't match the parameters in your GET. Why are you sending x_auth_*?

   Tom

   On 9/20/10 8:21 PM, andy wrote:

   Thank you for the quick help, I've just seen that the parameters
   since_id, since_date, max_id, count, page I have not supplied.
   Can there be a problem because in the absence of these?

   On 20 Sep., 20:10, Tom van der Woerdt i...@tvdw.eu wrote:
   Yes, OAuth is the authentication layer. If you are asked for a 
   password,
   just click cancel (but really, it shouldn't ask you for one).

   Tom

   On 9/20/10 8:07 PM, andy wrote:

   Hello Tom,

   I get an successfull response with the oauthToken, oauthSecret,
   userId, Screenname.

   My basestring to generate my signature ist this:
   POSThttps%3A%2F%2Fapi.twitter.com%2Foauth
   %2Faccess_tokenoauth_consumer_key%3D...myKey...%26oauth_nonce
   %3D4093828128%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
   %3D1284991785%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
   %26x_auth_password%3D...myTwitterPassword%26x_auth_username
   %3D...myTwitterUserName...

   When I send a request with GET-Parameter it will open a Window, where
   should I enter my user data. After this I will get following XML-Code:

   hash
     -
       request
          /1/statuses/home_timeline.xml?
   oauth_timestamp=1284991785oauth_token=..myOauthToken..oauth_consumer_key=...myConsumer_Key...oauth_signature_method=HMAC-
   SHA1oauth_version=1.0
   oauth_nonce=0EEC37AC-3B39-9DC5-4316-2F7A999B057Boauth_signature=..myGeneratedSignanture
        /request
        errorCould not authenticate you./error
   /hash

   The Signantur is indeed meant to be autentifizieren the user, or not?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Status Updates

2010-09-21 Thread Goran Popovic
Hello!
I have a delicate question about status updates.
Is it against the Twitter TOS to send tweet every time script finds
another candidate?

Let me explain more..
Few days ago I've created a website called hottwittz.com.
Script finds users who said that they are hot / sexy, and allows users
to to vote.

Every few minutes script checks for new candidates and then adds them
to database..
Until yesterday, when script found new user, new tweet was written to
notify the user that he's been added..
Something like  @username you have been added 

Currently there are 50 - 100 users found each day...and i'm not sure
if sending lets say 100 similar tweets each day would be considered
spam..

So is this considered spam? Is this against rules or is maybe some
better way to notify users?

This is needed because users have option to write to me and be
deleted...
First impressions are great and in most cases people are flattered and
call their friends to vote for them.

This is just an example to describe my problem.

Thank You

Goran Popovic

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] XAuth - bad request

2010-09-21 Thread Gary
Hello,

I am developing a desktop application using C++ and QT.  (I'm not
using QAuth because I don't want to have to encorporate QCA and
OpenSLL into my app.)

I am attempting to perform xAuth and I'm getting 400 (bad request).
Here are the details (data taken from http://dev.twitter.com/pages/xauth)

Base string:
POSThttps%3A%2F%2Fapi.twitter.com%2Foauth
%2Faccess_tokenoauth_consumer_key%3DJvyS7DO2qd6NNTsXJ4E7zA
%26oauth_nonce%3D6AN2dKRzxyGhmIXUKSmp1JcB4pckM8rD3frKMTmVAo
%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
%3D1284565601%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
%26x_auth_password%3Dtwitter-xauth%26x_auth_username%3Doauth_test_exec

oauth_signature:
1L1oXQmawZAkQ47FHLwcOV%2Bkjwc%3D

Post body:
x_auth_mode=client_authx_auth_password=twitter-
xauthx_auth_username=oauth_test_exec

I sent the data to a bogus (non secure) server so I could see what was
going out in wireshark.  Below is the outgoing message.  Why is this
resulting in 400?  What am I missing?  (Assume this is really going to
https://api.twitter.com/oauth/access_token)


POST /oauth/authorize HTTP/1.1
OAuth oauth_nonce: 6AN2dKRzxyGhmIXUKSmp1JcB4pckM8rD3frKMTmVAo
oauth_signature_method: HMAC-SHA1
oauth_timestamp: 1284565601
oauth_consumer_key: JvyS7DO2qd6NNTsXJ4E7zA
oauth_signature: 1L1oXQmawZAkQ47FHLwcOV%2Bkjwc%3D
oauth_version: 1.0
Content-Type: application/x-www-form-urlencoded
Content-Length: 85
Connection: Keep-Alive
Accept-Encoding: gzip
accept-language: en,*
User-Agent: Mozilla/5.0
Host: twitter.com

x_auth_mode=client_authx_auth_password=twitter-
xauthx_auth_username=oauth_test_exec

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Is it possible to use multiple keywords in Search Widget ?

2010-09-21 Thread imsc imsc
Hi,

Suppose I have two keywords: A and B. Is it possible to search both
keywords? For example, after the search in the result I want to see
the tweets that have only A, only B or both A and B.

Thank you so much

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] direct_messages/new.json is not working?

2010-09-21 Thread Tzanko
Hello,

I am wondering if there is an issue with direct_messages/new?
Regardless of what I POST, I get Incorrect signature.

At the same time I am able to successfully POST request to /statuses/
update.json. I used exactly the same code, except for changing the URL
and removing screen_name and user_id parameters (text became status).
The request went through like a charm. However, direct_messages/new is
not going through.

Is there smth peculiar about direct_messages/new?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-21 Thread Tom van der Woerdt
The problem is that you are confusing xAuth and OAuth. xAuth is only
https://api.twitter.com/oauth/access_token, allowing you to exchange
username/password for oauth_token and oauth_token_secret.

OAuth only needs those two keys, not your username or password. (I would
recommend that you read the docs and/or OAuth 1.0a spec)

Also, I wouldn't recommend opening the URL in a new window. If your
programming language has a way to open the URL and display the output, I
would recommend that option.

Tom


On 9/21/10 9:34 AM, andy wrote:
 Hello Tom,
 
 unfortunately, it still doesn´t work. When my basestring does not
 include x_auth_password and x_auth_username I don´t get an successfull
 response?
 
 Now I am doing it as it is described in the documentation on
 http://dev.twitter.com/pages/xauth.
 
 I get an successfull Response with following parameter:
 oauth_token=1177oauth_token_secret=WfLZlea...user_id=myID6screen_name=myNamex_auth_expires=0
 
 
 Now, I will get the Friends Timeline with the URL
 http://api.twitter.com/1/statuses/friends_timeline.xml and the
 following GET-Parameter:
 
 oauth_consumer_key, oauth_signature, oauth_token, oauth_consumer_key
 and oauth_token_secret
 
 When I send the request with this parameters, it will open a new
 window, where should I enter my user data.
 
 After this, I get an error response with following message:
 
 
 ?xml version=1.0 encoding=UTF-8?
 hash
   request/1/statuses/friends_timeline.xml?
 oauth_consumer_key=iTAqwZGGBLrC95j9N7VJAamp;oauth_nonce=41A58B82-45EA-
 D3DC-
 B770-3336247590DFamp;oauth_signature=Qze584pBZdLVX2OiPAdk7rLwOjE=amp;oauth_signature_method=HMAC-
 SHA1amp;oauth_timestamp=1285054407amp;oauth_token=17312344-
 qoIC5BRaaMw63fnP5fCZf8rfTJ73uqIPjjXLtvlJYamp;oauth_version=1.0amp;x_auth_mode=client_authamp;x_auth_password=infoMantisamp;x_auth_username=Matapolo/
 request
   errorIncorrect signature/error
 /hash
 
 
 Can you tell me, what is wrong on my request?
 
 
 
 
 
 
 
 
 
 
 
 
 On 20 Sep., 20:43, andy andreas-wilkeme...@andreazw.de wrote:
 OK, tomorrow I will try it again.

 Thaks
 Andreas

 On 20 Sep., 20:37, Tom van der Woerdt i...@tvdw.eu wrote:

 Thanks, I know how xAuth works. ;-) This isn't xAuth though.

 The Base String consists of all parameters you send to Twitter. You
 aren't sending x_auth_username/x_auth_password (nor should you) so it
 shouldn't be in the Base String.

 You may be confused between xAuth and OAuth here: xAuth is simply an
 extension to OAuth, so that Desktop applications can easily exchange
 usernames/passwords for credentials. However, a call to any other
 endpoint than access_token is not at all related to xAuth, so you should
 not be sending the username and/or password. That's what credentials are
 for :-)

 Tom

 On 9/20/10 8:35 PM, andy wrote:

 I use xauth, so I can log in directly from my application for Twitter.
 For pure OAuth it l ft an extra URL on Twitter and you get a pin code
 with which I return to my application needs.

 The xauth-i parameter to give, as it is described in the Twitter
 documentation.

 Would in my GET request, the parameters are passed with xauth?

 On 20 Sep., 20:23, Tom van der Woerdt i...@tvdw.eu wrote:
 No, that's no problem.

 What I *did* just notice is that the parameters in your Base String
 don't match the parameters in your GET. Why are you sending x_auth_*?

 Tom

 On 9/20/10 8:21 PM, andy wrote:

 Thank you for the quick help, I've just seen that the parameters
 since_id, since_date, max_id, count, page I have not supplied.
 Can there be a problem because in the absence of these?

 On 20 Sep., 20:10, Tom van der Woerdt i...@tvdw.eu wrote:
 Yes, OAuth is the authentication layer. If you are asked for a password,
 just click cancel (but really, it shouldn't ask you for one).

 Tom

 On 9/20/10 8:07 PM, andy wrote:

 Hello Tom,

 I get an successfull response with the oauthToken, oauthSecret,
 userId, Screenname.

 My basestring to generate my signature ist this:
 POSThttps%3A%2F%2Fapi.twitter.com%2Foauth
 %2Faccess_tokenoauth_consumer_key%3D...myKey...%26oauth_nonce
 %3D4093828128%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
 %3D1284991785%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
 %26x_auth_password%3D...myTwitterPassword%26x_auth_username
 %3D...myTwitterUserName...

 When I send a request with GET-Parameter it will open a Window, where
 should I enter my user data. After this I will get following XML-Code:

 hash
   -
 request
/1/statuses/home_timeline.xml?
 oauth_timestamp=1284991785oauth_token=..myOauthToken..oauth_consumer_key=...myConsumer_Key...oauth_signature_method=HMAC-
 SHA1oauth_version=1.0
 oauth_nonce=0EEC37AC-3B39-9DC5-4316-2F7A999B057Boauth_signature=..myGeneratedSignanture
  /request
  errorCould not authenticate you./error
 /hash

 The Signantur is indeed meant to be autentifizieren the user, or not?
 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via 

Re: [twitter-dev] Status Updates

2010-09-21 Thread Tom van der Woerdt
As far as I know, that's no problem - a lot of services do that. Just
don't make it spammy (sending more than 1 tweet per week to one user
without first getting his/her permission, etc) and allow users to
opt-out (better even would be opt-in but that wouldn't be good for your
service, right?).

Tom


On 9/21/10 8:44 AM, Goran Popovic wrote:
 Hello!
 I have a delicate question about status updates.
 Is it against the Twitter TOS to send tweet every time script finds
 another candidate?
 
 Let me explain more..
 Few days ago I've created a website called hottwittz.com.
 Script finds users who said that they are hot / sexy, and allows users
 to to vote.
 
 Every few minutes script checks for new candidates and then adds them
 to database..
 Until yesterday, when script found new user, new tweet was written to
 notify the user that he's been added..
 Something like  @username you have been added 
 
 Currently there are 50 - 100 users found each day...and i'm not sure
 if sending lets say 100 similar tweets each day would be considered
 spam..
 
 So is this considered spam? Is this against rules or is maybe some
 better way to notify users?
 
 This is needed because users have option to write to me and be
 deleted...
 First impressions are great and in most cases people are flattered and
 call their friends to vote for them.
 
 This is just an example to describe my problem.
 
 Thank You
 
 Goran Popovic
 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] direct_messages/new.json is not working?

2010-09-21 Thread Tom van der Woerdt
Works fine here.

Tom


On 9/21/10 7:03 AM, Tzanko wrote:
 Hello,
 
 I am wondering if there is an issue with direct_messages/new?
 Regardless of what I POST, I get Incorrect signature.
 
 At the same time I am able to successfully POST request to /statuses/
 update.json. I used exactly the same code, except for changing the URL
 and removing screen_name and user_id parameters (text became status).
 The request went through like a charm. However, direct_messages/new is
 not going through.
 
 Is there smth peculiar about direct_messages/new?
 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-21 Thread andy
Hello again,

I gerausgefunden that I need to create a new Response xauth after
signing with my access_token. And I have a new basestring, looks like
this:

GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
%2Ffriends_timeline.xmloauth_consumer_key%3D.%26oauth_nonce
%3D61A491E6-57D4-F561-9B14-33906AD0D04E%26oauth_signature_method
%3DHMAC-SHA1%26oauth_timestamp%3D1285060323%26oauth_token
%3D.%26oauth_version%3D1.0

my signing Key is this:

myConsumerSecretmyTokenSecret

After creating a new Signature, I will send a Request to the URL
http://api.twitter.com/1/statuses/friends_timeline.xml with following
GET-Parameter:

oauth_consumer_key=.oauth_nonce=61A491E6-57D4-
F561-9B14-33906AD0D04Eoauth_signature=5C1ZtFJi2AjnoSoyWkCZkeIBLA4=oauth_signature_method=HMAC-
SHA1oauth_timestamp=1285060323oauth_token=.oauth_version=1.0

It opens another window where I enter my user data and then I get
again an request-error.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-21 Thread andy
Hello again,

I gerausgefunden that I need to create a new Response xauth after
signing with my access_token. And I have a new basestring, looks like
this:

GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
%2Ffriends_timeline.xmloauth_consumer_key%3D.%26oauth_nonce
%3D61A491E6-57D4-F561-9B14-33906AD0D04E%26oauth_signature_method
%3DHMAC-SHA1%26oauth_timestamp%3D1285060323%26oauth_token
%3D.%26oauth_version%3D1.0

my signing Key is this:

myConsumerSecretmyTokenSecret

After creating a new Signature, I will send a Request to the URL
http://api.twitter.com/1/statuses/friends_timeline.xml with following
GET-Parameter:

oauth_consumer_key=.oauth_nonce=61A491E6-57D4-
F561-9B14-33906AD0D04Eoauth_signature=5C1ZtFJi2AjnoSoyWkCZkeIBLA4=oauth_signature_method=HMAC-
SHA1oauth_timestamp=1285060323oauth_token=.oauth_version=1.0

It opens another window where I enter my user data and then I get
again an request-error.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] XAuth - bad request

2010-09-21 Thread Tom van der Woerdt
First, let me start by saying that xAuth is only an extension to OAuth
and that you will have to implement OAuth as well.

The problem with your request is that you send all oauth_* parameters as
header. That's wrong: the correct syntax is Authorization: OAuth
oauth_nonce=nonce, oauth_signature=sig,etc

Tom


On 9/21/10 2:19 AM, Gary wrote:
 Hello,
 
 I am developing a desktop application using C++ and QT.  (I'm not
 using QAuth because I don't want to have to encorporate QCA and
 OpenSLL into my app.)
 
 I am attempting to perform xAuth and I'm getting 400 (bad request).
 Here are the details (data taken from http://dev.twitter.com/pages/xauth)
 
 Base string:
 POSThttps%3A%2F%2Fapi.twitter.com%2Foauth
 %2Faccess_tokenoauth_consumer_key%3DJvyS7DO2qd6NNTsXJ4E7zA
 %26oauth_nonce%3D6AN2dKRzxyGhmIXUKSmp1JcB4pckM8rD3frKMTmVAo
 %26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
 %3D1284565601%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
 %26x_auth_password%3Dtwitter-xauth%26x_auth_username%3Doauth_test_exec
 
 oauth_signature:
 1L1oXQmawZAkQ47FHLwcOV%2Bkjwc%3D
 
 Post body:
 x_auth_mode=client_authx_auth_password=twitter-
 xauthx_auth_username=oauth_test_exec
 
 I sent the data to a bogus (non secure) server so I could see what was
 going out in wireshark.  Below is the outgoing message.  Why is this
 resulting in 400?  What am I missing?  (Assume this is really going to
 https://api.twitter.com/oauth/access_token)
 
 
 POST /oauth/authorize HTTP/1.1
 OAuth oauth_nonce: 6AN2dKRzxyGhmIXUKSmp1JcB4pckM8rD3frKMTmVAo
 oauth_signature_method: HMAC-SHA1
 oauth_timestamp: 1284565601
 oauth_consumer_key: JvyS7DO2qd6NNTsXJ4E7zA
 oauth_signature: 1L1oXQmawZAkQ47FHLwcOV%2Bkjwc%3D
 oauth_version: 1.0
 Content-Type: application/x-www-form-urlencoded
 Content-Length: 85
 Connection: Keep-Alive
 Accept-Encoding: gzip
 accept-language: en,*
 User-Agent: Mozilla/5.0
 Host: twitter.com
 
 x_auth_mode=client_authx_auth_password=twitter-
 xauthx_auth_username=oauth_test_exec
 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-21 Thread andy
Hello again,

I gerausgefunden that I need to create a new Response xauth after
signing with my access_token. And I have a new basestring, looks like
this:

GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
%2Ffriends_timeline.xmloauth_consumer_key%3D.%26oauth_nonce
%3D61A491E6-57D4-F561-9B14-33906AD0D04E%26oauth_signature_method
%3DHMAC-SHA1%26oauth_timestamp%3D1285060323%26oauth_token
%3D.%26oauth_version%3D1.0

my signing Key is this:

myConsumerSecretmyTokenSecret

After creating a new Signature, I will send a Request to the URL
http://api.twitter.com/1/statuses/friends_timeline.xml with following
GET-Parameter:

oauth_consumer_key=.oauth_nonce=61A491E6-57D4-
F561-9B14-33906AD0D04Eoauth_signature=5C1ZtFJi2AjnoSoyWkCZkeIBLA4=oauth_signature_method=HMAC-
SHA1oauth_timestamp=1285060323oauth_token=.oauth_version=1.0

It opens another window where I enter my user data and then I get
again an request-error.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Is it possible to use multiple keywords in Search Widget ?

2010-09-21 Thread Tom van der Woerdt
A OR B (you need to capitalize the OR though)

Tom


On 9/21/10 4:00 AM, imsc imsc wrote:
 Hi,
 
 Suppose I have two keywords: A and B. Is it possible to search both
 keywords? For example, after the search in the result I want to see
 the tweets that have only A, only B or both A and B.
 
 Thank you so much
 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-21 Thread Tom van der Woerdt
Your Base String seems fine and the parameters in your URL look fine as
well. However, like I said: try executing the request with code, not in
your browser.

That, and I'm not entirely sure about how Twitter's OAuth implementation
works. You may have to send the oauth_* parameters in the Authorization:
header.

Tom

PS: Why all the German words?



On 9/21/10 11:17 AM, andy wrote:
 Hello again,
 
 I gerausgefunden that I need to create a new Response xauth after
 signing with my access_token. And I have a new basestring, looks like
 this:
 
 GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
 %2Ffriends_timeline.xmloauth_consumer_key%3D.%26oauth_nonce
 %3D61A491E6-57D4-F561-9B14-33906AD0D04E%26oauth_signature_method
 %3DHMAC-SHA1%26oauth_timestamp%3D1285060323%26oauth_token
 %3D.%26oauth_version%3D1.0
 
 my signing Key is this:
 
 myConsumerSecretmyTokenSecret
 
 After creating a new Signature, I will send a Request to the URL
 http://api.twitter.com/1/statuses/friends_timeline.xml with following
 GET-Parameter:
 
 oauth_consumer_key=.oauth_nonce=61A491E6-57D4-
 F561-9B14-33906AD0D04Eoauth_signature=5C1ZtFJi2AjnoSoyWkCZkeIBLA4=oauth_signature_method=HMAC-
 SHA1oauth_timestamp=1285060323oauth_token=.oauth_version=1.0
 
 It opens another window where I enter my user data and then I get
 again an request-error.
 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-21 Thread andy
It works,

thanks for your help!

On 21 Sep., 11:17, andy andreas-wilkeme...@andreazw.de wrote:
 Hello again,

 I gerausgefunden that I need to create a new Response xauth after
 signing with my access_token. And I have a new basestring, looks like
 this:

 GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
 %2Ffriends_timeline.xmloauth_consumer_key%3D.%26oauth_nonce
 %3D61A491E6-57D4-F561-9B14-33906AD0D04E%26oauth_signature_method
 %3DHMAC-SHA1%26oauth_timestamp%3D1285060323%26oauth_token
 %3D.%26oauth_version%3D1.0

 my signing Key is this:

 myConsumerSecretmyTokenSecret

 After creating a new Signature, I will send a Request to the 
 URLhttp://api.twitter.com/1/statuses/friends_timeline.xmlwith following
 GET-Parameter:

 oauth_consumer_key=.oauth_nonce=61A491E6-57D4-
 F561-9B14-33906AD0D04Eoauth_signature=5C1ZtFJi2AjnoSoyWkCZkeIBLA4=oauth_signature_method=HMAC-
 SHA1oauth_timestamp=1285060323oauth_token=.oauth_version=1.0

 It opens another window where I enter my user data and then I get
 again an request-error.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-21 Thread andy
It works,

thanks for your help!

On 21 Sep., 11:17, andy andreas-wilkeme...@andreazw.de wrote:
 Hello again,

 I gerausgefunden that I need to create a new Response xauth after
 signing with my access_token. And I have a new basestring, looks like
 this:

 GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
 %2Ffriends_timeline.xmloauth_consumer_key%3D.%26oauth_nonce
 %3D61A491E6-57D4-F561-9B14-33906AD0D04E%26oauth_signature_method
 %3DHMAC-SHA1%26oauth_timestamp%3D1285060323%26oauth_token
 %3D.%26oauth_version%3D1.0

 my signing Key is this:

 myConsumerSecretmyTokenSecret

 After creating a new Signature, I will send a Request to the 
 URLhttp://api.twitter.com/1/statuses/friends_timeline.xmlwith following
 GET-Parameter:

 oauth_consumer_key=.oauth_nonce=61A491E6-57D4-
 F561-9B14-33906AD0D04Eoauth_signature=5C1ZtFJi2AjnoSoyWkCZkeIBLA4=oauth_signature_method=HMAC-
 SHA1oauth_timestamp=1285060323oauth_token=.oauth_version=1.0

 It opens another window where I enter my user data and then I get
 again an request-error.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-21 Thread andy
Why all the German words?

Because I come from Germany!

Viele Grüße

On 21 Sep., 11:29, andy andreas-wilkeme...@andreazw.de wrote:
 It works,

 thanks for your help!

 On 21 Sep., 11:17, andy andreas-wilkeme...@andreazw.de wrote:

  Hello again,

  I gerausgefunden that I need to create a new Response xauth after
  signing with my access_token. And I have a new basestring, looks like
  this:

  GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
  %2Ffriends_timeline.xmloauth_consumer_key%3D.%26oauth_nonce
  %3D61A491E6-57D4-F561-9B14-33906AD0D04E%26oauth_signature_method
  %3DHMAC-SHA1%26oauth_timestamp%3D1285060323%26oauth_token
  %3D.%26oauth_version%3D1.0

  my signing Key is this:

  myConsumerSecretmyTokenSecret

  After creating a new Signature, I will send a Request to the 
  URLhttp://api.twitter.com/1/statuses/friends_timeline.xmlwithfollowing
  GET-Parameter:

  oauth_consumer_key=.oauth_nonce=61A491E6-57D4-
  F561-9B14-33906AD0D04Eoauth_signature=5C1ZtFJi2AjnoSoyWkCZkeIBLA4=oauth_signature_method=HMAC-
  SHA1oauth_timestamp=1285060323oauth_token=.oauth_version=1.0

  It opens another window where I enter my user data and then I get
  again an request-error.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-21 Thread andy
Why all the German words?

Because I come from Germany!

Viele Grüße

On 21 Sep., 11:29, andy andreas-wilkeme...@andreazw.de wrote:
 It works,

 thanks for your help!

 On 21 Sep., 11:17, andy andreas-wilkeme...@andreazw.de wrote:

  Hello again,

  I gerausgefunden that I need to create a new Response xauth after
  signing with my access_token. And I have a new basestring, looks like
  this:

  GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
  %2Ffriends_timeline.xmloauth_consumer_key%3D.%26oauth_nonce
  %3D61A491E6-57D4-F561-9B14-33906AD0D04E%26oauth_signature_method
  %3DHMAC-SHA1%26oauth_timestamp%3D1285060323%26oauth_token
  %3D.%26oauth_version%3D1.0

  my signing Key is this:

  myConsumerSecretmyTokenSecret

  After creating a new Signature, I will send a Request to the 
  URLhttp://api.twitter.com/1/statuses/friends_timeline.xmlwithfollowing
  GET-Parameter:

  oauth_consumer_key=.oauth_nonce=61A491E6-57D4-
  F561-9B14-33906AD0D04Eoauth_signature=5C1ZtFJi2AjnoSoyWkCZkeIBLA4=oauth_signature_method=HMAC-
  SHA1oauth_timestamp=1285060323oauth_token=.oauth_version=1.0

  It opens another window where I enter my user data and then I get
  again an request-error.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] New twitter.com uses an OAuth app called web?

2010-09-21 Thread Karthik
Just read from this blog post (http://engineering.twitter.com/2010/09/
tech-behind-new-twittercom.html), that new Twitter.com is a client to
Twitter API.

I can't help but wonder if,

1) Twitter.com uses an OAuth app called web?

2) Does the site generate OAuth access tokens for every user from
their raw credentials?

I assume you guys don't have exclusive access to basic auth :)

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] New twitter.com uses an OAuth app called web?

2010-09-21 Thread Tom van der Woerdt
There are no OAuth_* parameters when making requests to api.twitter.com.
However, I do see a lot of cookies, including auth_token and
twitter_sess. I would assume that these are related.

It's definitely not OAuth 1.0 :-)

Tom


On 9/21/10 11:56 AM, Karthik wrote:
 Just read from this blog post (http://engineering.twitter.com/2010/09/
 tech-behind-new-twittercom.html), that new Twitter.com is a client to
 Twitter API.
 
 I can't help but wonder if,
 
 1) Twitter.com uses an OAuth app called web?
 
 2) Does the site generate OAuth access tokens for every user from
 their raw credentials?
 
 I assume you guys don't have exclusive access to basic auth :)
 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: get Frienfstimeline after connection with xAuth

2010-09-21 Thread andy
Why all the German words?

Because I come from Germany!

Viele Grüße

On 21 Sep., 11:29, andy andreas-wilkeme...@andreazw.de wrote:
 It works,

 thanks for your help!

 On 21 Sep., 11:17, andy andreas-wilkeme...@andreazw.de wrote:

  Hello again,

  I gerausgefunden that I need to create a new Response xauth after
  signing with my access_token. And I have a new basestring, looks like
  this:

  GEThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
  %2Ffriends_timeline.xmloauth_consumer_key%3D.%26oauth_nonce
  %3D61A491E6-57D4-F561-9B14-33906AD0D04E%26oauth_signature_method
  %3DHMAC-SHA1%26oauth_timestamp%3D1285060323%26oauth_token
  %3D.%26oauth_version%3D1.0

  my signing Key is this:

  myConsumerSecretmyTokenSecret

  After creating a new Signature, I will send a Request to the 
  URLhttp://api.twitter.com/1/statuses/friends_timeline.xmlwithfollowing
  GET-Parameter:

  oauth_consumer_key=.oauth_nonce=61A491E6-57D4-
  F561-9B14-33906AD0D04Eoauth_signature=5C1ZtFJi2AjnoSoyWkCZkeIBLA4=oauth_signature_method=HMAC-
  SHA1oauth_timestamp=1285060323oauth_token=.oauth_version=1.0

  It opens another window where I enter my user data and then I get
  again an request-error.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Re: Authorizing for partial control

2010-09-21 Thread M. Edward (Ed) Borasky

Yes, that's why one does the right thing *and* has an attorney. ;-)

--
M. Edward (Ed) Borasky
http://borasky-research.net http://twitter.com/znmeb

A mathematician is a device for turning coffee into theorems. - Paul Erdos


Quoting Papa.Coen papa.c...@gmail.com:


Of course, Twitter is not a secure means of communication. You know
that, I know that. How about the majority of Twitter users? I think
you could imagine the personal harm you could get from insulting
tweets, spamming on your behalf or even setting pornographic images as
your avatar. People are getting sued/prosecuted/fired/apprehended even
here in the Netherlands for the tweets they post.
Rediculous.

--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group:   
http://groups.google.com/group/twitter-development-talk?hl=en






--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: Status Updates

2010-09-21 Thread Goran Popovic
They are notified once and that's it ;)

Well I got an idea to notify users lets say each 10 minutes ( ie. 100
users found today..and instead of notifying them immediately when they
are found ..they would be added in a database..and then notified one
by one every few minutes). I think that would be the best solution.

On Sep 21, 11:11 am, Tom van der Woerdt i...@tvdw.eu wrote:
 As far as I know, that's no problem - a lot of services do that. Just
 don't make it spammy (sending more than 1 tweet per week to one user
 without first getting his/her permission, etc) and allow users to
 opt-out (better even would be opt-in but that wouldn't be good for your
 service, right?).

 Tom

 On 9/21/10 8:44 AM, Goran Popovic wrote:

  Hello!
  I have a delicate question about status updates.
  Is it against the Twitter TOS to send tweet every time script finds
  another candidate?

  Let me explain more..
  Few days ago I've created a website called hottwittz.com.
  Script finds users who said that they are hot / sexy, and allows users
  to to vote.

  Every few minutes script checks for new candidates and then adds them
  to database..
  Until yesterday, when script found new user, new tweet was written to
  notify the user that he's been added..
  Something like  @username you have been added 

  Currently there are 50 - 100 users found each day...and i'm not sure
  if sending lets say 100 similar tweets each day would be considered
  spam..

  So is this considered spam? Is this against rules or is maybe some
  better way to notify users?

  This is needed because users have option to write to me and be
  deleted...
  First impressions are great and in most cases people are flattered and
  call their friends to vote for them.

  This is just an example to describe my problem.

  Thank You

  Goran Popovic

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Re: Status Updates

2010-09-21 Thread Tim Haines
Hi,

I have a bot that does something similar to this.  If you do 100 spread out
over the course of a day you'll be fine.  If you did 100 in the course of an
hour, Twitter would (very likely) suspend your account.

They have monitoring in place for when certain thresholds are crossed, but
they don't disclosed the threshold in the interest of it not being abused.

Cheers,

Tim.

On Tue, Sep 21, 2010 at 8:51 PM, Goran Popovic goranpopo...@gmail.comwrote:

 They are notified once and that's it ;)

 Well I got an idea to notify users lets say each 10 minutes ( ie. 100
 users found today..and instead of notifying them immediately when they
 are found ..they would be added in a database..and then notified one
 by one every few minutes). I think that would be the best solution.

 On Sep 21, 11:11 am, Tom van der Woerdt i...@tvdw.eu wrote:
  As far as I know, that's no problem - a lot of services do that. Just
  don't make it spammy (sending more than 1 tweet per week to one user
  without first getting his/her permission, etc) and allow users to
  opt-out (better even would be opt-in but that wouldn't be good for your
  service, right?).
 
  Tom
 
  On 9/21/10 8:44 AM, Goran Popovic wrote:
 
   Hello!
   I have a delicate question about status updates.
   Is it against the Twitter TOS to send tweet every time script finds
   another candidate?
 
   Let me explain more..
   Few days ago I've created a website called hottwittz.com.
   Script finds users who said that they are hot / sexy, and allows users
   to to vote.
 
   Every few minutes script checks for new candidates and then adds them
   to database..
   Until yesterday, when script found new user, new tweet was written to
   notify the user that he's been added..
   Something like  @username you have been added 
 
   Currently there are 50 - 100 users found each day...and i'm not sure
   if sending lets say 100 similar tweets each day would be considered
   spam..
 
   So is this considered spam? Is this against rules or is maybe some
   better way to notify users?
 
   This is needed because users have option to write to me and be
   deleted...
   First impressions are great and in most cases people are flattered and
   call their friends to vote for them.
 
   This is just an example to describe my problem.
 
   Thank You
 
   Goran Popovic

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] xAuth problem

2010-09-21 Thread privatejava
Since many days i can see my xAuth is not working .It gives me error/
exception while i try to login my twitter user via xauth method.My
application is a standalone app with api twitter4j.I've even already
verified my xAuth but why isn't it working?

Please help!

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] onmouseover

2010-09-21 Thread John Meyer

Any updates?

http://www.theatlantic.com/technology/archive/2010/09/stay-off-twittercom-until-further-notice/63303/

--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] onmouseover

2010-09-21 Thread Cameron Kaiser
 Any updates?
 
 http://www.theatlantic.com/technology/archive/2010/09/stay-off-twittercom-until-further-notice/63303/

Clever little exploit, looking at it (safely from TTYtter, natch).

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Haiku is easy/Sometimes it doesn't make sense/Refrigerator -- KFI Haikus -

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] XSS Forgeries

2010-09-21 Thread Fabian Schlenz

Hello.

There are some malicious tweets coming through in my timeline. The texts 
of these tweets are for example:


http://a.no/@onmouseover=;$('textarea:first').val(this.innerHTML);$('.status-update-form').submit() 
style=color:#000;background:#000;/


or

http://t.co/@onmouseover=document.getElementById('status').value='RT 
MoiMrJack';$('.status-update-form').submit();font-size:500pt;/


(so some kind of self-replicating tweet). IDs of some affected tweets: 
25111539789, 25105308878.


I do hope twitter is already aware of this Problem, since the official 
twitter pages are affected, too... But if your client is affected, you 
should think about hardening it against this attack (mine was affected 
too, but luckily I'm the only user of it).



Regards,
Fabian Schlenz

--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] New twitter.com uses an OAuth app called web?

2010-09-21 Thread Thomas Woolway
If it's built on top of @anywhere, it will use OAuth 2.0.

Tom

On Tue, Sep 21, 2010 at 11:01 AM, Tom van der Woerdt i...@tvdw.eu wrote:

 There are no OAuth_* parameters when making requests to api.twitter.com.
 However, I do see a lot of cookies, including auth_token and
 twitter_sess. I would assume that these are related.

 It's definitely not OAuth 1.0 :-)

 Tom


 On 9/21/10 11:56 AM, Karthik wrote:
  Just read from this blog post (http://engineering.twitter.com/2010/09/
  tech-behind-new-twittercom.html), that new Twitter.com is a client to
  Twitter API.
 
  I can't help but wonder if,
 
  1) Twitter.com uses an OAuth app called web?
 
  2) Does the site generate OAuth access tokens for every user from
  their raw credentials?
 
  I assume you guys don't have exclusive access to basic auth :)
 

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] New twitter.com uses an OAuth app called web?

2010-09-21 Thread Tom van der Woerdt
Which would mean that OAuth 2.0 is now available for the API?

Tom


On 9/21/10 3:02 PM, Thomas Woolway wrote:
 If it's built on top of @anywhere, it will use OAuth 2.0.
 
 Tom
 
 On Tue, Sep 21, 2010 at 11:01 AM, Tom van der Woerdt i...@tvdw.eu
 mailto:i...@tvdw.eu wrote:
 
 There are no OAuth_* parameters when making requests to
 api.twitter.com http://api.twitter.com.
 However, I do see a lot of cookies, including auth_token and
 twitter_sess. I would assume that these are related.
 
 It's definitely not OAuth 1.0 :-)
 
 Tom
 
 
 On 9/21/10 11:56 AM, Karthik wrote:
  Just read from this blog post (http://engineering.twitter.com/2010/09/
  tech-behind-new-twittercom.html), that new Twitter.com is a client to
  Twitter API.
 
  I can't help but wonder if,
 
  1) Twitter.com uses an OAuth app called web?
 
  2) Does the site generate OAuth access tokens for every user from
  their raw credentials?
 
  I assume you guys don't have exclusive access to basic auth :)
 
 
 --
 Twitter developer documentation and resources:
 http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en
 
 
 -- 
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Send direct Message with xAuth

2010-09-21 Thread andy
Hello I have problems to send a new Direct Message.

I use xAuth to authentification to Twitter. I get an successful
response with oauth_token and oauth_token_secret.

After this I send a request to get the friends Timeline. This I get
returned, as I with a new basestring and a new key (consumer Secret +
 + token_secret) forms.

Now I want to send a new DirectMessage with POST-parameters.

My base string is the following:
POSThttp%3A%2F%2Fapi.twitter.com%2F1%2Fdirect_messages
%2Fnew.xmloauth_consumer_key%3D..%26oauth_nonce
%3D0BAEA1F7-4A0B-ABB6-AA05-345F13153349%26oauth_signature_method
%3DHMAC-SHA1%26oauth_timestamp%3D1285073867%26oauth_version
%3D1.0%26screen_name%3Dname%26text%3DUpdatemyTwitter%26user_id
%3D

my signing Key is this:

myConsumerSecretmyTokenSecret

I send an Request on following URL:
http://api.twitter.com/1/direct_messages/new.xml

my POST-parameter for the Request are ths:
oauth_consumer_key=..oauth_nonce=2C5E2CF5-0AF9-7BD0-
C28F-34638C796700oauth_signature=KIio37Y
+MTF4DIFBERv8HxUVgnQ=oauth_signature_method=HMAC-
SHA1oauth_timestamp=1285074160oauth_version=1.0screen_name=.user_id=..text=UpdateMyTwitter

After this it will open a new Window, where I enter my user data and
then I get an error.

?xml version=1.0 encoding=UTF-8?
hash
  request/1/direct_messages/new.xml/request
  errorCould not authenticate you./error
/hash

What is wrong on my request?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: Stream api statuses/filter no catching my hashtag

2010-09-21 Thread Nicolas Grasset
Thanks for the quick reply!

I went back to testing with command line with a curl call, it worked
so I realized the PHP code was buffering and I did not realize it on
large amount of results...

The problem was with an internal buffer between cURL and the PHP
Stream. I went another way instead and posting a PHP base class if it
may help anyone else.

I typically extend it to override handleTweet($tweet).


?php

class snow_twitter_bot {

protected $buffer;


/**
 *  Read a stream looking for track keywords on behalf of a user
 *
 *
 * @param string $track Comma separated values 
keywords
 * @param string $twitter_user  Twitter username
 * @param string $twitter_pass  Twitter password
 */
public function readStreamFilter( $track, $twitter_user,
$twitter_pass )
{

$wait = 10;
while( true )
{

echo \n . date(c) .  - Connecting to Twitter 
Stream\n;

// Configuration of curl
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,   
http://stream.twitter.com/1/
statuses/filter.json);
curl_setopt($ch, CURLOPT_HEADER,
0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,
default);
curl_setopt($ch, CURLOPT_POST,  
true);
curl_setopt($ch, CURLOPT_POSTFIELDS,
track=$track);
curl_setopt($ch, CURLOPT_HTTPAUTH,  
CURLAUTH_BASIC ) ;
curl_setopt($ch, CURLOPT_USERPWD,   
$twitter_user:
$twitter_pass);

curl_setopt($ch, CURLOPT_WRITEFUNCTION, 
array($this,
receiveResponse));

curl_exec($ch);

$info = curl_getinfo($ch);

if( $info['http_code'] == 200 )
$wait = 10;
else
{
echo \n . date(c) .  - ERROR 
($info[http_code]) - Waiting
$wait sec \n;
sleep ( $wait );
$wait *= ($wait = 240 ) ? 1 : 2;
}
}


curl_close($ch);
}


/**
 *  Call back function for cURL
 *
 *
 * @param curl handler $curlHandle
 * @param string $data
 */
private function receiveResponse( $curlHandle, $data )
{
$lines = explode(\n, $data);

// The buffer contains the end of the last line from previous
time
// = Is goes at the beginning of the first line we are
getting this time
$lines[0] = $this-buffer . $lines[0];

// And the last line os only partial
// = save it for next time, and remove it from the list this
time
$nb_lines = count($lines);
$this-buffer = $lines[$nb_lines-1];
unset($lines[$nb_lines-1]);

// Here, do your work with the lines you have in the buffer
foreach( $lines as $one )
{
$tweet = @json_decode($one,1);
if(isset($tweet['user']['screen_name']))
{
$this-handleTweet( $tweet );
}
}

return strlen( $data );
}



/**
 *  Called for each tweet.
 *
 *  Override me with you logic /twss
 *
 *
 * @param array $tweet  A single tweet parsed from json, see online
doc.
 */
public function handleTweet( $tweet )
{
echo '@'.$tweet['user']['screen_name']. at  .
$tweet['created_at'].  says:\n;
echo $tweet['text'].\n;
echo \n-- Memory:  . round(memory_get_usage(true)/
1024) .kb\n;
}


}


?


On Sep 21, 12:57 am, John Kalucki j...@twitter.com wrote:
 You say you are backing off on HTTP connections. Are you connecting
 constantly, or just once, and staying connected for very long periods? Are
 you tracking the number of limit messages you are receiving? Perhaps your
 track search was rate limited?

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

 On Mon, Sep 20, 2010 at 2:46 PM, Nicolas Grasset
 nicolas.gras...@gmail.comwrote:



  Hi there,

  I have been reading many comments here, and while it seems at least
  another person had the same issue, I could not find an answer.

  I have a test account (@hemtexdream) using the statuses/filter stream
  api which works on words like twitter or trending hashtags like
  #ireallythink.

  However, I would like it to work with track=#dreamproject and it gets
  none of the tweets from my main account (@fellowshipofone). Tried over
  long period of time and with a few settings. I am fairly sure I am not
  rate limited since I implement the logic to report http error
  

Re: [twitter-dev] Send direct Message with xAuth

2010-09-21 Thread Tom van der Woerdt
Again: that's no xAuth, that's OAuth.

The issue here: there's no oauth_token present.

Tom


On 9/21/10 3:11 PM, andy wrote:
 Hello I have problems to send a new Direct Message.
 
 I use xAuth to authentification to Twitter. I get an successful
 response with oauth_token and oauth_token_secret.
 
 After this I send a request to get the friends Timeline. This I get
 returned, as I with a new basestring and a new key (consumer Secret +
  + token_secret) forms.
 
 Now I want to send a new DirectMessage with POST-parameters.
 
 My base string is the following:
 POSThttp%3A%2F%2Fapi.twitter.com%2F1%2Fdirect_messages
 %2Fnew.xmloauth_consumer_key%3D..%26oauth_nonce
 %3D0BAEA1F7-4A0B-ABB6-AA05-345F13153349%26oauth_signature_method
 %3DHMAC-SHA1%26oauth_timestamp%3D1285073867%26oauth_version
 %3D1.0%26screen_name%3Dname%26text%3DUpdatemyTwitter%26user_id
 %3D
 
 my signing Key is this:
 
 myConsumerSecretmyTokenSecret
 
 I send an Request on following URL:
 http://api.twitter.com/1/direct_messages/new.xml
 
 my POST-parameter for the Request are ths:
 oauth_consumer_key=..oauth_nonce=2C5E2CF5-0AF9-7BD0-
 C28F-34638C796700oauth_signature=KIio37Y
 +MTF4DIFBERv8HxUVgnQ=oauth_signature_method=HMAC-
 SHA1oauth_timestamp=1285074160oauth_version=1.0screen_name=.user_id=..text=UpdateMyTwitter
 
 After this it will open a new Window, where I enter my user data and
 then I get an error.
 
 ?xml version=1.0 encoding=UTF-8?
 hash
   request/1/direct_messages/new.xml/request
   errorCould not authenticate you./error
 /hash
 
 What is wrong on my request?
 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: Send direct Message with xAuth

2010-09-21 Thread andy
And how should we proceed with xauth?

On 21 Sep., 15:14, Tom van der Woerdt i...@tvdw.eu wrote:
 Again: that's no xAuth, that's OAuth.

 The issue here: there's no oauth_token present.

 Tom

 On 9/21/10 3:11 PM, andy wrote:

  Hello I have problems to send a new Direct Message.

  I use xAuth to authentification to Twitter. I get an successful
  response with oauth_token and oauth_token_secret.

  After this I send a request to get the friends Timeline. This I get
  returned, as I with a new basestring and a new key (consumer Secret +
   + token_secret) forms.

  Now I want to send a new DirectMessage with POST-parameters.

  My base string is the following:
  POSThttp%3A%2F%2Fapi.twitter.com%2F1%2Fdirect_messages
  %2Fnew.xmloauth_consumer_key%3D..%26oauth_nonce
  %3D0BAEA1F7-4A0B-ABB6-AA05-345F13153349%26oauth_signature_method
  %3DHMAC-SHA1%26oauth_timestamp%3D1285073867%26oauth_version
  %3D1.0%26screen_name%3Dname%26text%3DUpdatemyTwitter%26user_id
  %3D

  my signing Key is this:

  myConsumerSecretmyTokenSecret

  I send an Request on following URL:
 http://api.twitter.com/1/direct_messages/new.xml

  my POST-parameter for the Request are ths:
  oauth_consumer_key=..oauth_nonce=2C5E2CF5-0AF9-7BD0-
  C28F-34638C796700oauth_signature=KIio37Y
  +MTF4DIFBERv8HxUVgnQ=oauth_signature_method=HMAC-
  SHA1oauth_timestamp=1285074160oauth_version=1.0screen_name=.user_id=..text=UpdateMyTwitter

  After this it will open a new Window, where I enter my user data and
  then I get an error.

  ?xml version=1.0 encoding=UTF-8?
  hash
    request/1/direct_messages/new.xml/request
    errorCould not authenticate you./error
  /hash

  What is wrong on my request?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Re: Send direct Message with xAuth

2010-09-21 Thread Tom van der Woerdt
xAuth is only for the credentials exchange process. It's not possible to
do this with just xAuth.

Tom


On 9/21/10 3:15 PM, andy wrote:
 And how should we proceed with xauth?
 
 On 21 Sep., 15:14, Tom van der Woerdt i...@tvdw.eu wrote:
 Again: that's no xAuth, that's OAuth.

 The issue here: there's no oauth_token present.

 Tom

 On 9/21/10 3:11 PM, andy wrote:

 Hello I have problems to send a new Direct Message.

 I use xAuth to authentification to Twitter. I get an successful
 response with oauth_token and oauth_token_secret.

 After this I send a request to get the friends Timeline. This I get
 returned, as I with a new basestring and a new key (consumer Secret +
  + token_secret) forms.

 Now I want to send a new DirectMessage with POST-parameters.

 My base string is the following:
 POSThttp%3A%2F%2Fapi.twitter.com%2F1%2Fdirect_messages
 %2Fnew.xmloauth_consumer_key%3D..%26oauth_nonce
 %3D0BAEA1F7-4A0B-ABB6-AA05-345F13153349%26oauth_signature_method
 %3DHMAC-SHA1%26oauth_timestamp%3D1285073867%26oauth_version
 %3D1.0%26screen_name%3Dname%26text%3DUpdatemyTwitter%26user_id
 %3D

 my signing Key is this:

 myConsumerSecretmyTokenSecret

 I send an Request on following URL:
 http://api.twitter.com/1/direct_messages/new.xml

 my POST-parameter for the Request are ths:
 oauth_consumer_key=..oauth_nonce=2C5E2CF5-0AF9-7BD0-
 C28F-34638C796700oauth_signature=KIio37Y
 +MTF4DIFBERv8HxUVgnQ=oauth_signature_method=HMAC-
 SHA1oauth_timestamp=1285074160oauth_version=1.0screen_name=.user_id=..text=UpdateMyTwitter

 After this it will open a new Window, where I enter my user data and
 then I get an error.

 ?xml version=1.0 encoding=UTF-8?
 hash
   request/1/direct_messages/new.xml/request
   errorCould not authenticate you./error
 /hash

 What is wrong on my request?
 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Re: Stream api statuses/filter no catching my hashtag

2010-09-21 Thread John Kalucki
Why are you writing your own PHP Streaming API client? It's somewhat
complicated to get all the details right. The Phirehose library seems to be
well received, and it's incorporated lots of fixes for corner cases.

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



On Tue, Sep 21, 2010 at 6:12 AM, Nicolas Grasset
nicolas.gras...@gmail.comwrote:

 Thanks for the quick reply!

 I went back to testing with command line with a curl call, it worked
 so I realized the PHP code was buffering and I did not realize it on
 large amount of results...

 The problem was with an internal buffer between cURL and the PHP
 Stream. I went another way instead and posting a PHP base class if it
 may help anyone else.

 I typically extend it to override handleTweet($tweet).


 ?php

 class snow_twitter_bot {

protected $buffer;


/**
 *  Read a stream looking for track keywords on behalf of a user
 *
 *
 * @param string $track Comma separated
 values keywords
 * @param string $twitter_user  Twitter username
 * @param string $twitter_pass  Twitter password
 */
public function readStreamFilter( $track, $twitter_user,
 $twitter_pass )
{

$wait = 10;
while( true )
{

echo \n . date(c) .  - Connecting to Twitter
 Stream\n;

// Configuration of curl
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,
 http://stream.twitter.com/1/
 statuses/filter.json);
curl_setopt($ch, CURLOPT_HEADER,
0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,
  default);
curl_setopt($ch, CURLOPT_POST,
true);
curl_setopt($ch, CURLOPT_POSTFIELDS,
  track=$track);
curl_setopt($ch, CURLOPT_HTTPAUTH,
CURLAUTH_BASIC ) ;
curl_setopt($ch, CURLOPT_USERPWD,
 $twitter_user:
 $twitter_pass);

curl_setopt($ch, CURLOPT_WRITEFUNCTION,
 array($this,
 receiveResponse));

curl_exec($ch);

$info = curl_getinfo($ch);

if( $info['http_code'] == 200 )
$wait = 10;
else
{
echo \n . date(c) .  - ERROR
 ($info[http_code]) - Waiting
 $wait sec \n;
sleep ( $wait );
$wait *= ($wait = 240 ) ? 1 : 2;
}
}


curl_close($ch);
}


/**
 *  Call back function for cURL
 *
 *
 * @param curl handler $curlHandle
 * @param string $data
 */
private function receiveResponse( $curlHandle, $data )
{
$lines = explode(\n, $data);

// The buffer contains the end of the last line from previous
 time
// = Is goes at the beginning of the first line we are
 getting this time
$lines[0] = $this-buffer . $lines[0];

// And the last line os only partial
// = save it for next time, and remove it from the list this
 time
$nb_lines = count($lines);
$this-buffer = $lines[$nb_lines-1];
unset($lines[$nb_lines-1]);

// Here, do your work with the lines you have in the buffer
foreach( $lines as $one )
{
$tweet = @json_decode($one,1);
if(isset($tweet['user']['screen_name']))
{
$this-handleTweet( $tweet );
}
}

return strlen( $data );
}



/**
 *  Called for each tweet.
 *
 *  Override me with you logic /twss
 *
 *
 * @param array $tweet  A single tweet parsed from json, see online
 doc.
 */
public function handleTweet( $tweet )
{
echo '@'.$tweet['user']['screen_name']. at  .
 $tweet['created_at'].  says:\n;
echo $tweet['text'].\n;
echo \n-- Memory:  . round(memory_get_usage(true)/
 1024) .kb\n;
}


 }


 ?


 On Sep 21, 12:57 am, John Kalucki j...@twitter.com wrote:
  You say you are backing off on HTTP connections. Are you connecting
  constantly, or just once, and staying connected for very long periods?
 Are
  you tracking the number of limit messages you are receiving? Perhaps your
  track search was rate limited?
 
  -John Kaluckihttp://twitter.com/jkalucki
  Twitter, Inc.
 
  On Mon, Sep 20, 2010 at 2:46 PM, Nicolas Grasset
  nicolas.gras...@gmail.comwrote:
 
 
 
   Hi there,
 
   I have been reading many comments here, and while it seems at least
   another person had the same issue, I could not find an answer.
 
   I have a test account (@hemtexdream) using the statuses/filter stream
   api which works on words like twitter or trending hashtags like
   #ireallythink.
 
   

Re: [twitter-dev] onmouseover

2010-09-21 Thread Taylor Singletary
Patched: 
http://status.twitter.com/post/1161435117/xss-attack-identified-and-patched

On Tue, Sep 21, 2010 at 5:46 AM, Cameron Kaiser spec...@floodgap.com wrote:
 Any updates?

 http://www.theatlantic.com/technology/archive/2010/09/stay-off-twittercom-until-further-notice/63303/

 Clever little exploit, looking at it (safely from TTYtter, natch).

 --
  personal: http://www.cameronkaiser.com/ 
 --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
 -- Haiku is easy/Sometimes it doesn't make sense/Refrigerator -- KFI Haikus 
 -

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] XSS Forgeries

2010-09-21 Thread Taylor Singletary
Patched: 
http://status.twitter.com/post/1161435117/xss-attack-identified-and-patched

Thanks for the warning.

Taylor

On Tue, Sep 21, 2010 at 5:21 AM, Fabian Schlenz m...@fabianonline.de wrote:
 Hello.

 There are some malicious tweets coming through in my timeline. The texts of
 these tweets are for example:

 http://a.no/@onmouseover=;$('textarea:first').val(this.innerHTML);$('.status-update-form').submit()
 style=color:#000;background:#000;/

 or

 http://t.co/@onmouseover=document.getElementById('status').value='RT
 MoiMrJack';$('.status-update-form').submit();font-size:500pt;/

 (so some kind of self-replicating tweet). IDs of some affected tweets:
 25111539789, 25105308878.

 I do hope twitter is already aware of this Problem, since the official
 twitter pages are affected, too... But if your client is affected, you
 should think about hardening it against this attack (mine was affected too,
 but luckily I'm the only user of it).


 Regards,
 Fabian Schlenz

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Twitter count not working

2010-09-21 Thread Oscar Migueis
Our conter returns to 0 when i refresh the page.
Even at http://dev.twitter.com/pages/tweet_button if i test it and
refresh, it returns to 12 tweets.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] problems with 2000 followers barrier

2010-09-21 Thread ValeZ
Hi, developers

My blog service www.liveinternet.ru (up to 1 500 000 blogs) recently
have developed the integration with twitter. Our users fix their
twitter accounts by OAuth and every message in twitter adds in their
blogs. Our account @liveinternet_ru automatically follow users'
accounts, analize it's timeline every 5 minutes and process all new
messages.

It was working great untill we reached 2000 followers limit for
@liveinternet_ru and I totally don't know what to do. Check each of
thousands accounts for updates every 5 minutes? Ok, we can
automatically follow @liveinternet_ru by every of 2000 accounts (but
it's strange and not needed by anyone), but if just one of our users
unfollow @liveinternet_ru we'll return to the same situaton.
Automatically follow every 5 minutes to reach 2000 followers? I don't
know what to do.

I belive, that Twitter is genious thing, but 2000 follower limit makes
me sad and lost. Help me?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] xAuth problem

2010-09-21 Thread Taylor Singletary
Hi there,

Has anything changed about your environment? Perhaps your clocks have
changed and you aren't generating valid timestamps? When you applied
and were approved for xAuth, was it a conditional approval meant for
transitional purposes? Have you tried utilizing xAuth from another
code base? What is the specific Twitter API exception that you are
receiving?

Taylor

On Tue, Sep 21, 2010 at 4:22 AM, privatejava ngmm...@gmail.com wrote:
 Since many days i can see my xAuth is not working .It gives me error/
 exception while i try to login my twitter user via xauth method.My
 application is a standalone app with api twitter4j.I've even already
 verified my xAuth but why isn't it working?

 Please help!

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Re: Status Updates

2010-09-21 Thread Taylor Singletary
The best way to avoid running afoul of Twitter's spam policies as an
API developer is to follow a golden rule: don't surprise users.
Automating an @mention because your algorithm determined something
interesting about the user (as opposed to another user of your service
deliberately triggering the mention) to a user who has no awareness of
your service, especially if the @mention's purpose is primarily to
drive awareness of your service, could likely be perceived as spam by
many users. I know I certainly would hit the block  report for spam
button.

I usually recommend in this case that you either send @mentions
because the @mentioned user explicitly indicated interest in your
service (say by allowing your client application access to it's
account), if the @mentioned interacted with your bot in the past, or
if another user of your service explicitly triggered the @mention. In
this last case, you're better off making the @mention come directly
from the user utilizing your service, rather than having it be
authored by the bot itself.

Taylor

On Tue, Sep 21, 2010 at 5:34 AM, Tim Haines tmhai...@gmail.com wrote:
 Hi,
 I have a bot that does something similar to this.  If you do 100 spread out
 over the course of a day you'll be fine.  If you did 100 in the course of an
 hour, Twitter would (very likely) suspend your account.
 They have monitoring in place for when certain thresholds are crossed, but
 they don't disclosed the threshold in the interest of it not being abused.
 Cheers,
 Tim.

 On Tue, Sep 21, 2010 at 8:51 PM, Goran Popovic goranpopo...@gmail.com
 wrote:

 They are notified once and that's it ;)

 Well I got an idea to notify users lets say each 10 minutes ( ie. 100
 users found today..and instead of notifying them immediately when they
 are found ..they would be added in a database..and then notified one
 by one every few minutes). I think that would be the best solution.

 On Sep 21, 11:11 am, Tom van der Woerdt i...@tvdw.eu wrote:
  As far as I know, that's no problem - a lot of services do that. Just
  don't make it spammy (sending more than 1 tweet per week to one user
  without first getting his/her permission, etc) and allow users to
  opt-out (better even would be opt-in but that wouldn't be good for your
  service, right?).
 
  Tom
 
  On 9/21/10 8:44 AM, Goran Popovic wrote:
 
   Hello!
   I have a delicate question about status updates.
   Is it against the Twitter TOS to send tweet every time script finds
   another candidate?
 
   Let me explain more..
   Few days ago I've created a website called hottwittz.com.
   Script finds users who said that they are hot / sexy, and allows users
   to to vote.
 
   Every few minutes script checks for new candidates and then adds them
   to database..
   Until yesterday, when script found new user, new tweet was written to
   notify the user that he's been added..
   Something like  @username you have been added 
 
   Currently there are 50 - 100 users found each day...and i'm not sure
   if sending lets say 100 similar tweets each day would be considered
   spam..
 
   So is this considered spam? Is this against rules or is maybe some
   better way to notify users?
 
   This is needed because users have option to write to me and be
   deleted...
   First impressions are great and in most cases people are flattered and
   call their friends to vote for them.
 
   This is just an example to describe my problem.
 
   Thank You
 
   Goran Popovic

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Local trends near you user setting via API?

2010-09-21 Thread TheGuru
Is there a way yet, via the api, to determine if a user has set their
trends to display for specific locale, versus worldwide?

In my searching, I came across the following post back in January,
stating that the setting would be included in the user object,  but
I'm not seeing anything yet:

http://groups.google.com/group/twitter-development-talk/browse_thread/thread/589c14b4649f421c/571d477f1ee73b62

Thanks.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] problems with 2000 followers barrier

2010-09-21 Thread Adam Cloud
http://support.twitter.com/entries/68916

http://support.twitter.com/entries/66885-i-can-t-follow-people-follow-limitsMaybe
ask some of users to follow you back to prove your the legitimacy of your
app.


2010/9/21 Валентин ValeZ Любимов valentin.lyubi...@gmail.com

 Hi, developers

 My blog service www.liveinternet.ru (up to 1 500 000 blogs) recently
 have developed the integration with twitter. Our users fix their
 twitter accounts by OAuth and every message in twitter adds in their
 blogs. Our account @liveinternet_ru automatically follow users'
 accounts, analize it's timeline every 5 minutes and process all new
 messages.

 It was working great untill we reached 2000 followers limit for
 @liveinternet_ru and I totally don't know what to do. Check each of
 thousands accounts for updates every 5 minutes? Ok, we can
 automatically follow @liveinternet_ru by every of 2000 accounts (but
 it's strange and not needed by anyone), but if just one of our users
 unfollow @liveinternet_ru we'll return to the same situaton.
 Automatically follow every 5 minutes to reach 2000 followers? I don't
 know what to do.

 I belive, that Twitter is genious thing, but 2000 follower limit makes
 me sad and lost. Help me?

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Whitelist status update

2010-09-21 Thread Tom Monaghan
Hi folks,

We applied a few weeks ago and are looking for an update.  We're
making sure to stay under the present limits, but are inching closer
by the day and having to curtail growth of our app based on this
ceiling.

On 8/17 in reply to a similar request Taylor Singletary mentioned that
you guys were still pretty backed up and recommend that the OP
resubmit.  Is this still the recommend course of action?

Best,
Tom

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Search API is acting weird.

2010-09-21 Thread Gena01
So I've been messing with the search API and I am seeing some strange
stuff going on.

When I request:  http://search.twitter.com/search.json?q=to:ev I get
normal results.

If i request http://search.twitter.com/search.json?q=to:a or
http://search.twitter.com/search.json?q=to:gena01 then I get a
warning: adjusted since_id to 25075604044 due to temporary error.

If I do from: instead of to: I also get these sort of
discrepancies. For people like @ev I get feeds/tweets/etc for people
not as popular I get nothing back.

Is there something I am doing wrong or is search api broken?

Gena01

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Twitter count not working

2010-09-21 Thread Matt Harris
Hi Oscar,

Could you share the code you are using for your Tweet Button so we can
try and work out what's happening.
Thanks,
Matt

On Tue, Sep 21, 2010 at 7:39 AM, Oscar Migueis omigu...@gmail.com wrote:
 Our conter returns to 0 when i refresh the page.
 Even at http://dev.twitter.com/pages/tweet_button if i test it and
 refresh, it returns to 12 tweets.

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk?hl=en




-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: XAuth - bad request

2010-09-21 Thread Gary
Thank you.  Now it works.

So what is needed was  a single HTTP header with name Authorization
and value is the comma delimited string with quoted values as shown in
the example.

In other words...

POST /oauth/authorize HTTP/1.1
Authorization: OAuth
oauth_nonce=n7NBq1mCqoinPQzQ23FRFOo6imP5Qh7l51QMi0tlO5GnW,
oauth_signature_method=HMAC-SHA1, oauth_timestamp=1285086393,
oauth_consumer_key=my consumer key,
oauth_signature=wykLrYGLUBkiq9s3VPIXi%2FGH1bk%3D,
oauth_version=1.0
Content-Type: application/x-www-form-urlencoded
other standard hdrs

x_auth_mode=client_authx_auth_password=twitter-
xauthx_auth_username=oauth_test_exec





On Sep 21, 2:23 am, Tom van der Woerdt i...@tvdw.eu wrote:
 First, let me start by saying that xAuth is only an extension to OAuth
 and that you will have to implement OAuth as well.

 The problem with your request is that you send all oauth_* parameters as
 header. That's wrong: the correct syntax is Authorization: OAuth
 oauth_nonce=nonce, oauth_signature=sig,etc

 Tom

 On 9/21/10 2:19 AM, Gary wrote:

  Hello,

  I am developing a desktop application using C++ and QT.  (I'm not
  using QAuth because I don't want to have to encorporate QCA and
  OpenSLL into my app.)

  I am attempting to perform xAuth and I'm getting 400 (bad request).
  Here are the details (data taken fromhttp://dev.twitter.com/pages/xauth)

  Base string:
  POSThttps%3A%2F%2Fapi.twitter.com%2Foauth
  %2Faccess_tokenoauth_consumer_key%3DJvyS7DO2qd6NNTsXJ4E7zA
  %26oauth_nonce%3D6AN2dKRzxyGhmIXUKSmp1JcB4pckM8rD3frKMTmVAo
  %26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
  %3D1284565601%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
  %26x_auth_password%3Dtwitter-xauth%26x_auth_username%3Doauth_test_exec

  oauth_signature:
  1L1oXQmawZAkQ47FHLwcOV%2Bkjwc%3D

  Post body:
  x_auth_mode=client_authx_auth_password=twitter-
  xauthx_auth_username=oauth_test_exec

  I sent the data to a bogus (non secure) server so I could see what was
  going out in wireshark.  Below is the outgoing message.  Why is this
  resulting in 400?  What am I missing?  (Assume this is really going to
 https://api.twitter.com/oauth/access_token)

  POST /oauth/authorize HTTP/1.1
  OAuth oauth_nonce: 6AN2dKRzxyGhmIXUKSmp1JcB4pckM8rD3frKMTmVAo
  oauth_signature_method: HMAC-SHA1
  oauth_timestamp: 1284565601
  oauth_consumer_key: JvyS7DO2qd6NNTsXJ4E7zA
  oauth_signature: 1L1oXQmawZAkQ47FHLwcOV%2Bkjwc%3D
  oauth_version: 1.0
  Content-Type: application/x-www-form-urlencoded
  Content-Length: 85
  Connection: Keep-Alive
  Accept-Encoding: gzip
  accept-language: en,*
  User-Agent: Mozilla/5.0
  Host: twitter.com

  x_auth_mode=client_authx_auth_password=twitter-
  xauthx_auth_username=oauth_test_exec

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: Search API is acting weird.

2010-09-21 Thread themattharris
The adjusted since_id to xxx due to temporary error really means
this:
   the since_id was not specified so I went back as far as I could.
The earliest tweet is the database was 25075604044 so i used that.

For users who tweet more often this error can still occur but is less
likely. This is because the search results per page fit into the
available index and so no adjustment of since_id is required.

For less active accounts the error above occurs because search tries
to get n results per page. If there aren't n tweets in the available
index the since_id goes beyond what we have stored - so the message
above is displayed.

As for the other users not showing up when you search for them using
from:. There are many reasons for users not to show up in Search. The
most common one (and applicable to your account gena01) is there
haven't been any tweets in the last 5 days. Other reasons are
explained on our help site:
 
http://support.twitter.com/groups/32-something-s-not-working/topics/118-search/articles/66018-my-tweets-or-hashtags-are-missing-from-search-known-issue

Hope that's helpful,
@themattharris

On Sep 21, 8:22 am, Gena01 gen...@gmail.com wrote:
 So I've been messing with the search API and I am seeing some strange
 stuff going on.

 When I request:  http://search.twitter.com/search.json?q=to:evI get
 normal results.

 If i 
 requesthttp://search.twitter.com/search.json?q=to:aorhttp://search.twitter.com/search.json?q=to:gena01then
  I get a
 warning: adjusted since_id to 25075604044 due to temporary error.

 If I do from: instead of to: I also get these sort of
 discrepancies. For people like @ev I get feeds/tweets/etc for people
 not as popular I get nothing back.

 Is there something I am doing wrong or is search api broken?

 Gena01

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] New twitter.com uses an OAuth app called web?

2010-09-21 Thread Abraham Williams
I poked around how @Anywhere authenticates and makes request and put
the results up on my blog:
http://blog.abrah.am/2010/09/hacking-twitter-anywheres.html

Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.


On Tue, Sep 21, 2010 at 06:03, Tom van der Woerdt i...@tvdw.eu wrote:

 Which would mean that OAuth 2.0 is now available for the API?

 Tom


 On 9/21/10 3:02 PM, Thomas Woolway wrote:
  If it's built on top of @anywhere, it will use OAuth 2.0.
 
  Tom
 
  On Tue, Sep 21, 2010 at 11:01 AM, Tom van der Woerdt i...@tvdw.eu
  mailto:i...@tvdw.eu wrote:
 
  There are no OAuth_* parameters when making requests to
  api.twitter.com http://api.twitter.com.
  However, I do see a lot of cookies, including auth_token and
  twitter_sess. I would assume that these are related.
 
  It's definitely not OAuth 1.0 :-)
 
  Tom
 
 
  On 9/21/10 11:56 AM, Karthik wrote:
   Just read from this blog post (
 http://engineering.twitter.com/2010/09/
   tech-behind-new-twittercom.html), that new Twitter.com is a client
 to
   Twitter API.
  
   I can't help but wonder if,
  
   1) Twitter.com uses an OAuth app called web?
  
   2) Does the site generate OAuth access tokens for every user from
   their raw credentials?
  
   I assume you guys don't have exclusive access to basic auth :)
  
 
  --
  Twitter developer documentation and resources:
  http://dev.twitter.com/doc
  API updates via Twitter: http://twitter.com/twitterapi
  Issues/Enhancements Tracker:
  http://code.google.com/p/twitter-api/issues/list
  Change your membership to this group:
  http://groups.google.com/group/twitter-development-talk?hl=en
 
 
  --
  Twitter developer documentation and resources:
 http://dev.twitter.com/doc
  API updates via Twitter: http://twitter.com/twitterapi
  Issues/Enhancements Tracker:
  http://code.google.com/p/twitter-api/issues/list
  Change your membership to this group:
  http://groups.google.com/group/twitter-development-talk?hl=en

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Local trends near you user setting via API?

2010-09-21 Thread Abraham Williams
For users with the #newtwitter yes. But it is currently undocumented and not
yet officially supported.

http://app.apigee.com/console/apigee-console-snapshots-128331720_14a0ad88-4e01-4b1e-9af2-0f6e1280a3b1/rendersnapshotview

Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.


On Tue, Sep 21, 2010 at 08:01, TheGuru jsort...@gmail.com wrote:

 Is there a way yet, via the api, to determine if a user has set their
 trends to display for specific locale, versus worldwide?

 In my searching, I came across the following post back in January,
 stating that the setting would be included in the user object,  but
 I'm not seeing anything yet:


 http://groups.google.com/group/twitter-development-talk/browse_thread/thread/589c14b4649f421c/571d477f1ee73b62

 Thanks.

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] @anywhere rocks for Javascript development

2010-09-21 Thread ManuelZ
It's simple; it feels like jQuery; gives you the basics instantly.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] dev.twitter.com sends consumer secret in clear text

2010-09-21 Thread ManuelZ
When you register your Twitter app at http://dev.twitter.com, you get
an api key, a consumer secret and other awesome goodies.

The secret is necessary so that you can validate signatures of stuff
coming from Twitter (confirm it's from Twitter) and generate
signatures for stuff you're sending to Twitter (confirm it's from your
application).

All application settings are sent in clear text (http) if you follow
the links on dev.twitter, which is an attack vector: the interception
of the secret can compromise the app.

(1) It's been puzzling me for a while why the dev.twitter.com/apps (or
at least the app settings page) is not restricted to https only.
Granted, Twitter can only be affected through a slightly more
sophisticated attack (incl. spoofing the app) +  they likely have
efficient ways to reverse damage from one compromised application, but
as the app developer, you're in a pretty bad spot.

(2) Suggestion: if you go to https://dev.twitter.com/apps for all your
app settings business, you can protect your secret... with one small
problem: certificate error:
dev.twitter.com uses an invalid security certificate. The certificate
is only valid for the following names:
  www.twitter.com , twitter.com
If anyone from Twitter is listening -- it may be a good idea to fix
this.

(3) On the bright side, Twitter is way better than Facebook, where
even if you go to your app settings over https (it works!), it will
redirect you to http after it's re-generated your key.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Whitelist status update

2010-09-21 Thread Taylor Singletary
Hi Tom,

Still inexcusably, chronically, and hilariously behind on processing
whitelisting requests.

If anyone has a whitelisting request they feel has been lost in time,
feel free to send me ( taylorsinglet...@twitter.com  ) a note with the
screen name you filed the request under.  I don't mind investigating
on an ad-hoc basis as long as it doesn't get out of control.

Time is the master.
Taylor

On Tue, Sep 21, 2010 at 8:22 AM, Tom Monaghan slo...@gmail.com wrote:
 Hi folks,

 We applied a few weeks ago and are looking for an update.  We're
 making sure to stay under the present limits, but are inching closer
 by the day and having to curtail growth of our app based on this
 ceiling.

 On 8/17 in reply to a similar request Taylor Singletary mentioned that
 you guys were still pretty backed up and recommend that the OP
 resubmit.  Is this still the recommend course of action?

 Best,
 Tom

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Whitelist status update

2010-09-21 Thread Trevor Dean
Hi Taylor,

We are just preparing our whitelist request form.  Is there anything we can
do or any advice you can give on getting our request reviewed sooner than
later?

Thanks,

Trevor

On Tue, Sep 21, 2010 at 1:56 PM, Taylor Singletary 
taylorsinglet...@twitter.com wrote:

 Hi Tom,

 Still inexcusably, chronically, and hilariously behind on processing
 whitelisting requests.

 If anyone has a whitelisting request they feel has been lost in time,
 feel free to send me ( taylorsinglet...@twitter.com  ) a note with the
 screen name you filed the request under.  I don't mind investigating
 on an ad-hoc basis as long as it doesn't get out of control.

 Time is the master.
 Taylor

 On Tue, Sep 21, 2010 at 8:22 AM, Tom Monaghan slo...@gmail.com wrote:
  Hi folks,
 
  We applied a few weeks ago and are looking for an update.  We're
  making sure to stay under the present limits, but are inching closer
  by the day and having to curtail growth of our app based on this
  ceiling.
 
  On 8/17 in reply to a similar request Taylor Singletary mentioned that
  you guys were still pretty backed up and recommend that the OP
  resubmit.  Is this still the recommend course of action?
 
  Best,
  Tom
 
  --
  Twitter developer documentation and resources:
 http://dev.twitter.com/doc
  API updates via Twitter: http://twitter.com/twitterapi
  Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
  Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en
 

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Whitelist status update

2010-09-21 Thread Taylor Singletary
Hi Trevor,

There's nothing specific you can do to ensure that it gets reviewed
sooner than later -- if you like, you can send me an email after
you've submitted the review and I may give it some advance
consideration.

To be clear: the vast majority of whitelisting requests are denied. An
accompanying fact to that is that the vast majority of whitelisting
requests are too vague, inappropriate, unintelligible, or not
serviceable.

I highly recommend that anyone who applies for whitelisting make as
verbose of a request as possible: giving insight into current usage
patterns, predicted usage patterns, how tweets/Twitter is specifically
used in the integration, insight on the target audience the
integration serves, and demonstration that other options have been
given consideration  exploration (such as using the streaming API,
making efficient use of API calls and caching, acting on a member's
direct behalf). If you're requesting IP address based whitelisting,
your request will be analyzed even more critically. Help us help you.

Some areas where we don't typically provide whitelisting, regardless
of how well-written the request: proxy servers, research/university
projects, bots, obvious information scrapers, pre-release
applications, etc. Previous whitelisting approval does not guarantee
future whitelisting -- even if you're just moving IP addresses around.
Also, the http://twitter.com/help/request_whitelisting form isn't to
be used for requesting Search API whitelisting, xAuth permissions,
Streaming role requests, etc. It's strictly for requesting
whitelisting for a user account/IP address within the context of REST
API development.

Finally, be aware that we have a bug in our whitelisting system that
often results in denial emails ridiculously not including the reason
for denial. If you get one of these and it wasn't obvious why it may
have been rejected, feel free to follow up with me and I'll research
the reason for you.

Thanks,
Taylor


On Tue, Sep 21, 2010 at 11:05 AM, Trevor Dean trevord...@gmail.com wrote:
 Hi Taylor,

 We are just preparing our whitelist request form.  Is there anything we can
 do or any advice you can give on getting our request reviewed sooner than
 later?

 Thanks,

 Trevor

 On Tue, Sep 21, 2010 at 1:56 PM, Taylor Singletary
 taylorsinglet...@twitter.com wrote:

 Hi Tom,

 Still inexcusably, chronically, and hilariously behind on processing
 whitelisting requests.

 If anyone has a whitelisting request they feel has been lost in time,
 feel free to send me ( taylorsinglet...@twitter.com  ) a note with the
 screen name you filed the request under.  I don't mind investigating
 on an ad-hoc basis as long as it doesn't get out of control.

 Time is the master.
 Taylor

 On Tue, Sep 21, 2010 at 8:22 AM, Tom Monaghan slo...@gmail.com wrote:
  Hi folks,
 
  We applied a few weeks ago and are looking for an update.  We're
  making sure to stay under the present limits, but are inching closer
  by the day and having to curtail growth of our app based on this
  ceiling.
 
  On 8/17 in reply to a similar request Taylor Singletary mentioned that
  you guys were still pretty backed up and recommend that the OP
  resubmit.  Is this still the recommend course of action?
 
  Best,
  Tom
 
  --
  Twitter developer documentation and resources:
  http://dev.twitter.com/doc
  API updates via Twitter: http://twitter.com/twitterapi
  Issues/Enhancements Tracker:
  http://code.google.com/p/twitter-api/issues/list
  Change your membership to this group:
  http://groups.google.com/group/twitter-development-talk?hl=en
 

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: Using @Anywhere under SSL

2010-09-21 Thread Cassie Lynn
yet? Do we have any way of knowing when this might happen? And
thanks for asking this here Justin! I asked on @anywhere and no one
has replied (it has been almost a week).

Thanks!
- Cassie

On Sep 20, 5:00 am, Tom van der Woerdt i...@tvdw.eu wrote:
 FYI, there's a Mailing List specifically for @Anywhere. The list you
 mailed to is the API developer list.
 http://groups.google.com/group/twitter-dev-anywhere

 To answer your question: no, there's no SSL version (yet).

 Tom

 On Mon, 20 Sep 2010 02:53:05 -0700 (PDT), Justin

 justin.realw...@gmail.com wrote:
  I would love to use the Connect with Twitter @Anywhere function but
  I would need to use it in a secure enviroment - that is under SSL.
  I first tried this when @Anywhere was first launched adn gave up
  thinking that perhaps it's a little too early?
  Having recently returned to it, I was disapointed to discover that the
  situation doesn't seem to have changed.

  Does anyone know if this is possible? Simply adding an s to
 http://platform.twitter.com/anywhere.jsdoesn't work, I wonder if
  there's another unpublished URL, or if Twitter have any plans to
  impliment this.

  I'd prefer to use @Anywhere over oAuth, but may not have a choice :-(

  Thanks

  Justin

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Re: Using @Anywhere under SSL

2010-09-21 Thread Taylor Singletary
Hi Cassie,

We don't have any estimates on when SSL support will be enabled for @Anywhere.

Taylor


On Tue, Sep 21, 2010 at 12:37 PM, Cassie Lynn
cassie.schwendi...@gmail.com wrote:
 yet? Do we have any way of knowing when this might happen? And
 thanks for asking this here Justin! I asked on @anywhere and no one
 has replied (it has been almost a week).

 Thanks!
 - Cassie

 On Sep 20, 5:00 am, Tom van der Woerdt i...@tvdw.eu wrote:
 FYI, there's a Mailing List specifically for @Anywhere. The list you
 mailed to is the API developer list.
 http://groups.google.com/group/twitter-dev-anywhere

 To answer your question: no, there's no SSL version (yet).

 Tom

 On Mon, 20 Sep 2010 02:53:05 -0700 (PDT), Justin

 justin.realw...@gmail.com wrote:
  I would love to use the Connect with Twitter @Anywhere function but
  I would need to use it in a secure enviroment - that is under SSL.
  I first tried this when @Anywhere was first launched adn gave up
  thinking that perhaps it's a little too early?
  Having recently returned to it, I was disapointed to discover that the
  situation doesn't seem to have changed.

  Does anyone know if this is possible? Simply adding an s to
 http://platform.twitter.com/anywhere.jsdoesn't work, I wonder if
  there's another unpublished URL, or if Twitter have any plans to
  impliment this.

  I'd prefer to use @Anywhere over oAuth, but may not have a choice :-(

  Thanks

  Justin

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] statuses/update returns Incorrect signature when using in_reply_to_status_id

2010-09-21 Thread Tzanko
Hello,

When I post to statuses/update with in_reply_to_status_id parameter, I
get Incorrect signature.

However,  statuses/update works fine when in_reply_to_status_id is
missing. Could someone please help? How do we need to pass this
parameter?

Thank you in advance!

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] statuses/update returns Incorrect signature when using in_reply_to_status_id

2010-09-21 Thread Tom van der Woerdt
You most likely forget to include in_reply_to_status_id in your Base String.

Tom


On 9/21/10 10:38 PM, Tzanko wrote:
 Hello,
 
 When I post to statuses/update with in_reply_to_status_id parameter, I
 get Incorrect signature.
 
 However,  statuses/update works fine when in_reply_to_status_id is
 missing. Could someone please help? How do we need to pass this
 parameter?
 
 Thank you in advance!
 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] statuses/update returns Incorrect signature when using in_reply_to_status_id

2010-09-21 Thread Taylor Singletary
Can you share what the various states are in your request?

To save some time, here's an example of a few steps of updating a
status in this way. This example replies to tweet 23241674011 with the
status @oauth_dancer test

Signature Base String
POSThttps%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses%2Fupdate.xmlin_reply_to_status_id%3D23241674011%26oauth_consumer_key%3Dri8JxYK2ddwSV5xIUfNNvQ%26oauth_nonce%3DyuUeiE2vPilVqaQp7XYqCQHbiEEklS5Bz9fYjNZP0%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1285101894%26oauth_token%3D119476949-gF0B5O1Wwa2UqqIwopAhQtQVTzmfSIOSiHQS7Vf8%26oauth_version%3D1.0%26status%3D%2540oauth_dancer%2520test

Authorization Header
OAuth oauth_nonce=yuUeiE2vPilVqaQp7XYqCQHbiEEklS5Bz9fYjNZP0,
oauth_signature_method=HMAC-SHA1, oauth_timestamp=1285101894,
oauth_consumer_key=ri8JxYK2ddwSV5xIUfNNvQ,
oauth_token=119476949-gF0B5O1Wwa2UqqIwopAhQtQVTzmfSIOSiHQS7Vf8,
oauth_signature=NXOcu3OzXxoVK0PV4YxYu9cFXO0%3D, oauth_version=1.0

POST Body
status=%40oauth_dancer%20testin_reply_to_status_id=23241674011

Taylor

On Tue, Sep 21, 2010 at 1:38 PM, Tzanko tzanko.stefa...@gmail.com wrote:
 Hello,

 When I post to statuses/update with in_reply_to_status_id parameter, I
 get Incorrect signature.

 However,  statuses/update works fine when in_reply_to_status_id is
 missing. Could someone please help? How do we need to pass this
 parameter?

 Thank you in advance!

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Re: Status Updates

2010-09-21 Thread Scott Wilcox
Hi,

I'd second that completely. Users *really* dislike finding messages directed 
to/at them for keyword tracking. The first thing I do is block and report that 
account for spam. Its one of my pet peeves regarding the streaming api/tracking.

Scott.

On 21 Sep 2010, at 16:00, Taylor Singletary wrote:

 The best way to avoid running afoul of Twitter's spam policies as an
 API developer is to follow a golden rule: don't surprise users.
 Automating an @mention because your algorithm determined something
 interesting about the user (as opposed to another user of your service
 deliberately triggering the mention) to a user who has no awareness of
 your service, especially if the @mention's purpose is primarily to
 drive awareness of your service, could likely be perceived as spam by
 many users. I know I certainly would hit the block  report for spam
 button.
 
 I usually recommend in this case that you either send @mentions
 because the @mentioned user explicitly indicated interest in your
 service (say by allowing your client application access to it's
 account), if the @mentioned interacted with your bot in the past, or
 if another user of your service explicitly triggered the @mention. In
 this last case, you're better off making the @mention come directly
 from the user utilizing your service, rather than having it be
 authored by the bot itself.
 
 Taylor
 
 On Tue, Sep 21, 2010 at 5:34 AM, Tim Haines tmhai...@gmail.com wrote:
 Hi,
 I have a bot that does something similar to this.  If you do 100 spread out
 over the course of a day you'll be fine.  If you did 100 in the course of an
 hour, Twitter would (very likely) suspend your account.
 They have monitoring in place for when certain thresholds are crossed, but
 they don't disclosed the threshold in the interest of it not being abused.
 Cheers,
 Tim.
 
 On Tue, Sep 21, 2010 at 8:51 PM, Goran Popovic goranpopo...@gmail.com
 wrote:
 
 They are notified once and that's it ;)
 
 Well I got an idea to notify users lets say each 10 minutes ( ie. 100
 users found today..and instead of notifying them immediately when they
 are found ..they would be added in a database..and then notified one
 by one every few minutes). I think that would be the best solution.
 
 On Sep 21, 11:11 am, Tom van der Woerdt i...@tvdw.eu wrote:
 As far as I know, that's no problem - a lot of services do that. Just
 don't make it spammy (sending more than 1 tweet per week to one user
 without first getting his/her permission, etc) and allow users to
 opt-out (better even would be opt-in but that wouldn't be good for your
 service, right?).
 
 Tom
 
 On 9/21/10 8:44 AM, Goran Popovic wrote:
 
 Hello!
 I have a delicate question about status updates.
 Is it against the Twitter TOS to send tweet every time script finds
 another candidate?
 
 Let me explain more..
 Few days ago I've created a website called hottwittz.com.
 Script finds users who said that they are hot / sexy, and allows users
 to to vote.
 
 Every few minutes script checks for new candidates and then adds them
 to database..
 Until yesterday, when script found new user, new tweet was written to
 notify the user that he's been added..
 Something like  @username you have been added 
 
 Currently there are 50 - 100 users found each day...and i'm not sure
 if sending lets say 100 similar tweets each day would be considered
 spam..
 
 So is this considered spam? Is this against rules or is maybe some
 better way to notify users?
 
 This is needed because users have option to write to me and be
 deleted...
 First impressions are great and in most cases people are flattered and
 call their friends to vote for them.
 
 This is just an example to describe my problem.
 
 Thank You
 
 Goran Popovic

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Status Updates

2010-09-21 Thread Scott Wilcox
Hi,

If I came across your app doing that, I'd block it and then report it as spam 
immediately. In my opinion, you're spamming via @replies - the reason for doing 
so it irrelevant. I'd imagine your app getting shut down pretty quickly.

Scott.

On 21 Sep 2010, at 07:44, Goran Popovic wrote:

 Hello!
 I have a delicate question about status updates.
 Is it against the Twitter TOS to send tweet every time script finds
 another candidate?
 
 Let me explain more..
 Few days ago I've created a website called hottwittz.com.
 Script finds users who said that they are hot / sexy, and allows users
 to to vote.
 
 Every few minutes script checks for new candidates and then adds them
 to database..
 Until yesterday, when script found new user, new tweet was written to
 notify the user that he's been added..
 Something like  @username you have been added 
 
 Currently there are 50 - 100 users found each day...and i'm not sure
 if sending lets say 100 similar tweets each day would be considered
 spam..
 
 So is this considered spam? Is this against rules or is maybe some
 better way to notify users?
 
 This is needed because users have option to write to me and be
 deleted...
 First impressions are great and in most cases people are flattered and
 call their friends to vote for them.
 
 This is just an example to describe my problem.
 
 Thank You
 
 Goran Popovic

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] statuses/update returns Incorrect signature when using in_reply_to_status_id

2010-09-21 Thread Tzanko Stefanov
Great - works now! Thank you very much!

I am wondering why such 'intricacies' are not mentioned in the
documentation. I mean, how can one figure out the the optional
parameter in_reply_to_status_id has to come in front of the oauth
parameters in the base string? Or maybe there is some sort of a
convention that I am not aware of?

Thanks again.

On Tue, Sep 21, 2010 at 4:47 PM, Taylor Singletary
taylorsinglet...@twitter.com wrote:
 Can you share what the various states are in your request?

 To save some time, here's an example of a few steps of updating a
 status in this way. This example replies to tweet 23241674011 with the
 status @oauth_dancer test

 Signature Base String
 POSThttps%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses%2Fupdate.xmlin_reply_to_status_id%3D23241674011%26oauth_consumer_key%3Dri8JxYK2ddwSV5xIUfNNvQ%26oauth_nonce%3DyuUeiE2vPilVqaQp7XYqCQHbiEEklS5Bz9fYjNZP0%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1285101894%26oauth_token%3D119476949-gF0B5O1Wwa2UqqIwopAhQtQVTzmfSIOSiHQS7Vf8%26oauth_version%3D1.0%26status%3D%2540oauth_dancer%2520test

 Authorization Header
 OAuth oauth_nonce=yuUeiE2vPilVqaQp7XYqCQHbiEEklS5Bz9fYjNZP0,
 oauth_signature_method=HMAC-SHA1, oauth_timestamp=1285101894,
 oauth_consumer_key=ri8JxYK2ddwSV5xIUfNNvQ,
 oauth_token=119476949-gF0B5O1Wwa2UqqIwopAhQtQVTzmfSIOSiHQS7Vf8,
 oauth_signature=NXOcu3OzXxoVK0PV4YxYu9cFXO0%3D, oauth_version=1.0

 POST Body
 status=%40oauth_dancer%20testin_reply_to_status_id=23241674011

 Taylor

 On Tue, Sep 21, 2010 at 1:38 PM, Tzanko tzanko.stefa...@gmail.com wrote:
 Hello,

 When I post to statuses/update with in_reply_to_status_id parameter, I
 get Incorrect signature.

 However,  statuses/update works fine when in_reply_to_status_id is
 missing. Could someone please help? How do we need to pass this
 parameter?

 Thank you in advance!

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk?hl=en


 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk?hl=en




-- 
--Tzanko

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Perl Net::Twitter and oAuth

2010-09-21 Thread sftriman
I downloaded the /examples in Net::Twitter, and they don't seem to
work.  There were 2 in that directory.  I've searched tons on Google,
and I've read both links on the dev.twitter.com site for perl, but
can't get those to work.  Maybe someone here can help?

My Twitter code does only a few things:

* gets direct messages
* searches for some keywords so that I can stream tweets on my site
* sends status updates with links to news items

That is, I don't ever login as any user other than myself.  My code
runs in perl on Linux.

The nuts and bolts of it are:

# Basic login
our $twit=Net::Twitter-new({username=mysite,
password=$acct{'mysite'}, source=''});

# Search
my $ref = $twit-search({q=bike OR triathlon OR bicycle OR cycling
OR bmx cyclocross});

# Update
$twit-update({status = $tweet});

although I was using this sometimes:

`/usr/bin/curl -u $user:$pswd -d status=$status
http://api.twitter.com/1/statuses/update.xml 1/tmp/twitterCurl.
$user.out 21`;

So the big question is, I have a consumer key and consumer secret -
how do I turn
this basic code into oAuth proper code?

Thanks!

David

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Searching for tweets containing a specific domain

2010-09-21 Thread Eric Marcoullier @ Gnip
If you query search.twitter.com for a specific domain, such as
techcrunch.com, you'll get a list of all tweets that contain that
domain, even if it's contained in a shortened URL.  Using domains as
predicates in Streaming Track doesn't result in the same behavior,
only matching on actual body text as opposed to metadata.

What is the most effective strategy to consume a feed of domain-
specific tweets at this point?

Thanks!
Eric

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


RE: [twitter-dev] Twitters t.co URL

2010-09-21 Thread james ---------------

Hi Taylor,  The problem seemed to have resolved itself . I 
deleted the postings where the tiny urls where missing. It must have been a 
glitch. Although would like to know any possible reasons for this for future 
reference.
Regards,   Michael
From: taylorsinglet...@twitter.com
Date: Mon, 20 Sep 2010 07:19:12 -0700
Subject: Re: [twitter-dev] Twitters t.co URL
To: twitter-development-talk@googlegroups.com
CC: 4bra...@gmail.com

Hi there,
I don't see any issues with the tinyurls on your page. Is there something more 
specifically wrong?
Thanks,Taylor

On Mon, Sep 20, 2010 at 3:18 AM, zoomcreator cyberfigh...@hotmail.com wrote:


Hello,

  I noticed in my twitter app that tiny url is not working

anymore in my twitter account feed (http://twitter.com/zoomcreator) .

Just wondering what the problem is and whether it has something to do

with the change over to t.co url ?



--

Twitter developer documentation and resources: http://dev.twitter.com/doc

API updates via Twitter: http://twitter.com/twitterapi

Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list

Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en







-- 

Twitter developer documentation and resources: http://dev.twitter.com/doc

API updates via Twitter: http://twitter.com/twitterapi

Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list

Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en
  

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: problems with 2000 followers barrier

2010-09-21 Thread Jonathan Strauss
This is how we architected the first version of TweetPo.st back before
the streaming API was available. It was a good workaround for
regularly polling the accounts of all our users individually to know
if they had tweeted. However, we ran into the same issue with the
follower/following ratio.

The good news is that this is exactly what the Streaming API is
designed to solve. We switched to using the Streaming API with the
follow predicate (http://dev.twitter.com/pages/
streaming_api_methods#follow). But that was before Site Streams
(http://dev.twitter.com/pages/site_streams), which basically does
exactly what it sounds like you want right out of the box.

-jonathan

--
Jonathan Strauss, Co-Founder
http://awe.sm

Blog: http://jonathanhstrauss.com
Twitter: http://twitter.com/jhstrauss


On Sep 21, 8:05 am, Adam Cloud cloudy...@gmail.com wrote:
 http://support.twitter.com/entries/68916

 http://support.twitter.com/entries/66885-i-can-t-follow-people-follow...Maybe
 ask some of users to follow you back to prove your the legitimacy of your
 app.

 2010/9/21 Валентин ValeZ Любимов valentin.lyubi...@gmail.com



  Hi, developers

  My blog servicewww.liveinternet.ru(up to 1 500 000 blogs) recently
  have developed the integration with twitter. Our users fix their
  twitter accounts by OAuth and every message in twitter adds in their
  blogs. Our account @liveinternet_ru automatically follow users'
  accounts, analize it's timeline every 5 minutes and process all new
  messages.

  It was working great untill we reached 2000 followers limit for
  @liveinternet_ru and I totally don't know what to do. Check each of
  thousands accounts for updates every 5 minutes? Ok, we can
  automatically follow @liveinternet_ru by every of 2000 accounts (but
  it's strange and not needed by anyone), but if just one of our users
  unfollow @liveinternet_ru we'll return to the same situaton.
  Automatically follow every 5 minutes to reach 2000 followers? I don't
  know what to do.

  I belive, that Twitter is genious thing, but 2000 follower limit makes
  me sad and lost. Help me?

  --
  Twitter developer documentation and resources:http://dev.twitter.com/doc
  API updates via Twitter:http://twitter.com/twitterapi
  Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
  Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] Re: 503s On Geo API

2010-09-21 Thread Clay Graham
Just talked to the twitter api people.

Looks like there was a bug that they fixed!

Clay


On Sep 20, 8:22 pm, Clay Graham claytan...@sightlyinc.com wrote:
 Hey all!

 I wanted to check in with the community before writing
 a...@twitter.com, just so I dont look like a fool I am hoping to pick
 your brains so it seems like I am at least a little informed.

 I am writing an application for android that uses the twitter geo
 search api, but I am finding it to be severely crippled and throttled
 to the point where it is almost unusable. I thought it was just a
 temporary issue at first but it seems that I am getting consistent 503
 errors when attempting to call  http://api.twitter.com/version/geo/search.json
 regardless of time of day or how many requests I make (1-30 per hour).
 I use OAuth for all authentication clients.

 09-20 19:57:22.107:  Problem with Twitter:503:Service Unavailable: The
 Twitter servers are up, but overloaded with requests. Try again later.
 The search and trend methods use this to indicate when you are being
 rate limited.
 09-20 19:57:22.107:  {errors:[{code:10,message:Geo services are
 temporarily available}]}
 09-20 19:57:22.107:  TwitterException{statusCode=503, retryAfter=0,
 rateLimitStatus=RateLimitStatusJSONImpl{remainingHits=347,
 hourlyLimit=350, resetTimeInSeconds=1285041, secondsUntilReset=3549,
 resetTime=Mon Sep 20 20:56:32 PDT 2010}}

 I thought it may be rate limited but my rate limit seems to have lots
 of headroom (remainingHits=347, hourlyLimit=350). Any help is
 appreciated, there is no way I can move forward with my approach to
 use twitter unless these APIs are not highly available.

 BTW if you have an android phone and a twitter account I would love
 you to participate in our private beta!

 Thanks!

 =
 Clay Graham
 Starter
 Sightly Inc.http://sightlyinc.comhttp://ratecred.com

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] xAuth problem

2010-09-21 Thread Narayan Maharjan
Hello Taylor,
I 've already checked my timestamp before couple of days. The exception
occurs on all of the user who are using my application.So I think it may be
due to my own application. I use twitter4j api. It shows exception every
time i try to login. Please help.

Thanks.


On Tue, Sep 21, 2010 at 8:36 PM, Taylor Singletary 
taylorsinglet...@twitter.com wrote:

 Hi there,

 Has anything changed about your environment? Perhaps your clocks have
 changed and you aren't generating valid timestamps? When you applied
 and were approved for xAuth, was it a conditional approval meant for
 transitional purposes? Have you tried utilizing xAuth from another
 code base? What is the specific Twitter API exception that you are
 receiving?

 Taylor

 On Tue, Sep 21, 2010 at 4:22 AM, privatejava ngmm...@gmail.com wrote:
  Since many days i can see my xAuth is not working .It gives me error/
  exception while i try to login my twitter user via xauth method.My
  application is a standalone app with api twitter4j.I've even already
  verified my xAuth but why isn't it working?
 
  Please help!
 
  --
  Twitter developer documentation and resources:
 http://dev.twitter.com/doc
  API updates via Twitter: http://twitter.com/twitterapi
  Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
  Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en
 

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk?hl=en


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Perl Net::Twitter and oAuth

2010-09-21 Thread Marc Mims
* sftriman dal...@gmail.com [100921 16:46]:
 I downloaded the /examples in Net::Twitter, and they don't seem to
 work.  There were 2 in that directory.  I've searched tons on Google,
 and I've read both links on the dev.twitter.com site for perl, but
 can't get those to work.  Maybe someone here can help?

David, see if this helps:
http://github.com/semifor/Net-Twitter/wiki/Net::Twitter-and-the-death-of-Basic-Authentication

-Marc

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en