[twitter-dev] Re: Not able to connect to twitter through Google Appengine, getting Timeouts

2010-09-28 Thread nischalshetty
@John thanks a lot. 2 things :

1. Requests are still timing out though at a lesser rate, I guess this
should die down in some time?

2. Can we prevent this from happening? I know apps from GAE end up
misusing the API and your algo blocks the IP. But, won't you be able
to whitelist the good apps? So that the next time there is an IP
block, the calls where a registered app sends requests, you can allow
it to go through?

-Nischal

On Sep 28, 10:49 am, John Adams j...@twitter.com wrote:
 We talked with GAE and have resolved this issue.

 -j

 On Mon, Sep 27, 2010 at 7:06 PM, nischalshetty 
 nischalshett...@gmail.comwrote:



  Hi John,

  Just got news from appengine that it is being blocked.
 http://twitter.com/app_engine/status/25743996553

  Can you please have a check? It must be the blocking issue, had one a
  few months back for Appengine apps. Seems to work fine on my local dev
  environment.

  -N

  On Sep 28, 6:49 am, John Adams j...@twitter.com wrote:
   We're not currently blocking google app engine; Could you pass along some
   source IPs and we'll research?

   -john

   On Mon, Sep 27, 2010 at 6:25 PM, nischalshetty 
  nischalshett...@gmail.comwrote:

My apphttp://www.justunfollow.comisnot able to connect to Twitter
from the Google Appengine. I had faced this problem a few months ago
where you guys found out that the appengine IPs were being blocked due
to some rogue app.

Please help, thousands of my users are getting timeout errors!

--
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

  --
  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

-- 
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


Re: [twitter-dev] Re: Not able to connect to twitter through Google Appengine, getting Timeouts

2010-09-28 Thread John Adams
The way that Google App Engine handles outbound connections is that many
applications share and reuse outbound IPs from a proxy pool. This makes rate
limiting much harder and determination of where abuse is sourcing from
difficult to determine.

The request timing out issue you're experiencing means that there are
(possibly) still some IPs out of GAE that are being blocked, or some of your
requests are failing.

I'll have another look through our system.

-j


On Mon, Sep 27, 2010 at 11:09 PM, nischalshetty
nischalshett...@gmail.comwrote:

 @John thanks a lot. 2 things :

 1. Requests are still timing out though at a lesser rate, I guess this
 should die down in some time?

 2. Can we prevent this from happening? I know apps from GAE end up
 misusing the API and your algo blocks the IP. But, won't you be able
 to whitelist the good apps? So that the next time there is an IP
 block, the calls where a registered app sends requests, you can allow
 it to go through?

 -Nischal

 On Sep 28, 10:49 am, John Adams j...@twitter.com wrote:
  We talked with GAE and have resolved this issue.
 
  -j
 
  On Mon, Sep 27, 2010 at 7:06 PM, nischalshetty 
 nischalshett...@gmail.comwrote:
 
 
 
   Hi John,
 
   Just got news from appengine that it is being blocked.
  http://twitter.com/app_engine/status/25743996553
 
   Can you please have a check? It must be the blocking issue, had one a
   few months back for Appengine apps. Seems to work fine on my local dev
   environment.
 
   -N
 
   On Sep 28, 6:49 am, John Adams j...@twitter.com wrote:
We're not currently blocking google app engine; Could you pass along
 some
source IPs and we'll research?
 
-john
 
On Mon, Sep 27, 2010 at 6:25 PM, nischalshetty 
   nischalshett...@gmail.comwrote:
 
 My apphttp://www.justunfollow.comisnot able to connect to Twitter
 from the Google Appengine. I had faced this problem a few months
 ago
 where you guys found out that the appengine IPs were being blocked
 due
 to some rogue app.
 
 Please help, thousands of my users are getting timeout errors!
 
 --
 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
 
   --
   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

 --
 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


-- 
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


[twitter-dev] Re: Not able to connect to twitter through Google Appengine, getting Timeouts

2010-09-28 Thread nischalshetty
@John Thanks a lot for having a second look :) I'm still getting
timeouts.

I understand it's difficult for you guys to determine the rogue apps.
But, won't you be able to like put a check where calls that have the
consumer key and secret are all allowed?

-N




On Sep 28, 11:19 am, John Adams j...@twitter.com wrote:
 The way that Google App Engine handles outbound connections is that many
 applications share and reuse outbound IPs from a proxy pool. This makes rate
 limiting much harder and determination of where abuse is sourcing from
 difficult to determine.

 The request timing out issue you're experiencing means that there are
 (possibly) still some IPs out of GAE that are being blocked, or some of your
 requests are failing.

 I'll have another look through our system.

 -j

 On Mon, Sep 27, 2010 at 11:09 PM, nischalshetty
 nischalshett...@gmail.comwrote:



  @John thanks a lot. 2 things :

  1. Requests are still timing out though at a lesser rate, I guess this
  should die down in some time?

  2. Can we prevent this from happening? I know apps from GAE end up
  misusing the API and your algo blocks the IP. But, won't you be able
  to whitelist the good apps? So that the next time there is an IP
  block, the calls where a registered app sends requests, you can allow
  it to go through?

  -Nischal

  On Sep 28, 10:49 am, John Adams j...@twitter.com wrote:
   We talked with GAE and have resolved this issue.

   -j

   On Mon, Sep 27, 2010 at 7:06 PM, nischalshetty 
  nischalshett...@gmail.comwrote:

Hi John,

Just got news from appengine that it is being blocked.
   http://twitter.com/app_engine/status/25743996553

Can you please have a check? It must be the blocking issue, had one a
few months back for Appengine apps. Seems to work fine on my local dev
environment.

-N

On Sep 28, 6:49 am, John Adams j...@twitter.com wrote:
 We're not currently blocking google app engine; Could you pass along
  some
 source IPs and we'll research?

 -john

 On Mon, Sep 27, 2010 at 6:25 PM, nischalshetty 
nischalshett...@gmail.comwrote:

  My apphttp://www.justunfollow.comisnotable to connect to Twitter
  from the Google Appengine. I had faced this problem a few months
  ago
  where you guys found out that the appengine IPs were being blocked
  due
  to some rogue app.

  Please help, thousands of my users are getting timeout errors!

  --
  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

--
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

  --
  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

-- 
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


[twitter-dev] Re: Not able to connect to twitter through Google Appengine, getting Timeouts

2010-09-28 Thread nischalshetty
@John I'm still getting a lot of errors :( My users have been mailing
me about the same, please help me with this issue.

-Nischal

On Sep 28, 12:34 pm, nischalshetty nischalshett...@gmail.com wrote:
 @John Thanks a lot for having a second look :) I'm still getting
 timeouts.

 I understand it's difficult for you guys to determine the rogue apps.
 But, won't you be able to like put a check where calls that have the
 consumer key and secret are all allowed?

 -N

 On Sep 28, 11:19 am, John Adams j...@twitter.com wrote:



  The way that Google App Engine handles outbound connections is that many
  applications share and reuse outbound IPs from a proxy pool. This makes rate
  limiting much harder and determination of where abuse is sourcing from
  difficult to determine.

  The request timing out issue you're experiencing means that there are
  (possibly) still some IPs out of GAE that are being blocked, or some of your
  requests are failing.

  I'll have another look through our system.

  -j

  On Mon, Sep 27, 2010 at 11:09 PM, nischalshetty
  nischalshett...@gmail.comwrote:

   @John thanks a lot. 2 things :

   1. Requests are still timing out though at a lesser rate, I guess this
   should die down in some time?

   2. Can we prevent this from happening? I know apps from GAE end up
   misusing the API and your algo blocks the IP. But, won't you be able
   to whitelist the good apps? So that the next time there is an IP
   block, the calls where a registered app sends requests, you can allow
   it to go through?

   -Nischal

   On Sep 28, 10:49 am, John Adams j...@twitter.com wrote:
We talked with GAE and have resolved this issue.

-j

On Mon, Sep 27, 2010 at 7:06 PM, nischalshetty 
   nischalshett...@gmail.comwrote:

 Hi John,

 Just got news from appengine that it is being blocked.
http://twitter.com/app_engine/status/25743996553

 Can you please have a check? It must be the blocking issue, had one a
 few months back for Appengine apps. Seems to work fine on my local dev
 environment.

 -N

 On Sep 28, 6:49 am, John Adams j...@twitter.com wrote:
  We're not currently blocking google app engine; Could you pass along
   some
  source IPs and we'll research?

  -john

  On Mon, Sep 27, 2010 at 6:25 PM, nischalshetty 
 nischalshett...@gmail.comwrote:

   My apphttp://www.justunfollow.comisnotableto connect to Twitter
   from the Google Appengine. I had faced this problem a few months
   ago
   where you guys found out that the appengine IPs were being blocked
   due
   to some rogue app.

   Please help, thousands of my users are getting timeout errors!

   --
   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

 --
 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

   --
   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

-- 
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


Re: [twitter-dev] not authorized over and over again

2010-09-28 Thread Tom van der Woerdt
If you save those four keys, you should have everything you need to
restore the session.

If this does not work for you, make sure that you save the keys
properly. For example, you don't want to confuse oauth_token with
oauth_consumer_key.

Tom


On 9/28/10 12:39 AM, eMailaya wrote:
 Im developing a desktop application. firstly, the user needs to
 approve my app to let it access his account, enter the PIN code and
 retrieve his statuses and his followees' statuses, all is working
 fine.
 
 im closing my application and re-open it. now i already have his PIN
 code so im skipping the authorization part. i put the oauth_key and
 oauth_key_secret, the consumer_key and consumer_secret and ask for his
 statuses, this one works but when i want to retrieve his followees
 statuses i get unauthorized error. trying again causing the
 unauthorized error also for his statuses. the only way to solve this
 problem is to ask for an authorization everytime, this is annoying.
 
 also, i cant update the status for the same reason/error
 any idea what am i missing?
 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


[twitter-dev] /1/statuses/update.xml 401 error report

2010-09-28 Thread Double K
[ signature base string ]
POSThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
%2Fupdate.xmloauth_consumer_key%3DUCYA7bKjiJr2hgR2Co3Yww%26oauth_nonce
%3D1dcc43e0b00f1ca41fd4a3563100bf5d%26oauth_signature_method%3DHMAC-
SHA1%26oauth_timestamp%3D1285642033%26oauth_token%3D98837972-
gbmV9V0JQPSTzYhTadiJtEH95xlkUcKuYkOULXKXe%26oauth_version
%3D1.0%26status%3Dsetting%2520up%2520my%2520twitter

[ post message ]
 POST /1/statuses/update.xml HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel, application/
vnd.ms-powerpoint, application/msword, */*
Accept-Language: kr
User-Agent: AQAAAEAwAq7Rcq/
3w9T0xdszjzP6mz4OEMqdD6rvtZhC0oQgNbeKd3Yx7azqoeQRKSC9RbFIDIjLfDMG0VphDh01veXpcg==
X-SKT-User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; WIPI 2.0);
240*400;WebUpload 1.0;em1.0
From: 192.168.1.105
X-SKT-Auth-Info: MUFFTV8wMDExNjIwNDQ2MjAxMDA5MjgxMTQ3MDguNTcx
X-SKT-Network-Type: Wi-Fi
X-SKT-Roaming-Info: N
X-SKT-Page-Info: Y
X-SKT-Service-Type: post...@browser
Host: api.twitter.com
Connection: Keep-Alive
Authorization: OAuth oauth_nonce=1dcc43e0b00f1ca41fd4a3563100bf5d,
oauth_signature_method=HMAC-SHA1, oauth_timestamp=1285642033,
oauth_consumer_key=UCYA7bKjiJr2hgR2Co3Yww, oauth_token=98837972-
gbmV9V0JQPSTzYhTadiJtEH95xlkUcKuYkOULXKXe, oauth_signature=Cc2OLR
%2FtsOgZ2T7PRcAHE5jUq%2F8%3D, oauth_version=1.0
X-SKT-Request-Type : FirstPage=YES
Content-Type: application/x-www-form-urlencoded
Content-Length: 34

status=setting%20up%20my%20twitterHTTP/1.1 401 Unauthorized
Date: Tue, 28 Sep 2010 02:47:37 GMT
Server: hi
Status: 401 Unauthorized
WWW-Authenticate: Basic realm=Twitter API
Content-Type: application/xml; charset=utf-8
Content-Length: 135
Cache-Control: no-cache, max-age=1800
Set-Cookie: k=59.150.0.242.1285642057864869; path=/; expires=Tue, 05-
Oct-10 02:47:37 GMT; domain=.twitter.com
Set-Cookie: guest_id=128564205787076014; path=/; expires=Thu, 28 Oct
2010 02:47:37 GMT
Set-Cookie:
_twitter_sess=BAh7CDoHaWQiJWU1NjJmODZlZjRkNDgyNGZjMTZkMzFhYTQwZWMxNjIxIgpm
%250AbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAG
%250AOgpAdXNlZHsAOg9jcmVhdGVkX2F0bCsInPg8VisB--8b8c1a000b464d933df56e83fcec5ed2c33cea3b;
domain=.twitter.com; path=/
Expires: Tue, 28 Sep 2010 03:17:37 GMT
Vary: Accept-Encoding
Connection: close

?xml version=1.0 encoding=UTF-8?
hash
  request/1/statuses/update.xml/request
  errorIncorrect signature/error
/hash

===
i made oauth module.
i success to get access_token.
so i used my xauth module. but i can't do update.
please tell me something wrong.

-- 
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


[twitter-dev] Email Validation Check

2010-09-28 Thread Devin Dixon
I already know that Twitter does not allow us to retrieve the users
email when using OAuth. So on my site I am developing a feature where
they have to validate their email before logging in. The problem I am
foreesing is them not using the account associated with the Twitter
address.

So my question is, is there a way to validate that the email the users
enter is indeed the same email address associated with their TwitterID?

-- 
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


[twitter-dev] Re: Problem in posting image to Twitter using twitpic

2010-09-28 Thread sunil adhyaru
1) Header

OAuth realm=, oauth_timestamp=1285656191,
oauth_nonce=c09a1b4b650f4dcb509ae944a4324f5e0ab3b4ac,
oauth_signature_method=HMAC-SHA1,
oauth_consumer_key=pzHxyRZ7Mi8fNW25WTgCw, oauth_version=1.0,
oauth_token=190978834-DomyKA0lL7apnNQt0r52Z2cg0afuwReiPYfYYDUT,
oauth_signature=eDzy1Ed0.00QzNTDNJ1oQgReAOOZyo264908

2) Response
Null.

On Sep 27, 6:02 pm, Tom van der Woerdt i...@tvdw.eu wrote:
 Hi,

 Code looks fine. Can you show a dump of a request? (Request headers +
 Request body + Response body)

 Tom

 On Mon, 27 Sep 2010 05:38:55 -0700 (PDT), sunil adhyaru

 sunil.adhy...@gmail.com wrote:
  Hi I am using following code to post image to Twitter using twitpic.
  But I am getting server response code 401 for the same.

      ASIFormDataRequest *req = [[ASIFormDataRequest alloc] initWithURL:
  [NSURL URLWithString:@http://api.twitpic.com/2/upload.json;]];

      [req addRequestHeader:@X-Auth-Service-Provider value:@https://
  api.twitter.com/1/account/verify_credentials.json];
      [req addRequestHeader:@X-Verify-Credentials-Authorization
                      value:[oAuth oAuthHeaderForMethod:@GET
                                                 andUrl:@https://
  api.twitter.com/1/account/verify_credentials.json
                                              andParams:nil]];

      [req setData:UIImageJPEGRepresentation(imageView.image, 0.8)
  forKey:@media];

      // Define this somewhere or replace with your own key inline right
  here.
      [req setPostValue:TWITPIC_API_KEY1 forKey:@key];

      // TwitPic API doc says that message is mandatory, but looks like
      // it's actually optional in practice as of July 2010. You may or
  may not send it, both work.
      // [req setPostValue:@hmm what forKey:@message];

      [req startSynchronous];

      NSLog(@Got HTTP status code from TwitPic: %d, [req
  responseStatusCode]);
      NSDictionary *twitpicResponse = [[req responseString] JSONValue];
      textView.text = [NSString stringWithFormat:@Posted image URL:
  %@, [twitpicResponse valueForKey:@url]];
      [req release];

  Please help me to identify where  I am going wrong.

-- 
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


[twitter-dev] Callback URL for browser application type

2010-09-28 Thread Ashi
Hi,

We are working on an applications using RIA clients like Flex and
Silverlight and we have a workflow process in our application. When
our workflow is approved/rejected we are notifying the user via
twitter. If the user is redirected to twitter page for authentication,
then the application will loose its state (the current form and the
settings for the current instance of the application). Once the
twitter is redirected after authentication to our application we are
not able to maintain the state.

Can anyone please sugget an approach for our scenario?

Thanks 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


[twitter-dev] Screen_name vs ID for data storage

2010-09-28 Thread Markanday Singh
Is it possible that is some user will change his twitter handle, the
older twitter handle might be alloted to some other user???

Let me explain you my problem now
I am creating an app for twitter user, very similar to twitPic. (but
not for image posting :P)
Idea is i want to store some data corresponding to every twitter user
who might join my app.

In my database i have a table e.g
UserData
  ---key
  ---screen_name
  ---ActualData

Now the problem is a user can change his twitter handle on his next
visit, i might not be able to pull his data at all.
But if i will go with ID, I have to query his screen name again from
twitter , i feel that its very messy.

So I thought that, Its ok if user will change his screen_name, He will
loose his data, I dont care!
but i am concerned that what if that screen_name will be alloted to
some other user? is that possible?

-- 
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


[twitter-dev] Twitter API - Sample PHP Script

2010-09-28 Thread Velvet
Hello,

This is the first time I work on a API installation, Therefore be
patient with me.

I'm looking into installing a script on my website were it'll read an
RSS file and periodically will send 3 or 4 records to twitter as a
tweet.

I already have the oauth keys.

Is there a simple PHP code that will show me how to send a sample
tweet to twitter.  I think I could take it from there.

Any Help will be greatly appreciated.
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


[twitter-dev] 403'ed - Help, please

2010-09-28 Thread bombonia
Hi all,

I've developed an app to tweet from my t-shirt everytime i hug and
this past Sunday, after 200+ tweets while demoing it at Maker Faire
NYC, it stopped updating hugs and I started
getting the 403 in my processing script window added to the seconds
the hug lasted.

I am using the twitter4j library.

my account for this project is @bomboniahugs

I've been invited to the International Symposium of Wearables
Computers in Seoul next Oct 10th:
Please Help! ASAP

Thank you !

-- 
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


Re: [twitter-dev] Re: Problem in posting image to Twitter using twitpic

2010-09-28 Thread Tom van der Woerdt
Hi,

You should check the algorithm that generates your oauth_signature. It
doesn't look like that's a good one.

Tom



On 9/28/10 8:55 AM, sunil adhyaru wrote:
 1) Header
 
 OAuth realm=, oauth_timestamp=1285656191,
 oauth_nonce=c09a1b4b650f4dcb509ae944a4324f5e0ab3b4ac,
 oauth_signature_method=HMAC-SHA1,
 oauth_consumer_key=pzHxyRZ7Mi8fNW25WTgCw, oauth_version=1.0,
 oauth_token=190978834-DomyKA0lL7apnNQt0r52Z2cg0afuwReiPYfYYDUT,
 oauth_signature=eDzy1Ed0.00QzNTDNJ1oQgReAOOZyo264908
 
 2) Response
 Null.
 
 On Sep 27, 6:02 pm, Tom van der Woerdt i...@tvdw.eu wrote:
 Hi,

 Code looks fine. Can you show a dump of a request? (Request headers +
 Request body + Response body)

 Tom

 On Mon, 27 Sep 2010 05:38:55 -0700 (PDT), sunil adhyaru

 sunil.adhy...@gmail.com wrote:
 Hi I am using following code to post image to Twitter using twitpic.
 But I am getting server response code 401 for the same.

 ASIFormDataRequest *req = [[ASIFormDataRequest alloc] initWithURL:
 [NSURL URLWithString:@http://api.twitpic.com/2/upload.json;]];

 [req addRequestHeader:@X-Auth-Service-Provider value:@https://
 api.twitter.com/1/account/verify_credentials.json];
 [req addRequestHeader:@X-Verify-Credentials-Authorization
 value:[oAuth oAuthHeaderForMethod:@GET
andUrl:@https://
 api.twitter.com/1/account/verify_credentials.json
 andParams:nil]];

 [req setData:UIImageJPEGRepresentation(imageView.image, 0.8)
 forKey:@media];

 // Define this somewhere or replace with your own key inline right
 here.
 [req setPostValue:TWITPIC_API_KEY1 forKey:@key];

 // TwitPic API doc says that message is mandatory, but looks like
 // it's actually optional in practice as of July 2010. You may or
 may not send it, both work.
 // [req setPostValue:@hmm what forKey:@message];

 [req startSynchronous];

 NSLog(@Got HTTP status code from TwitPic: %d, [req
 responseStatusCode]);
 NSDictionary *twitpicResponse = [[req responseString] JSONValue];
 textView.text = [NSString stringWithFormat:@Posted image URL:
 %@, [twitpicResponse valueForKey:@url]];
 [req release];

 Please help me to identify where  I am going wrong.
 

-- 
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


Re: [twitter-dev] Callback URL for browser application type

2010-09-28 Thread Tom van der Woerdt
You can store them in a session/cookie, or simply ask them once they
return. A good way to identify the session/cookie would be to use the
temporary token which Twitter gives you on request_token.

Tom


On 9/28/10 9:30 AM, Ashi wrote:
 Hi,
 
 We are working on an applications using RIA clients like Flex and
 Silverlight and we have a workflow process in our application. When
 our workflow is approved/rejected we are notifying the user via
 twitter. If the user is redirected to twitter page for authentication,
 then the application will loose its state (the current form and the
 settings for the current instance of the application). Once the
 twitter is redirected after authentication to our application we are
 not able to maintain the state.
 
 Can anyone please sugget an approach for our scenario?
 
 Thanks 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


Re: [twitter-dev] Screen_name vs ID for data storage

2010-09-28 Thread Tom van der Woerdt
Yes, it is possible that screen_name gets used by a different user over
time.

Tom


On 9/28/10 10:20 AM, Markanday Singh wrote:
 Is it possible that is some user will change his twitter handle, the
 older twitter handle might be alloted to some other user???
 
 Let me explain you my problem now
 I am creating an app for twitter user, very similar to twitPic. (but
 not for image posting :P)
 Idea is i want to store some data corresponding to every twitter user
 who might join my app.
 
 In my database i have a table e.g
 UserData
   ---key
   ---screen_name
   ---ActualData
 
 Now the problem is a user can change his twitter handle on his next
 visit, i might not be able to pull his data at all.
 But if i will go with ID, I have to query his screen name again from
 twitter , i feel that its very messy.
 
 So I thought that, Its ok if user will change his screen_name, He will
 loose his data, I dont care!
 but i am concerned that what if that screen_name will be alloted to
 some other user? is that possible?
 

-- 
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


Re: [twitter-dev] 403'ed - Help, please

2010-09-28 Thread Tom van der Woerdt
If the 403 is Administratively Forbidden, then you have been blacklisted.

Quoting Taylor :
 The best way to inquire about specific blacklisting reasons is by sending an 
 email to a...@twitter.com from the email address associated with a Twitter 
 account. Include your IP address(es) and as much information about what API 
 operations you've been making and at what frequency.
 
 Reasons for blacklisting can include: opening too many simultaneous 
 connections to the streaming API, too many failed login attempts from an IP 
 address, repeated following/unfollowing actions, ridiculously unthrottled 
 write actions, etc. 
 
 This is also good reading: http://support.twitter.com/entries/76915
 And of course: http://dev.twitter.com/api_terms

Tom


On 9/28/10 10:22 AM, bombonia wrote:
 Hi all,
 
 I've developed an app to tweet from my t-shirt everytime i hug and
 this past Sunday, after 200+ tweets while demoing it at Maker Faire
 NYC, it stopped updating hugs and I started
 getting the 403 in my processing script window added to the seconds
 the hug lasted.
 
 I am using the twitter4j library.
 
 my account for this project is @bomboniahugs
 
 I've been invited to the International Symposium of Wearables
 Computers in Seoul next Oct 10th:
 Please Help! ASAP
 
 Thank you !
 

-- 
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


[twitter-dev] How to make authentication

2010-09-28 Thread MC Coupons
Hi,

I have developed a Perl script that automatically posts messages from
my own website  to twitter.
The Perl script is running from Amazon EC server. The Perl script was
used Net::Twitter module to post messages. It worked properly till
14th September 2010. But now it is not working. And it suggest to use
OAuth method instead of basic authentication. How I can convert my
script to Oauth method?

please help me.

regards,
MC

-- 
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


Re: [twitter-dev] Twitter API - Sample PHP Script

2010-09-28 Thread Tom van der Woerdt
You could start with @Abraham's TwitterOAuth library:
http://github.com/abraham/twitteroauth

You don't need the whole code, just the library itself, and these 2 lines :
$connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET,
OAUTH_TOKEN, OAUTH_TOKEN_SECRET);
$connection-post('statuses/update', array('status' = 'Test tweet'));

Tom


On 9/28/10 2:42 PM, Velvet wrote:
 Hello,
 
 This is the first time I work on a API installation, Therefore be
 patient with me.
 
 I'm looking into installing a script on my website were it'll read an
 RSS file and periodically will send 3 or 4 records to twitter as a
 tweet.
 
 I already have the oauth keys.
 
 Is there a simple PHP code that will show me how to send a sample
 tweet to twitter.  I think I could take it from there.
 
 Any Help will be greatly appreciated.
 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


Re: [twitter-dev] How to make authentication

2010-09-28 Thread Tom van der Woerdt
Hi,

More information about the change to OAuth :
http://dev.twitter.com/announcements

More information on how to get started :
http://dev.twitter.com/pages/auth_overview

Depending on your programming skills, you may like to use a library (or
not). More info :
http://dev.twitter.com/pages/libraries

Tom


On 9/28/10 10:23 AM, MC Coupons wrote:
 Hi,
 
 I have developed a Perl script that automatically posts messages from
 my own website  to twitter.
 The Perl script is running from Amazon EC server. The Perl script was
 used Net::Twitter module to post messages. It worked properly till
 14th September 2010. But now it is not working. And it suggest to use
 OAuth method instead of basic authentication. How I can convert my
 script to Oauth method?
 
 please help me.
 
 regards,
 MC
 

-- 
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


[twitter-dev] Need Help to developing Twitter Client

2010-09-28 Thread Peter Jerald
Hi All,

  I am peter, I am using QT Framework. I Planning to
develop a Twitter client in QT. Is there any documentation is
available ? or Please provide any hint  to goahead with this
development process.

I am waiting for your valuable reply.

Regards,

A. Peter Jerald

-- 
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


Re: [twitter-dev] Need Help to developing Twitter Client

2010-09-28 Thread Tom van der Woerdt
I have no idea what QT is (QuickTime?), but depending on the programming
language and your skills you may like these libraries :
http://dev.twitter.com/pages/libraries

If there is no library available, you will have to do the OAuth
implementation yourself.

The API itself is documented at http://dev.twitter.com/doc

Tom


On 9/28/10 7:25 AM, Peter Jerald wrote:
 Hi All,
 
   I am peter, I am using QT Framework. I Planning to
 develop a Twitter client in QT. Is there any documentation is
 available ? or Please provide any hint  to goahead with this
 development process.
 
 I am waiting for your valuable reply.
 
 Regards,
 
 A. Peter Jerald
 

-- 
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


Re: [twitter-dev] Email Validation Check

2010-09-28 Thread Tom van der Woerdt
No, there is not. Why would it be important?

Tom


On 9/28/10 7:18 AM, Devin Dixon wrote:
 I already know that Twitter does not allow us to retrieve the users
 email when using OAuth. So on my site I am developing a feature where
 they have to validate their email before logging in. The problem I am
 foreesing is them not using the account associated with the Twitter
 address.
 
 So my question is, is there a way to validate that the email the users
 enter is indeed the same email address associated with their TwitterID?
 

-- 
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


[twitter-dev] twitter oauth command line

2010-09-28 Thread ashy
Hi All,

I am using the following example in my django app to store users
outhtoken into the db.
http://github.com/henriklied/django-twitter-oauth

But when Iam trying to use the oauth methods through commands
http://docs.djangoproject.com/en/dev/howto/custom-management-commands/
it keeps giving me error.

AttributeError: 'module' object has no attribute 'OAuthConsumer'

Is there any other way to use oauth through command line?

thanks for any help
ashy

-- 
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


[twitter-dev] 'Incorrect signature' on status update with OAuth when verify credentials works

2010-09-28 Thread Angelus
Hi,
since a few days ago, my status update calls have stopped working.
They actually worked sometimes which made it even more strange.
Recently I have found a thread with some1 with the same problem I had,
and he tested the status update without accents or special characters,
and it worked.

So I went on and tested, and it worked too.

Why do I recieve the 'Incorrect signature' error every time I try to
update a status with accents or special characters?
What should I do?

I'm using PHP with TwitterOAuth library and it worked fine for
everything until now :/

Any help is appretiated

-- 
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


Re: [twitter-dev] Email Validation Check

2010-09-28 Thread Devin Dixon
To prevent a user form registerting to a site with an email that is not
theres.

On Tue, Sep 28, 2010 at 10:05 AM, Tom van der Woerdt i...@tvdw.eu wrote:

 No, there is not. Why would it be important?

 Tom


 On 9/28/10 7:18 AM, Devin Dixon wrote:
  I already know that Twitter does not allow us to retrieve the users
  email when using OAuth. So on my site I am developing a feature where
  they have to validate their email before logging in. The problem I am
  foreesing is them not using the account associated with the Twitter
  address.
 
  So my question is, is there a way to validate that the email the users
  enter is indeed the same email address associated with their TwitterID?
 

 --
 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


-- 
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


Re: [twitter-dev] Need Help to developing Twitter Client

2010-09-28 Thread CWorster
Hi,

  I am peter, I am using QT Framework.
Do you mean Trolltech's Qt (lowercase t)?

If yes, for the OAuth dance:
http://qt-apps.org/content/show.php/QOAuth?content=107420

-- 
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


[twitter-dev] Comparing Friendship

2010-09-28 Thread Rick Stuivenberg
Hello,

What are the oauth functions to check if somebody is following me or
not? I am currently making a script to check up if a user is following
me, and if so, following them back, and if not, unfollow the user.

Can somebody give me a point in the direction what oauth functions I
need?

btw; I am using twitteroauth.

Rick

-- 
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


[twitter-dev] Re: 'Incorrect signature' on status update with OAuth when verify credentials works

2010-09-28 Thread Angelus
After some try and fail I finally discovered I needed a utf8_encode in
the status otherwise twitter responded with the incorrect signature.

Hope this helps if anyone is having the same problem.

On Sep 28, 11:14 am, Angelus luiz.felipe...@gmail.com wrote:
 Hi,
 since a few days ago, my status update calls have stopped working.
 They actually worked sometimes which made it even more strange.
 Recently I have found a thread with some1 with the same problem I had,
 and he tested the status update without accents or special characters,
 and it worked.

 So I went on and tested, and it worked too.

 Why do I recieve the 'Incorrect signature' error every time I try to
 update a status with accents or special characters?
 What should I do?

 I'm using PHP with TwitterOAuth library and it worked fine for
 everything until now :/

 Any help is appretiated

-- 
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


Re: [twitter-dev] Twitter API - Sample PHP Script

2010-09-28 Thread Scott Wilcox
Hi,

Take a look at http://github.com/dordotky/oauth-examples

I've got a few sample scripts there.

Scott.

On 28 Sep 2010, at 13:42, Velvet wrote:

 Hello,
 
 This is the first time I work on a API installation, Therefore be
 patient with me.
 
 I'm looking into installing a script on my website were it'll read an
 RSS file and periodically will send 3 or 4 records to twitter as a
 tweet.
 
 I already have the oauth keys.
 
 Is there a simple PHP code that will show me how to send a sample
 tweet to twitter.  I think I could take it from there.
 
 Any Help will be greatly appreciated.
 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


[twitter-dev] using twitter4j and Oauth. Getting 403 (for an art related app) after the 200+ tweets

2010-09-28 Thread bombonia
Dear developers,

I have developed an app for a wearable that tweets the meaning of hugs
to my @bomboniahugs account.

After I updated my processing code with the new API tokens and secrets
I was able to demo it at Maker Faire with no problem for about 200+
hugs
in a couple of days.

After that I got the 403 added to my processing window and no updates
to twitter.

I have to demo again this app at a Wearable Symposium in a couple of
weeks.

Please Help!

Using Processing and Twitter4j.

Thank you so much in advance!
Celina

-- 
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


[twitter-dev] Re: 403'ed - Help, please

2010-09-28 Thread bombonia
Thank you Tom,

That is what I was afraid of, but why?
what am I doing that should be blacklisted?
it is a simple and fun app that i demo 2-3 times a year.

oh well.
i have to fix that.
maybe i should do it in a new twitter account?

On Sep 28, 9:59 am, Tom van der Woerdt i...@tvdw.eu wrote:
 If the 403 is Administratively Forbidden, then you have been blacklisted.

 Quoting Taylor :

  The best way to inquire about specific blacklisting reasons is by sending 
  an email to a...@twitter.com from the email address associated with a 
  Twitter account. Include your IP address(es) and as much information about 
  what API operations you've been making and at what frequency.

  Reasons for blacklisting can include: opening too many simultaneous 
  connections to the streaming API, too many failed login attempts from an IP 
  address, repeated following/unfollowing actions, ridiculously unthrottled 
  write actions, etc.

  This is also good reading:http://support.twitter.com/entries/76915
  And of course:http://dev.twitter.com/api_terms

 Tom

 On 9/28/10 10:22 AM, bombonia wrote:



  Hi all,

  I've developed an app to tweet from my t-shirt everytime i hug and
  this past Sunday, after 200+ tweets while demoing it at Maker Faire
  NYC, it stopped updating hugs and I started
  getting the 403 in my processing script window added to the seconds
  the hug lasted.

  I am using the twitter4j library.

  my account for this project is @bomboniahugs

  I've been invited to the International Symposium of Wearables
  Computers in Seoul next Oct 10th:
  Please Help! ASAP

  Thank you !

-- 
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


[twitter-dev] Re: Not able to connect to twitter through Google Appengine, getting Timeouts

2010-09-28 Thread nischalshetty
It's been a long time, I'm completely helpless in this. Please look
into it soon and help me out, I have thousands of users who visit the
site everyday, been receiving a lot of mails and tweets regarding the
errors.

-Nischal

On Sep 28, 1:41 pm, nischalshetty nischalshett...@gmail.com wrote:
 @John I'm still getting a lot of errors :( My users have been mailing
 me about the same, please help me with this issue.

 -Nischal

 On Sep 28, 12:34 pm, nischalshetty nischalshett...@gmail.com wrote:



  @John Thanks a lot for having a second look :) I'm still getting
  timeouts.

  I understand it's difficult for you guys to determine the rogue apps.
  But, won't you be able to like put a check where calls that have the
  consumer key and secret are all allowed?

  -N

  On Sep 28, 11:19 am, John Adams j...@twitter.com wrote:

   The way that Google App Engine handles outbound connections is that many
   applications share and reuse outbound IPs from a proxy pool. This makes 
   rate
   limiting much harder and determination of where abuse is sourcing from
   difficult to determine.

   The request timing out issue you're experiencing means that there are
   (possibly) still some IPs out of GAE that are being blocked, or some of 
   your
   requests are failing.

   I'll have another look through our system.

   -j

   On Mon, Sep 27, 2010 at 11:09 PM, nischalshetty
   nischalshett...@gmail.comwrote:

@John thanks a lot. 2 things :

1. Requests are still timing out though at a lesser rate, I guess this
should die down in some time?

2. Can we prevent this from happening? I know apps from GAE end up
misusing the API and your algo blocks the IP. But, won't you be able
to whitelist the good apps? So that the next time there is an IP
block, the calls where a registered app sends requests, you can allow
it to go through?

-Nischal

On Sep 28, 10:49 am, John Adams j...@twitter.com wrote:
 We talked with GAE and have resolved this issue.

 -j

 On Mon, Sep 27, 2010 at 7:06 PM, nischalshetty 
nischalshett...@gmail.comwrote:

  Hi John,

  Just got news from appengine that it is being blocked.
 http://twitter.com/app_engine/status/25743996553

  Can you please have a check? It must be the blocking issue, had one 
  a
  few months back for Appengine apps. Seems to work fine on my local 
  dev
  environment.

  -N

  On Sep 28, 6:49 am, John Adams j...@twitter.com wrote:
   We're not currently blocking google app engine; Could you pass 
   along
some
   source IPs and we'll research?

   -john

   On Mon, Sep 27, 2010 at 6:25 PM, nischalshetty 
  nischalshett...@gmail.comwrote:

My apphttp://www.justunfollow.comisnotabletoconnect to Twitter
from the Google Appengine. I had faced this problem a few months
ago
where you guys found out that the appengine IPs were being 
blocked
due
to some rogue app.

Please help, thousands of my users are getting timeout errors!

--
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

  --
  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

--
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

-- 
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


Re: [twitter-dev] Need Help to developing Twitter Client

2010-09-28 Thread Peter Jerald
Hi,

   Sorry i did mistake, Thanks for your valuable
reply. Yes of course Qt (C++ Framework) , Please provide more
information to develop the process.

Regards,

A. Peter Jerald

On 9/28/10, CWorster cwors...@schlimmer.com wrote:
 Hi,

  I am peter, I am using QT Framework.
 Do you mean Trolltech's Qt (lowercase t)?

 If yes, for the OAuth dance:
 http://qt-apps.org/content/show.php/QOAuth?content=107420

 --
 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



-- 
Thanks and Regards

A.Peter Jerald,
Cognizant Technology Solutions

-- 
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


[twitter-dev] Re: Comparing Friendship

2010-09-28 Thread Ken D.
Hey Rick,

It's the second time in a week that someone brings up the autofollow/
unfollow question (see also: 
http://groups.google.com/group/twitter-development-talk/msg/b7b1dfbf6500ab83)
and I would love to understand the follow economy once and for all.

First of all, you say that if someone is following you, you will
follow back, but if they are not following, you will unfollow. If you
are not yet following them, do you mean that you would block them?

What is the use case for auto-following, and why would it be so
important to unfollow users who do not follow back? Is there a cost?
Are those users' tweets less interesting if they aren't following you?
I mean, we can't all be followed by Justin Bieber! Personally, I'm
over that...

If one succeeds in building up an account that follows and is followed
back by thousands of users - as seems to be the goal - does one ever
actually visit the account? It can't possibly make any sense to access
such an account via twitter.com. Are there tools that can render such
an account usable or meaningful? Finally, why the pretense of
following if one will never actually read the users' tweets? Does
Twitter have in mind to adapt the system to this reality?

This is not a rant, I sincerely want to know!

On Sep 28, 4:34 pm, Rick Stuivenberg rickstuivenb...@gmail.com
wrote:
 Hello,

 What are the oauth functions to check if somebody is following me or
 not? I am currently making a script to check up if a user is following
 me, and if so, following them back, and if not, unfollow the user.

 Can somebody give me a point in the direction what oauth functions I
 need?

 btw; I am using twitteroauth.

 Rick

-- 
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


[twitter-dev] Re: not authorized over and over again

2010-09-28 Thread eMailaya
im doing the following:

Twitterh.Key := consumer key - hard coded
Twitterh.Secret := consumer secret - hard coded
Twitterh.OAuth_token :=
SettingsFile.ReadString('TWITTER','TOKEN',''); //saved from when i got
the authorization from the user
Twitterh.OAuth_token_secret :=
SettingsFile.ReadString('TWITTER','TOKENSECRET',''); //saved from when
i got the authorization from the user

after getting the authorization from the user i can do both getting
the statuses of the user and the followees but NOT updating the
status.
after restart of the application, at first try i do succeed to
receive the user's statuses but not his followees' , on second try
(without restart), i can do nothing and all for the same reason: not
authorized

not sure i understood the other reply of re-hashing, hashing of what
exactly? the only place i do some processing is when i ask for
authorization from the user. i want it so once i have it, to not need
to re-ask it over and over again

what am i missing?
thanks

On Sep 28, 10:52 am, Tom van der Woerdt i...@tvdw.eu wrote:
 If you save those four keys, you should have everything you need to
 restore the session.

 If this does not work for you, make sure that you save the keys
 properly. For example, you don't want to confuse oauth_token with
 oauth_consumer_key.

 Tom

 On 9/28/10 12:39 AM, eMailaya wrote:

  Im developing a desktop application. firstly, the user needs to
  approve my app to let it access his account, enter the PIN code and
  retrieve his statuses and his followees' statuses, all is working
  fine.

  im closing my application and re-open it. now i already have his PIN
  code so im skipping the authorization part. i put the oauth_key and
  oauth_key_secret, the consumer_key and consumer_secret and ask for his
  statuses, this one works but when i want to retrieve his followees
  statuses i get unauthorized error. trying again causing the
  unauthorized error also for his statuses. the only way to solve this
  problem is to ask for an authorization everytime, this is annoying.

  also, i cant update the status for the same reason/error
  any idea what am i missing?
  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


Re: [twitter-dev] Re: Comparing Friendship

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

Quoting Ken D. k...@cimas.ch:


Hey Rick,

It's the second time in a week that someone brings up the autofollow/
unfollow question (see also:   
http://groups.google.com/group/twitter-development-talk/msg/b7b1dfbf6500ab83)

and I would love to understand the follow economy once and for all.

First of all, you say that if someone is following you, you will
follow back, but if they are not following, you will unfollow. If you
are not yet following them, do you mean that you would block them?

What is the use case for auto-following, and why would it be so
important to unfollow users who do not follow back? Is there a cost?
Are those users' tweets less interesting if they aren't following you?
I mean, we can't all be followed by Justin Bieber! Personally, I'm
over that...

If one succeeds in building up an account that follows and is followed
back by thousands of users - as seems to be the goal - does one ever
actually visit the account? It can't possibly make any sense to access
such an account via twitter.com. Are there tools that can render such
an account usable or meaningful? Finally, why the pretense of
following if one will never actually read the users' tweets? Does
Twitter have in mind to adapt the system to this reality?

This is not a rant, I sincerely want to know!


There are technologies (primarily natural language / text processing  
and social network analysis at the moment) that would help a person or  
business manage an account of this size. However, most such  
technologies are embedded in social media listening platforms,  
business intelligence tools, web analytics tools or social CRM  
tools. In addition most such tools are broader than just Twitter -  
they connect to Facebook, YouTube, Flickr and other social sites,  
integrate with email and often connect with search optimization /  
marketing tools as well.


If you want to experiment with these technologies on Twitter, I've put  
together a virtual appliance containing open source research tools  
called the Social Media Analytics Research Toolkit. There's not much  
end-user application-level software there at the moment, but the  
platform is complete. It's heavy on Perl and R because that's what I  
know best, but there's a good bit of Python and Java code there as well.


You have to give your email address to Novell SUSE Studio to download  
it (for free) at the moment, but at some point in the future I'll be  
selling a version, probably on SpiderOak.


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

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


--
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


[twitter-dev] Re: Comparing Friendship

2010-09-28 Thread Rick Stuivenberg
On 28 sep, 16:44, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 In PHP twitteroauth, this would probably be something like:
 $content = $connection-get('friendships/show',
 array('source_screen_name'='episod',
 'target_screen_name'='twitterapi'));

Yes. That would be something like that.

On 28 sep, 18:03, Ken D. k...@cimas.ch wrote:
 Hey Rick,

 It's the second time in a week that someone brings up the autofollow/
 unfollow question (see 
 also:http://groups.google.com/group/twitter-development-talk/msg/b7b1dfbf6...)
 and I would love to understand the follow economy once and for all.

I was not aware of this fact. I am sorry if I heated up the discussion
agian.

 First of all, you say that if someone is following you, you will
 follow back, but if they are not following, you will unfollow. If you
 are not yet following them, do you mean that you would block them?

Yes, but I do not block them. I will follow them if they follow me, if
they unfollow me, I'll unfollow them.

 If one succeeds in building up an account that follows and is followed
 back by thousands of users - as seems to be the goal - does one ever
 actually visit the account? It can't possibly make any sense to access
 such an account via twitter.com. Are there tools that can render such
 an account usable or meaningful? Finally, why the pretense of
 following if one will never actually read the users' tweets? Does
 Twitter have in mind to adapt the system to this reality?

 This is not a rant, I sincerely want to know!

Non taken buddy. Its going about a dutch account on twitter that is
really important for most people and they liked to be followed back.
Olso, sometimes someone unfollows and then its not neccessary to
follow them.

-- 
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


[twitter-dev] Re: using twitter4j and Oauth. Getting 403 (for an art related app) after the 200+ tweets

2010-09-28 Thread bombonia
Thank you for getting back.

I don't get any error message, just the 403 added to the number of
seconds that my
processing code tracks.

the 200+ was in a 2 days time frame. Twitter's limit is way about
that.
the tweets are very similar, because they are all about hugs,
but i had conveniently added a time stamp so that they would all be
different.
you can see them in my @bomboniahugs account.

any idea on how should i proceed?
do twitter dev team respond to a 403 [unfair] issue?
thanks again!

i need the project working for a wearable symposium in Seoul !!!

Best,

On Sep 28, 12:03 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 It sounds like you reached the limit of tweets you could post in an hour.
 Twitter itself, outside of the API, has limits on how many tweets you can do
 per various time periods of the day, in addition to a ceiling on the amount
 of tweets you can perform in a day. Is there any chance you were posting
 more tweets than that to the account in a short window of time?  Are all of
 these tweets unique? Do you have more information on the full error you
 received from the system (beyond just 403 error code)?

 Taylor



 On Tue, Sep 28, 2010 at 9:00 AM, bombonia bombo...@gmail.com wrote:
  Dear developers,

  I have developed an app for a wearable that tweets the meaning of hugs
  to my @bomboniahugs account.

  After I updated my processing code with the new API tokens and secrets
  I was able to demo it at Maker Faire with no problem for about 200+
  hugs
  in a couple of days.

  After that I got the 403 added to my processing window and no updates
  to twitter.

  I have to demo again this app at a Wearable Symposium in a couple of
  weeks.

  Please Help!

  Using Processing and Twitter4j.

  Thank you so much in advance!
  Celina

  --
  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

-- 
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


Re: [twitter-dev] Re: using twitter4j and Oauth. Getting 403 (for an art related app) after the 200+ tweets

2010-09-28 Thread Taylor Singletary
I recommend following up with a...@twitter.com providing them as much
information as you can -- including all IP addresses you are issuing
requests from.

There may be more of an error message in the 403 you are receiving, but your
libraries/framework/programming language may be making it difficult for you
to ascertain. Without that information, it will be difficult to know exactly
what might be going wrong.

Taylor

On Tue, Sep 28, 2010 at 11:57 AM, bombonia bombo...@gmail.com wrote:

 Thank you for getting back.

 I don't get any error message, just the 403 added to the number of
 seconds that my
 processing code tracks.

 the 200+ was in a 2 days time frame. Twitter's limit is way about
 that.
 the tweets are very similar, because they are all about hugs,
 but i had conveniently added a time stamp so that they would all be
 different.
 you can see them in my @bomboniahugs account.

 any idea on how should i proceed?
 do twitter dev team respond to a 403 [unfair] issue?
 thanks again!

 i need the project working for a wearable symposium in Seoul !!!

 Best,

 On Sep 28, 12:03 pm, Taylor Singletary taylorsinglet...@twitter.com
 wrote:
  It sounds like you reached the limit of tweets you could post in an hour.
  Twitter itself, outside of the API, has limits on how many tweets you can
 do
  per various time periods of the day, in addition to a ceiling on the
 amount
  of tweets you can perform in a day. Is there any chance you were posting
  more tweets than that to the account in a short window of time?  Are all
 of
  these tweets unique? Do you have more information on the full error you
  received from the system (beyond just 403 error code)?
 
  Taylor
 
 
 
  On Tue, Sep 28, 2010 at 9:00 AM, bombonia bombo...@gmail.com wrote:
   Dear developers,
 
   I have developed an app for a wearable that tweets the meaning of hugs
   to my @bomboniahugs account.
 
   After I updated my processing code with the new API tokens and secrets
   I was able to demo it at Maker Faire with no problem for about 200+
   hugs
   in a couple of days.
 
   After that I got the 403 added to my processing window and no updates
   to twitter.
 
   I have to demo again this app at a Wearable Symposium in a couple of
   weeks.
 
   Please Help!
 
   Using Processing and Twitter4j.
 
   Thank you so much in advance!
   Celina
 
   --
   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

 --
 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


-- 
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


[twitter-dev] User Streams goes Production, Site Streams adds Home Timelines

2010-09-28 Thread John Kalucki
User Streams
=

After an uneventful beta test period, the User Streams feature of the
Twitter Streaming API is now in regular production. As with all
production APIs, material changes will be pre-announced and
non-backward-compatible changes will be avoided. Developers may
release products against the production endpoint at
http://userstream.twitter.com/2/user.json.

While User Streams is most useful for Desktop Clients, experimentation
in other use cases is encouraged. Note that service integrations, such
as websites and other server-based systems, must not open more than a
very small number of User Streams. Instead, services must use Site
Streams. Follow the product selection guide,
http://dev.twitter.com/pages/streaming_api#products to select the
correct product and avoid access interruptions.

Access to User Streams on betastream.twitter.com is now unsupported,
and the beta test endpoints will be disabled in a few days.


Home Timelines
=

Site Streams and User Streams now support the with parameter to
control the delivery of home timelines. This parameter currently
accepts two values: users or followings.

When set to users, only messages targeted directly at a user will be
delivered:

* Statuses created by the user
* @mentions and Direct Messages sent to the user
* Retweets and favorites of the user's statuses
* New followings by the user
* New followers of the user
* User's profile updates

When set to followings, the stream will also include:

* Statuses and retweets created by any of the user's followings
* @mentions from any of the user's followings, subject to the setting
of the replies parameter

Site Streams defaults to users while User Streams defaults to
followings. These differing default values may be confusing, but
were chosen to retain backwards compatibility. We recommend that you
explicitly set this parameter to avoid confusion and future
compatibility problems as we refine this API.

John Kalucki http://twitter.com/jkalucki
Mark McBride http://twitter.com/mccv
Cara Meverden http://twitter.com/caramev

-- 
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


[twitter-dev] New Tweet button, counturl, and searches

2010-09-28 Thread Adam
I am attempting to implement the Tweet button on a blog network and
have run into an annoying problem.  Like pretty much every other blog,
we're using a URL shortener (bit.ly Pro, with the domain sbn.to) for
our tweets.  The tweet button correctly increments for every time it
is pressed, but when you click on the count to see the tweets, there
are always no results, regardless of how many times the article was
tweeted.

As a random example, this article:
http://www.sbnation.com/ncaa-football/2010/9/26/1712470/arizona-california-final-pac-10-crazy
The url is http://sbn.to/dB76xp and the counturl is
http://www.sbnation.com/ncaa-football/2010/9/26/1712470/arizona-california-final-pac-10-crazy.
We're using the escape() method from the Ruby CGI module to do our
encoding.  5 tweets. but when you click on the number 5, Twitter
attempts to search for the counturl and comes up empty.  If you
instead search for the url, you get matches.  The same thing happens
when logged into Twitter using an account that has newtwitter, an
account that has oldtwitter, and not logged in at all.

I notice that we're not the only ones having this problem...the Tweet
button on TechCrunch does the same thing, as does the counturl example
on Twitter's docs for the Tweet button.  Have I misunderstood what the
counturl parameter is supposed to do?  Am I using the wrong values for
url and counturl?  Is there a workaround to get the right search
results when clicking on the number?

Thanks!
adam

-- 
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


[twitter-dev] Re: User Streams goes Production, Site Streams adds Home Timelines

2010-09-28 Thread Dharmesh
This is awesome.

Anyone have a simple PHP example yet of working with User Streams?
(Just want to use it for myself for now, to get familiar with it).

Thanks.

Dharmesh Shah
http://twitter.com/dharmesh

On Sep 28, 3:04 pm, John Kalucki j...@twitter.com wrote:
 User Streams
 =

 After an uneventful beta test period, the User Streams feature of the
 Twitter Streaming API is now in regular production. As with all
 production APIs, material changes will be pre-announced and
 non-backward-compatible changes will be avoided. Developers may
 release products against the production endpoint 
 athttp://userstream.twitter.com/2/user.json.

 While User Streams is most useful for Desktop Clients, experimentation
 in other use cases is encouraged. Note that service integrations, such
 as websites and other server-based systems, must not open more than a
 very small number of User Streams. Instead, services must use Site
 Streams. Follow the product selection 
 guide,http://dev.twitter.com/pages/streaming_api#productsto select the
 correct product and avoid access interruptions.

 Access to User Streams on betastream.twitter.com is now unsupported,
 and the beta test endpoints will be disabled in a few days.

 Home Timelines
 =

 Site Streams and User Streams now support the with parameter to
 control the delivery of home timelines. This parameter currently
 accepts two values: users or followings.

 When set to users, only messages targeted directly at a user will be
 delivered:

 * Statuses created by the user
 * @mentions and Direct Messages sent to the user
 * Retweets and favorites of the user's statuses
 * New followings by the user
 * New followers of the user
 * User's profile updates

 When set to followings, the stream will also include:

 * Statuses and retweets created by any of the user's followings
 * @mentions from any of the user's followings, subject to the setting
 of the replies parameter

 Site Streams defaults to users while User Streams defaults to
 followings. These differing default values may be confusing, but
 were chosen to retain backwards compatibility. We recommend that you
 explicitly set this parameter to avoid confusion and future
 compatibility problems as we refine this API.

 John Kaluckihttp://twitter.com/jkalucki
 Mark McBridehttp://twitter.com/mccv
 Cara Meverdenhttp://twitter.com/caramev

-- 
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


[twitter-dev] Please remove from blacklist

2010-09-28 Thread Kiam
Hi,

We had two IP's that were whitelisted, but they recently became
blacklisted.  I see:

# curl -v -u myusername:mypassword 'http://stream.twitter.com/1/
statuses/sample.xml'
* About to connect() to stream.twitter.com port 80 (#0)
*   Trying 168.143.162.55... Connection refused
* couldn't connect to host
* Closing connection #0

We've investigated our code and found a bug that was opening too many
connections to Twitter.  We've fixed the problem now.  Could the
friendly Twitter folks remove us from the blacklist? :)  Our IP's are
184.72.57.86 and 184.72.51.50.

Thanks in advance!

Kiam Choo
Parakweet.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


[twitter-dev] Re: How to tell an item is a re-tweet?

2010-09-28 Thread tm0054
UPDATE:

I found this page that would indicate that the retweet field is
currently disabled and suggests another way to see if something has
been retweeted:

http://www.devcomments.com/retweeted-variable-in-home-timeline-at288280.htm

On Sep 20, 2:01 pm, Matei mad.doroba...@gmail.com wrote:
 Hi all,

 I'm trying to implement similar functionality to the home timeline on
 twitter where re-tweets appear as such and you have the option of
 undoing it. The trouble is I cannot tell if a status is a re-tweet or
 not. Statuses on the home timeline appear to include a re-tweeted
 parameter but it is always false regardless of the fact I've re-
 tweeted that item. Can anybody offer some insight on how to do this?

 Cheers,
 Matei

-- 
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


[twitter-dev] Re: How to tell an item is a re-tweet?

2010-09-28 Thread tm0054
I'm wondering the exact same thing. One would thing the 'retweet'
field would indicate this but it is false all the time for me too
regardless if a post has been retweeted or not. It would be very
confusing to the end user if they still have the ability to retweet a
post that they've already retweeted.

On Sep 20, 2:01 pm, Matei mad.doroba...@gmail.com wrote:
 Hi all,

 I'm trying to implement similar functionality to the home timeline on
 twitter where re-tweets appear as such and you have the option of
 undoing it. The trouble is I cannot tell if a status is a re-tweet or
 not. Statuses on the home timeline appear to include a re-tweeted
 parameter but it is always false regardless of the fact I've re-
 tweeted that item. Can anybody offer some insight on how to do this?

 Cheers,
 Matei

-- 
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


[twitter-dev] Re: Please remove from blacklist

2010-09-28 Thread Rick Stuivenberg
Are you getting any http reason returned?

It is olso a good thing to check the Pre-launch Checklist in order to
be sure that you got everything right before asking to be unbanned:
http://dev.twitter.com/pages/streaming_api

On 28 sep, 22:13, Kiam kiamc...@gmail.com wrote:
 Hi,

 We had two IP's that were whitelisted, but they recently became
 blacklisted.  I see:

 # curl -v -u myusername:mypassword 'http://stream.twitter.com/1/
 statuses/sample.xml'
 * About to connect() to stream.twitter.com port 80 (#0)
 *   Trying 168.143.162.55... Connection refused
 * couldn't connect to host
 * Closing connection #0

 We've investigated our code and found a bug that was opening too many
 connections to Twitter.  We've fixed the problem now.  Could the
 friendly Twitter folks remove us from the blacklist? :)  Our IP's are
 184.72.57.86 and 184.72.51.50.

 Thanks in advance!

 Kiam Choo
 Parakweet.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


Re: [twitter-dev] Please remove from blacklist

2010-09-28 Thread Taylor Singletary
Hi Kiam,

To contest being banned, please email a...@twitter.com with the IP addresses
in question, why you think you've been banned, and what you've done to
rectify the situation. This way the team best equipped to resolve your ban
will receive the message.

Thanks,
Taylor

On Tue, Sep 28, 2010 at 1:13 PM, Kiam kiamc...@gmail.com wrote:

 Hi,

 We had two IP's that were whitelisted, but they recently became
 blacklisted.  I see:

 # curl -v -u myusername:mypassword 'http://stream.twitter.com/1/
 statuses/sample.xml'
 * About to connect() to stream.twitter.com port 80 (#0)
 *   Trying 168.143.162.55... Connection refused
 * couldn't connect to host
 * Closing connection #0

 We've investigated our code and found a bug that was opening too many
 connections to Twitter.  We've fixed the problem now.  Could the
 friendly Twitter folks remove us from the blacklist? :)  Our IP's are
 184.72.57.86 and 184.72.51.50.

 Thanks in advance!

 Kiam Choo
 Parakweet.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


-- 
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


[twitter-dev] Re: User Streams goes Production, Site Streams adds Home Timelines

2010-09-28 Thread John Kalucki
Correction: The endpoint is
https://userstream.twitter.com/2/user.json. User Streams is HTTPS
only.


On Tue, Sep 28, 2010 at 12:04 PM, John Kalucki j...@twitter.com wrote:
 User Streams
 =

 After an uneventful beta test period, the User Streams feature of the
 Twitter Streaming API is now in regular production. As with all
 production APIs, material changes will be pre-announced and
 non-backward-compatible changes will be avoided. Developers may
 release products against the production endpoint at
 http://userstream.twitter.com/2/user.json.

 While User Streams is most useful for Desktop Clients, experimentation
 in other use cases is encouraged. Note that service integrations, such
 as websites and other server-based systems, must not open more than a
 very small number of User Streams. Instead, services must use Site
 Streams. Follow the product selection guide,
 http://dev.twitter.com/pages/streaming_api#products to select the
 correct product and avoid access interruptions.

 Access to User Streams on betastream.twitter.com is now unsupported,
 and the beta test endpoints will be disabled in a few days.


 Home Timelines
 =

 Site Streams and User Streams now support the with parameter to
 control the delivery of home timelines. This parameter currently
 accepts two values: users or followings.

 When set to users, only messages targeted directly at a user will be
 delivered:

 * Statuses created by the user
 * @mentions and Direct Messages sent to the user
 * Retweets and favorites of the user's statuses
 * New followings by the user
 * New followers of the user
 * User's profile updates

 When set to followings, the stream will also include:

 * Statuses and retweets created by any of the user's followings
 * @mentions from any of the user's followings, subject to the setting
 of the replies parameter

 Site Streams defaults to users while User Streams defaults to
 followings. These differing default values may be confusing, but
 were chosen to retain backwards compatibility. We recommend that you
 explicitly set this parameter to avoid confusion and future
 compatibility problems as we refine this API.

 John Kalucki http://twitter.com/jkalucki
 Mark McBride http://twitter.com/mccv
 Cara Meverden http://twitter.com/caramev


-- 
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


[twitter-dev] Streaming API test: Adding new_id field to statuses at 17:00 UTC Sept 29

2010-09-28 Thread John Kalucki
Tomorrow, Wednesday September 29, at 10:00 AM PDT / 17:00 UTC, we will
briefly introduce a field called new_id to statuses delivered over the
Streaming API. If this 10 minute test is successful, we will enable
the new_id field continuously on Thursday September 30th at about the
same time. Note that timelines returned by the REST and Search APIs
will not contain this field. This new_id field will allow applications
to preview the new status id generation scheme before the primary key
transition scheduled for Tuesday October 12th.

For more information on our status id transition:

http://groups.google.com/group/twitter-api-announce/browse_thread/thread/daf6298d0fdcbc87
http://groups.google.com/group/twitter-api-announce/browse_thread/thread/7982e3b037eeef95

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

-- 
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


[twitter-dev] Re: Invalid / expired Token

2010-09-28 Thread Rajendra Singh
Help anyone?

On Sep 6, 7:16 pm, Rajendra Singh rs.can...@gmail.com wrote:
 Hi Tom,

 Yes I did fill in those values correctly.

 On Sep 6, 5:44 pm, Tom van der Woerdt i...@tvdw.eu wrote:

  On 9/6/10 10:57 PM, Rajendra Singh wrote:

   Hello,

   I took the twoleggedtwitter.php example file and added the following
   two lines:

      $request = new OAuthRequester(TWITTER_UPDATE_STATUS_API, 'POST',
   status=Test);
      $result = $request-doRequest();

   However, when I execute it, I get:
   Exception:  Request failed with code401:  {request:/statuses/
   update.json,error:Invalid/expiredToken}

   Can someone help me?  What am I doing wrong?

  Did you fill in the consumertokenand secret? And the usertokenand
  secret?

  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


Re: [twitter-dev] Re: Invalid / expired Token

2010-09-28 Thread BJ Weschke
Are you certain that you're using the access token and secret received 
and not the request token and secret?


Rajendra Singh wrote:

Help anyone?

On Sep 6, 7:16 pm, Rajendra Singh rs.can...@gmail.com wrote:
  

Hi Tom,

Yes I did fill in those values correctly.

On Sep 6, 5:44 pm, Tom van der Woerdt i...@tvdw.eu wrote:



On 9/6/10 10:57 PM, Rajendra Singh wrote:
  

Hello,

I took the twoleggedtwitter.php example file and added the following

two lines:

   $request = new OAuthRequester(TWITTER_UPDATE_STATUS_API, 'POST',

status=Test);
   $result = $request-doRequest();

However, when I execute it, I get:

Exception:  Request failed with code401:  {request:/statuses/
update.json,error:Invalid/expiredToken}

Can someone help me?  What am I doing wrong?


Did you fill in the consumertokenand secret? And the usertokenand
secret?
  
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


[twitter-dev] Re: Invalid / expired Token

2010-09-28 Thread Rajendra Singh
Hi BJ,

Here is the complete code:

include_once oauth-php/library/OAuthStore.php;
include_once oauth-php/library/OAuthRequester.php;

// register at http://twitter.com/oauth_clients and fill these two
define(TWITTER_CONSUMER_KEY, ); // I removed this for this post
define(TWITTER_CONSUMER_SECRET, ); // I removed this for this post

define(TWITTER_OAUTH_HOST,http://api.twitter.com;);
define(TWITTER_REQUEST_TOKEN_URL, TWITTER_OAUTH_HOST . /oauth/
request_token);
define(TWITTER_AUTHORIZE_URL, TWITTER_OAUTH_HOST . /oauth/
authorize);
define(TWITTER_ACCESS_TOKEN_URL, TWITTER_OAUTH_HOST . /oauth/
access_token);
define(TWITTER_PUBLIC_TIMELINE_API, TWITTER_OAUTH_HOST . /statuses/
public_timeline.json);
define(TWITTER_UPDATE_STATUS_API, TWITTER_OAUTH_HOST . /1/statuses/
update.json);

define('OAUTH_TMP_DIR', function_exists('sys_get_temp_dir') ?
sys_get_temp_dir() : realpath($_ENV[TMP]));

// Twitter test
$options = array('consumer_key' = TWITTER_CONSUMER_KEY,
'consumer_secret' = TWITTER_CONSUMER_SECRET);
OAuthStore::instance(2Leg, $options);

try
   {
   // Obtain a request object for the request we want to make
   $request = new OAuthRequester(TWITTER_REQUEST_TOKEN_URL, POST);
   $result = $request-doRequest(0);
   parse_str($result['body'], $params);

   // now make the request.
   $request = new OAuthRequester(TWITTER_PUBLIC_TIMELINE_API, 'GET',
$params);
   $result = $request-doRequest();

   $request = new OAuthRequester(TWITTER_UPDATE_STATUS_API, 'POST',
array('status' = 'Test'));
   $result = $request-doRequest();
   }
catch(OAuthException2 $e)
   {
   echo Exception:   . $e-getMessage() . \n;
   }
?

On Sep 28, 6:16 pm, BJ Weschke bwesc...@btwtech.com wrote:
  Are you certain that you're using the access token and secret received
 and not the request token and secret?

 Rajendra Singh wrote:
  Help anyone?

  On Sep 6, 7:16 pm, Rajendra Singh rs.can...@gmail.com wrote:

  Hi Tom,

  Yes I did fill in those values correctly.

  On Sep 6, 5:44 pm, Tom van der Woerdt i...@tvdw.eu wrote:

  On 9/6/10 10:57 PM, Rajendra Singh wrote:

  Hello,

  I took the twoleggedtwitter.php example file and added the following
  two lines:

     $request = new OAuthRequester(TWITTER_UPDATE_STATUS_API, 'POST',
  status=Test);
     $result = $request-doRequest();

  However, when I execute it, I get:
  Exception:  Request failed with code401:  {request:/statuses/
  update.json,error:Invalid/expiredToken}

  Can someone help me?  What am I doing wrong?

  Did you fill in the consumertokenand secret? And the usertokenand
  secret?

  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


[twitter-dev] Getting 500:Something is broken

2010-09-28 Thread nischalshetty
For many API calls (retrieving friend Ids, follower Ids) I'm getting
500:Something is broken.  Please post to the group so the Twitter
team can investigate. as error message.

Is the twitter API having problems?

-- 
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


[twitter-dev] Re: What happens after twitter user denied access to the application?

2010-09-28 Thread K
Exact info I needed. Thanks for clarification!
K

On Sep 7, 7:02 am, jaronbarends jaronbare...@gmail.com wrote:
 When a user denies your app access, it says something like you denied
 YourAppName access... The text YourAppName is a link, and when the
 users clicks that, he gets redirected to your callback url, with an
 additional parameter denied=someLongVariable.

 So you can catch this scenario easily by looking for the denied
 getvar, but it will only work if the user decides to click the link
 back to your app.

 On Sep 7, 6:49 am, K kuts...@gmail.com wrote:



  Hi,
  When twitter user denies access to my application, it just gets
  redirected to the denied page and callback URL never gets called. I
  would like to handle the situation  better when access is denied..I
  saw bunch of similar posts in 2009, just wondering if this feature
  ever got implemented, and if so, if I can find a relevant
  documentation on how to implement this...

  Thank you for your help!
  K- Hide quoted text -

 - Show quoted text -

-- 
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


[twitter-dev] Re: Behavior when user denies access from application

2010-09-28 Thread K
This was the exact info I needed. Thanks!

On Sep 27, 9:47 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Hi Kutsumi,

 You are correct in assessing the current behavior -- we'll return to your
 callback URL if they hit deny. In that case, we'll also NOT be sending you
 an oauth_verifier and other information you'd need on the callback URL to
 properly execute the exchange request token for access token negotiation
 step of OAuth.

 If your callback function is executed and does not contain the necessary
 paramaters to further consume an access token, you can make a reasonable
 assumption that the user denied the access without your application needing
 to make API calls to verify_credentials (you also wouldn't have any
 credentials to verify in this case.

 Taylor



 On Mon, Sep 27, 2010 at 9:36 PM, K kuts...@gmail.com wrote:
  Hi
  sorry for bringing up the issue that has been discussed in the past...
  I found this issue tracking from other posts about the same issue.

 http://groups.google.com/group/twitter-development-talk/browse_thread...

  So it says here the issue is solved, but just wanted to get
  clarification on how the issue is solved, and how I should implement
  my program.

  So I believe, now after user click deny, they will go to the page
  which has link and if user clicks on it he/she goes back to the
  callback_url. Is that correct?

  Is there any parameter that is attached when callback url is called
  that will tell me if user has clicked on deny?
  If not, do I need to call verify credentials everytime callback url is
  accessed just to find out if user has allowed or denied?

  Thanks for your help!
  Kate

  --
  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- Hide quoted text -

 - Show quoted text -

-- 
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


[twitter-dev] Re: @anywhere login contains unsecure content -- please help

2010-09-28 Thread ManuelZ
Done. Ticket:
http://code.google.com/p/twitter-api/issues/detail?id=1903

-- 
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


Re: [twitter-dev] Re: Problem in posting image to Twitter using twitpic

2010-09-28 Thread Matt Harris
Hey Sunil.
Just to add to this, the signature string contains a period '.' which
isn't part of the Base64 alphabet. Double check you are base64
encoding the hmac_sha1 signed basestring. In the Authorization header
that would then be URL encoded, leaving a string that looks something
like this:
f5WC1FKhPAlEeEftlday12Cq%2Bn8%3D

@themattharris

On Tue, Sep 28, 2010 at 6:54 AM, Tom van der Woerdt i...@tvdw.eu wrote:
 Hi,

 You should check the algorithm that generates your oauth_signature. It
 doesn't look like that's a good one.

 Tom



 On 9/28/10 8:55 AM, sunil adhyaru wrote:
 1) Header

 OAuth realm=, oauth_timestamp=1285656191,
 oauth_nonce=c09a1b4b650f4dcb509ae944a4324f5e0ab3b4ac,
 oauth_signature_method=HMAC-SHA1,
 oauth_consumer_key=pzHxyRZ7Mi8fNW25WTgCw, oauth_version=1.0,
 oauth_token=190978834-DomyKA0lL7apnNQt0r52Z2cg0afuwReiPYfYYDUT,
 oauth_signature=eDzy1Ed0.00QzNTDNJ1oQgReAOOZyo264908

 2) Response
     Null.

 On Sep 27, 6:02 pm, Tom van der Woerdt i...@tvdw.eu wrote:
 Hi,

 Code looks fine. Can you show a dump of a request? (Request headers +
 Request body + Response body)

 Tom

 On Mon, 27 Sep 2010 05:38:55 -0700 (PDT), sunil adhyaru

 sunil.adhy...@gmail.com wrote:
 Hi I am using following code to post image to Twitter using twitpic.
 But I am getting server response code 401 for the same.

     ASIFormDataRequest *req = [[ASIFormDataRequest alloc] initWithURL:
 [NSURL URLWithString:@http://api.twitpic.com/2/upload.json;]];

     [req addRequestHeader:@X-Auth-Service-Provider value:@https://
 api.twitter.com/1/account/verify_credentials.json];
     [req addRequestHeader:@X-Verify-Credentials-Authorization
                     value:[oAuth oAuthHeaderForMethod:@GET
                                                andUrl:@https://
 api.twitter.com/1/account/verify_credentials.json
                                             andParams:nil]];

     [req setData:UIImageJPEGRepresentation(imageView.image, 0.8)
 forKey:@media];

     // Define this somewhere or replace with your own key inline right
 here.
     [req setPostValue:TWITPIC_API_KEY1 forKey:@key];

     // TwitPic API doc says that message is mandatory, but looks like
     // it's actually optional in practice as of July 2010. You may or
 may not send it, both work.
     // [req setPostValue:@hmm what forKey:@message];

     [req startSynchronous];

     NSLog(@Got HTTP status code from TwitPic: %d, [req
 responseStatusCode]);
     NSDictionary *twitpicResponse = [[req responseString] JSONValue];
     textView.text = [NSString stringWithFormat:@Posted image URL:
 %@, [twitpicResponse valueForKey:@url]];
     [req release];

 Please help me to identify where  I am going wrong.


 --
 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




-- 


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


[twitter-dev] @Anywhere Typo (Minor)

2010-09-28 Thread Mike
Under Users login  signup  Custom Connect with Twitter Button it
reads:

If the default look and feel of the Connect with Twitter button
don't meet your needs, @Anywhere makes it easy to build a custom
button.

I believe it should be buttons don't or button doesn't. :)

-- 
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


Re: [twitter-dev] Re: Not able to connect to twitter through Google Appengine, getting Timeouts

2010-09-28 Thread Matt Harris
Are you still experiencing problems? We've checked our systems and have checked 
GAE isn't blocked.

Best,
@themattharris

On Sep 28, 2010, at 9:23, nischalshetty nischalshett...@gmail.com wrote:

 It's been a long time, I'm completely helpless in this. Please look
 into it soon and help me out, I have thousands of users who visit the
 site everyday, been receiving a lot of mails and tweets regarding the
 errors.
 
 -Nischal
 
 On Sep 28, 1:41 pm, nischalshetty nischalshett...@gmail.com wrote:
 @John I'm still getting a lot of errors :( My users have been mailing
 me about the same, please help me with this issue.
 
 -Nischal
 
 On Sep 28, 12:34 pm, nischalshetty nischalshett...@gmail.com wrote:
 
 
 
 @John Thanks a lot for having a second look :) I'm still getting
 timeouts.
 
 I understand it's difficult for you guys to determine the rogue apps.
 But, won't you be able to like put a check where calls that have the
 consumer key and secret are all allowed?
 
 -N
 
 On Sep 28, 11:19 am, John Adams j...@twitter.com wrote:
 
 The way that Google App Engine handles outbound connections is that many
 applications share and reuse outbound IPs from a proxy pool. This makes 
 rate
 limiting much harder and determination of where abuse is sourcing from
 difficult to determine.
 
 The request timing out issue you're experiencing means that there are
 (possibly) still some IPs out of GAE that are being blocked, or some of 
 your
 requests are failing.
 
 I'll have another look through our system.
 
 -j
 
 On Mon, Sep 27, 2010 at 11:09 PM, nischalshetty
 nischalshett...@gmail.comwrote:
 
 @John thanks a lot. 2 things :
 
 1. Requests are still timing out though at a lesser rate, I guess this
 should die down in some time?
 
 2. Can we prevent this from happening? I know apps from GAE end up
 misusing the API and your algo blocks the IP. But, won't you be able
 to whitelist the good apps? So that the next time there is an IP
 block, the calls where a registered app sends requests, you can allow
 it to go through?
 
 -Nischal
 
 On Sep 28, 10:49 am, John Adams j...@twitter.com wrote:
 We talked with GAE and have resolved this issue.
 
 -j
 
 On Mon, Sep 27, 2010 at 7:06 PM, nischalshetty 
 nischalshett...@gmail.comwrote:
 
 Hi John,
 
 Just got news from appengine that it is being blocked.
 http://twitter.com/app_engine/status/25743996553
 
 Can you please have a check? It must be the blocking issue, had one a
 few months back for Appengine apps. Seems to work fine on my local dev
 environment.
 
 -N
 
 On Sep 28, 6:49 am, John Adams j...@twitter.com wrote:
 We're not currently blocking google app engine; Could you pass along
 some
 source IPs and we'll research?
 
 -john
 
 On Mon, Sep 27, 2010 at 6:25 PM, nischalshetty 
 nischalshett...@gmail.comwrote:
 
 My apphttp://www.justunfollow.comisnotabletoconnect to Twitter
 from the Google Appengine. I had faced this problem a few months
 ago
 where you guys found out that the appengine IPs were being blocked
 due
 to some rogue app.
 
 Please help, thousands of my users are getting timeout errors!
 
 --
 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
 
 --
 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
 
 --
 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
 
 -- 
 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

-- 
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


[twitter-dev] Re: Not able to connect to twitter through Google Appengine, getting Timeouts

2010-09-28 Thread nischalshetty
@Matt thanks a lot. Not seeing the timeouts any more. 500s are
everywhere but I understand from your status blog it's a known thing.

Thanks for all the help. Over the Appengine group, we've been
discussing about IP blocking for cloud offerings like GAE. Would you
be able to help with this?

Similar thing happened 2 months ago when Appengine apps were all
blocked. It lasted for a long time back then as well. Would you guys
not be able to allow apps that send their consumer secret and token
with the requests?

One rogue app on the GAE causes all other good apps to stop working.
GAE is one of the best things that has happened to small time devs
like me but it has its own limitations and shared IPs are one of them.
But I'm pretty sure you guys at Twitter would be able to find a
workaround to help us in this problem.

-Nischal

On Sep 29, 5:59 am, Matt Harris mhar...@twitter.com wrote:
 Are you still experiencing problems? We've checked our systems and have 
 checked GAE isn't blocked.

 Best,
 @themattharris

 On Sep 28, 2010, at 9:23, nischalshetty nischalshett...@gmail.com wrote:



  It's been a long time, I'm completely helpless in this. Please look
  into it soon and help me out, I have thousands of users who visit the
  site everyday, been receiving a lot of mails and tweets regarding the
  errors.

  -Nischal

  On Sep 28, 1:41 pm, nischalshetty nischalshett...@gmail.com wrote:
  @John I'm still getting a lot of errors :( My users have been mailing
  me about the same, please help me with this issue.

  -Nischal

  On Sep 28, 12:34 pm, nischalshetty nischalshett...@gmail.com wrote:

  @John Thanks a lot for having a second look :) I'm still getting
  timeouts.

  I understand it's difficult for you guys to determine the rogue apps.
  But, won't you be able to like put a check where calls that have the
  consumer key and secret are all allowed?

  -N

  On Sep 28, 11:19 am, John Adams j...@twitter.com wrote:

  The way that Google App Engine handles outbound connections is that many
  applications share and reuse outbound IPs from a proxy pool. This makes 
  rate
  limiting much harder and determination of where abuse is sourcing from
  difficult to determine.

  The request timing out issue you're experiencing means that there are
  (possibly) still some IPs out of GAE that are being blocked, or some of 
  your
  requests are failing.

  I'll have another look through our system.

  -j

  On Mon, Sep 27, 2010 at 11:09 PM, nischalshetty
  nischalshett...@gmail.comwrote:

  @John thanks a lot. 2 things :

  1. Requests are still timing out though at a lesser rate, I guess this
  should die down in some time?

  2. Can we prevent this from happening? I know apps from GAE end up
  misusing the API and your algo blocks the IP. But, won't you be able
  to whitelist the good apps? So that the next time there is an IP
  block, the calls where a registered app sends requests, you can allow
  it to go through?

  -Nischal

  On Sep 28, 10:49 am, John Adams j...@twitter.com wrote:
  We talked with GAE and have resolved this issue.

  -j

  On Mon, Sep 27, 2010 at 7:06 PM, nischalshetty 
  nischalshett...@gmail.comwrote:

  Hi John,

  Just got news from appengine that it is being blocked.
 http://twitter.com/app_engine/status/25743996553

  Can you please have a check? It must be the blocking issue, had one a
  few months back for Appengine apps. Seems to work fine on my local dev
  environment.

  -N

  On Sep 28, 6:49 am, John Adams j...@twitter.com wrote:
  We're not currently blocking google app engine; Could you pass along
  some
  source IPs and we'll research?

  -john

  On Mon, Sep 27, 2010 at 6:25 PM, nischalshetty 
  nischalshett...@gmail.comwrote:

  My apphttp://www.justunfollow.comisnotabletoconnectto Twitter
  from the Google Appengine. I had faced this problem a few months
  ago
  where you guys found out that the appengine IPs were being blocked
  due
  to some rogue app.

  Please help, thousands of my users are getting timeout errors!

  --
  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

  --
  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

  --
  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

  --
  Twitter developer 

Re: [twitter-dev] Re: @anywhere login contains unsecure content -- please help

2010-09-28 Thread Matt Harris
Thanks

On Tue, Sep 28, 2010 at 5:31 PM, ManuelZ manuel.zahar...@hotmail.com wrote:
 Done. Ticket:
 http://code.google.com/p/twitter-api/issues/detail?id=1903

 --
 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




-- 


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


[twitter-dev] Re: URL encoding of status= parameter in #newtwitter

2010-09-28 Thread Pat Diven II
Hey Jonathan, how's the Mission? Figures that I'd find a thread
started by you for the same issue we're also having. :)

So yes, we're also getting bit by the same issue.  One thing I noticed
on #newtwitter is that the encoding is mangled during a redirect
(from /home?status= to /?status=):

Redirect FAILS on #newtwitter:
http://twitter.com/home?status=Trying%20out%20URL%20encoding%20%26%20stuff%20on%20%23newtwitter%20vs%20%23vintagetwitter

Direct URL WORKS on #newtwitter:
http://twitter.com/?status=Trying%20out%20URL%20encoding%20%26%20stuff%20on%20%23newtwitter%20vs%20%23vintagetwitter

Unfortunately we're all not supposed to use the latter method. It
works on #vintagetwitter but it doesn't preserve the status message
after the user logs in to either version anyway.

I just submitted the issue because it looks like @jhstrauss didn't get
around to it yet:
http://code.google.com/p/twitter-api/issues/detail?id=1904

Cheers,
Pat - @micropat

On Sep 24, 8:51 pm, Matt Harris mhar...@twitter.com wrote:
 Hey Jonathan,

 Absolutely! Just wanted to put the Tweet Button out there as an option.

 So we can track this can you file an issue on:
    http://code.google.com/p/twitter-api/issues/list

 I'll keep that updated with progress.

 Thanks,
 @themattharris

 On Sep 24, 2010, at 18:54, Jonathan Strauss jonat...@awe.sm wrote:



  Hey Matt,

  I know the tweet button very well, and I agree that it's better for
  most use-cases (we're actually driving our customers towards using /
  share instead of /home?status= for their custom share to Twitter
  interfaces). However, all legacy 'Share on Twitter' or 'Tweet This'
  implementations (that don't go through OAuth) use /home?status= and if
  the things that worked before stop working as #newtwitter rolls out to
  the full userbase, it's going to break a lot of stuff for people who
  haven't yet had a chance to switch to the tweet button or a custom
  integration with /share.

  Thanks,
  -jonathan

  On Sep 24, 5:47 pm, Matt Harris thematthar...@twitter.com wrote:
  Hi Jonathan,

  I'll look into this but have you consider using the Tweet Button
  instead. Using the Tweet Button gives a better experience and means
  users don't need to leave your website to tweet your message.

  You can get the Tweet Button on our Goodies page:
     http://twitter.com/goodies/tweetbutton

  or create your own using the developer resources:
     http://dev.twitter.com/pages/tweet_button

  Best,
  @themattharris

  On Fri, Sep 24, 2010 at 12:36 PM, Jonathan Strauss jonat...@awe.sm wrote:
  The following link works fine for users with access to #vintagetwitter
  but breaks on the first URL encoded  (%26) or # (%23) for users with
  #newtwitter:
 http://twitter.com/home?status=Trying+out+URL+encoding+%26+stuff+on+%...

  Is this intentional?

  Thanks,
  -jonathan

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

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

  --
  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

  --

  Matt Harris
  Developer Advocate, Twitterhttp://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

-- 
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


[twitter-dev] Re: URL encoding of status= parameter in #newtwitter

2010-09-28 Thread Jonathan Strauss
Heh, thanks Pat! That was on my To Do list for tonight, I swear :-)

On Sep 28, 9:04 pm, Pat Diven II p...@addtoany.com wrote:
 Hey Jonathan, how's the Mission? Figures that I'd find a thread
 started by you for the same issue we're also having. :)

 So yes, we're also getting bit by the same issue.  One thing I noticed
 on #newtwitter is that the encoding is mangled during a redirect
 (from /home?status= to /?status=):

 Redirect FAILS on 
 #newtwitter:http://twitter.com/home?status=Trying%20out%20URL%20encoding%20%26%20...

 Direct URL WORKS on 
 #newtwitter:http://twitter.com/?status=Trying%20out%20URL%20encoding%20%26%20stuf...

 Unfortunately we're all not supposed to use the latter method. It
 works on #vintagetwitter but it doesn't preserve the status message
 after the user logs in to either version anyway.

 I just submitted the issue because it looks like @jhstrauss didn't get
 around to it yet:http://code.google.com/p/twitter-api/issues/detail?id=1904

 Cheers,
 Pat - @micropat

 On Sep 24, 8:51 pm, Matt Harris mhar...@twitter.com wrote:



  Hey Jonathan,

  Absolutely! Just wanted to put the Tweet Button out there as an option.

  So we can track this can you file an issue on:
     http://code.google.com/p/twitter-api/issues/list

  I'll keep that updated with progress.

  Thanks,
  @themattharris

  On Sep 24, 2010, at 18:54, Jonathan Strauss jonat...@awe.sm wrote:

   Hey Matt,

   I know the tweet button very well, and I agree that it's better for
   most use-cases (we're actually driving our customers towards using /
   share instead of /home?status= for their custom share to Twitter
   interfaces). However, all legacy 'Share on Twitter' or 'Tweet This'
   implementations (that don't go through OAuth) use /home?status= and if
   the things that worked before stop working as #newtwitter rolls out to
   the full userbase, it's going to break a lot of stuff for people who
   haven't yet had a chance to switch to the tweet button or a custom
   integration with /share.

   Thanks,
   -jonathan

   On Sep 24, 5:47 pm, Matt Harris thematthar...@twitter.com wrote:
   Hi Jonathan,

   I'll look into this but have you consider using the Tweet Button
   instead. Using the Tweet Button gives a better experience and means
   users don't need to leave your website to tweet your message.

   You can get the Tweet Button on our Goodies page:
      http://twitter.com/goodies/tweetbutton

   or create your own using the developer resources:
      http://dev.twitter.com/pages/tweet_button

   Best,
   @themattharris

   On Fri, Sep 24, 2010 at 12:36 PM, Jonathan Strauss jonat...@awe.sm 
   wrote:
   The following link works fine for users with access to #vintagetwitter
   but breaks on the first URL encoded  (%26) or # (%23) for users with
   #newtwitter:
  http://twitter.com/home?status=Trying+out+URL+encoding+%26+stuff+on+%...

   Is this intentional?

   Thanks,
   -jonathan

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

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

   --
   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

   --

   Matt Harris
   Developer Advocate, Twitterhttp://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

-- 
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


[twitter-dev] Re: User Streams goes Production, Site Streams adds Home Timelines

2010-09-28 Thread Michael Ledford

On Sep 28, 3:04 pm, John Kalucki j...@twitter.com wrote:

 Site Streams and User Streams now support the with parameter to
 control the delivery of home timelines. This parameter currently
 accepts two values: users or followings.

Is it possible to get both users and followings at the same time? It
seems as if you are saying if you don't provide the with parameter you
will get the 'users' option with the user stream by default. If not
are you allowed to open two user streams one for users and one for
followings? It doesn't seem like the API documentation is updated yet
and is the reason for this clarification.

Sincerely,
Michael

-- 
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


Re: [twitter-dev] Re: User Streams goes Production, Site Streams adds Home Timelines

2010-09-28 Thread John Kalucki
Followings is additive to the Users. You can observe the behavior of
these settings on userstream.twitter.com.

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


On Tue, Sep 28, 2010 at 9:10 PM, Michael Ledford mledf...@gmail.com wrote:

 On Sep 28, 3:04 pm, John Kalucki j...@twitter.com wrote:

 Site Streams and User Streams now support the with parameter to
 control the delivery of home timelines. This parameter currently
 accepts two values: users or followings.

 Is it possible to get both users and followings at the same time? It
 seems as if you are saying if you don't provide the with parameter you
 will get the 'users' option with the user stream by default. If not
 are you allowed to open two user streams one for users and one for
 followings? It doesn't seem like the API documentation is updated yet
 and is the reason for this clarification.

 Sincerely,
 Michael

 --
 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


-- 
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


[twitter-dev] @Anywhere OAuth Question

2010-09-28 Thread Mike
Hello,

I've created a full feature app using twitteroauth PHP library found
on GitHub, and know most calls like the back of my hand.. haha.
I was looking into using the @Anywhere javascript library, and watched
the slideshow from a workshop presented by @themattharris, so I seen
how to pass the OAuth Bridge Code to a script and convert the OAuth
2.0 token to a OAuth 1.0 token.

Now, in my PHP application, I have it storing the users token and
token secret so they don't have to login each time they use my app.
(i.e., they close out of their browser, come back to my app, it takes
their user id upon other things in my system and matches them up to
the token and token secret for them in my database, and logs them
in.)

My question: Is there any way to login a user with @Anywhere without
checking to see if they are logged into Twitter or having them click
the Connect with Twitter button every time they would go to my app?

Thanks in advance,
@mikehelmick

-- 
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


[twitter-dev] Registered users on twitter date-wise

2010-09-28 Thread rajiv74
Hi,

   Can I get the list of registered users on twitter date-wise
using twitter api?

Thanks,

Rajiv

-- 
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