[twitter-dev] Re: xauth error -1012

2010-05-16 Thread neptune2000
Same here. I get this with the XAuthTwitterEngineDemo:

Twitter request failed: BCC3F69C-36CE-4C86-B50B-8E8B094E2DCD with
error:Error Domain=HTTP Code=403 Operation could not be completed.
(HTTP error 403.)

Has any of you guys figured out how to fix this?


On Apr 26, 7:00 pm, luckyman luckyman...@gmail.com wrote:
 Hi,
 I have same problem.
 Received approval from Twitter.
 But the same thing.
 Do you have solutions?

 On Apr 21, 5:13 am, sae twitp...@gmail.com wrote:



  Hi,
  I just set up my application forxauthand started testing.
  It keeps failing with error message:

  Error Domain=NSURLErrorDomain Code=-1012UserInfo=0x268d70 Operation
 couldnotbecompleted. (NSURLErrorDomain error -1012.)

  What is this error?  Is anything wrong with my app setting, or my
  parameter  maynotbe correct?
  Any clue will be really appreciated...

  Here is the copy of signature-base-string and authorization header,
  which all look ok to me:

  POSThttps%3A%2F%2Fapi.twitter.com%2Foauth
  %2Faccess_tokenoauth_consumer_key%3Dxx%26oauth_nonce
  %3D684B1D0C-4276-47BD-9A43-C31FDDD0DD8A%26oauth_signature_method
  %3DHMAC-SHA1%26oauth_timestamp%3D1271708678%26oauth_version
  %3D1.0%26x_auth_mode%3Dclient_auth%26x_auth_password%3Dxx
  %26x_auth_username%3Dy

  OAuth realm=\\,
  oauth_consumer_key=\\,
  oauth_signature_method=\HMAC-SHA1\,
  oauth_signature=\rg5s%2BW8wMxSx5MJt0wV3idqjriI%3D\,
  oauth_timestamp=\1271708678\,
  oauth_nonce=\684B1D0C-4276-47BD-9A43-C31FDDD0DD8A\,
  oauth_version=\1.0\;

  --
  Subscription 
  settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Re: xauth error -1012

2010-04-26 Thread luckyman
I have same error.
Error: Error Domain=NSURLErrorDomain Code=-1012 UserInfo=0x42969d0
Operation could not be completed. (NSURLErrorDomain error -1012.)
I will using XAuthTwitterEngineDemo
I have approval But error may be source error..

Twitter Support Mail
Thank you for your interest in xAuth. Your application now has the
ability to use xAuth, and you can find out more about it here:
http://dev.twitter.com/pages/auth .

Are you Troubleshooting?


-- 
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Re: xauth error -1012

2010-04-26 Thread luckyman
Hi,
I have same problem.
Received approval from Twitter.
But the same thing.
Do you have solutions?

On Apr 21, 5:13 am, sae twitp...@gmail.com wrote:
 Hi,
 I just set up my application forxauthand started testing.
 It keeps failing with error message:

 Error Domain=NSURLErrorDomain Code=-1012UserInfo=0x268d70 Operation
 could not be completed. (NSURLErrorDomain error -1012.)

 What is this error?  Is anything wrong with my app setting, or my
 parameter  may not be correct?
 Any clue will be really appreciated...

 Here is the copy of signature-base-string and authorization header,
 which all look ok to me:

 POSThttps%3A%2F%2Fapi.twitter.com%2Foauth
 %2Faccess_tokenoauth_consumer_key%3Dxx%26oauth_nonce
 %3D684B1D0C-4276-47BD-9A43-C31FDDD0DD8A%26oauth_signature_method
 %3DHMAC-SHA1%26oauth_timestamp%3D1271708678%26oauth_version
 %3D1.0%26x_auth_mode%3Dclient_auth%26x_auth_password%3Dxx
 %26x_auth_username%3Dy

 OAuth realm=\\,
 oauth_consumer_key=\\,
 oauth_signature_method=\HMAC-SHA1\,
 oauth_signature=\rg5s%2BW8wMxSx5MJt0wV3idqjriI%3D\,
 oauth_timestamp=\1271708678\,
 oauth_nonce=\684B1D0C-4276-47BD-9A43-C31FDDD0DD8A\,
 oauth_version=\1.0\;

 --
 Subscription 
 settings:http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Re: xauth error -1012

2010-04-20 Thread sae
Yes, a...@twitter.com granted my app for xAuth...
Any suggestion on what I should do to fix the issue?
I did all I can and I'm STUCK at the point.
This xauth issue is holding back the release of my app for a week :(
-Sae


On Apr 20, 1:27 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Hi Sae,

 Have you received approval for using xAuth in your application yet by
 emailing a...@twitter.com ? I'm not familiar enough with Objective-C to
 understand the error, but your signature base string and authorization
 header look otherwise correct on first glance.

 Taylor Singletary
 Developer Advocate, Twitterhttp://twitter.com/episod



 On Tue, Apr 20, 2010 at 1:13 PM, sae twitp...@gmail.com wrote:
  Hi,
  I just set up my application for xauth and started testing.
  It keeps failing with error message:

  Error Domain=NSURLErrorDomain Code=-1012 UserInfo=0x268d70 Operation
  could not be completed. (NSURLErrorDomain error -1012.)

  What is this error?  Is anything wrong with my app setting, or my
  parameter  may not be correct?
  Any clue will be really appreciated...

  Here is the copy of signature-base-string and authorization header,
  which all look ok to me:

  POSThttps%3A%2F%2Fapi.twitter.com%2Foauth
  %2Faccess_tokenoauth_consumer_key%3Dxx%26oauth_nonce
  %3D684B1D0C-4276-47BD-9A43-C31FDDD0DD8A%26oauth_signature_method
  %3DHMAC-SHA1%26oauth_timestamp%3D1271708678%26oauth_version
  %3D1.0%26x_auth_mode%3Dclient_auth%26x_auth_password%3Dxx
  %26x_auth_username%3Dy

  OAuth realm=\\,
  oauth_consumer_key=\\,
  oauth_signature_method=\HMAC-SHA1\,
  oauth_signature=\rg5s%2BW8wMxSx5MJt0wV3idqjriI%3D\,
  oauth_timestamp=\1271708678\,
  oauth_nonce=\684B1D0C-4276-47BD-9A43-C31FDDD0DD8A\,
  oauth_version=\1.0\;

  --
  Subscription settings:
 http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


Re: [twitter-dev] Re: xauth error -1012

2010-04-20 Thread Josh Bleecher Snyder
 Yes, a...@twitter.com granted my app for xAuth...
 Any suggestion on what I should do to fix the issue?
 I did all I can and I'm STUCK at the point.

A little easy googling (for NSURLErrorDomain error 1012) turned up
http://stackoverflow.com/questions/501231/can-i-use-nsurlcredentialstorage-for-http-basic-authentication,
which might be helpful for you.

Also, again, some very easy searching in the Xcode docs yields
NSURLErrorDomain error -1012 as:

NSURLErrorUserCancelledAuthentication
Returned when an asynchronous request for authentication is cancelled
by the user.
This is typically incurred by clicking a “Cancel” button in a
username/password dialog, rather than the user making an attempt to
authenticate.

So it looks like you're getting an auth request in the http response
and you're not handling it correctly / at all. So either the auth
request is incorrect -- in which case you should probably post the
full http request and response to this list -- or you need to handle
it. (If you don't know how to handle it, and you can't figure it out
from the docs, it's probably a question better suited for an iPhone
dev list.)

-josh




 On Apr 20, 1:27 pm, Taylor Singletary taylorsinglet...@twitter.com
 wrote:
 Hi Sae,

 Have you received approval for using xAuth in your application yet by
 emailing a...@twitter.com ? I'm not familiar enough with Objective-C to
 understand the error, but your signature base string and authorization
 header look otherwise correct on first glance.

 Taylor Singletary
 Developer Advocate, Twitterhttp://twitter.com/episod



 On Tue, Apr 20, 2010 at 1:13 PM, sae twitp...@gmail.com wrote:
  Hi,
  I just set up my application for xauth and started testing.
  It keeps failing with error message:

  Error Domain=NSURLErrorDomain Code=-1012 UserInfo=0x268d70 Operation
  could not be completed. (NSURLErrorDomain error -1012.)

  What is this error?  Is anything wrong with my app setting, or my
  parameter  may not be correct?
  Any clue will be really appreciated...

  Here is the copy of signature-base-string and authorization header,
  which all look ok to me:

  POSThttps%3A%2F%2Fapi.twitter.com%2Foauth
  %2Faccess_tokenoauth_consumer_key%3Dxx%26oauth_nonce
  %3D684B1D0C-4276-47BD-9A43-C31FDDD0DD8A%26oauth_signature_method
  %3DHMAC-SHA1%26oauth_timestamp%3D1271708678%26oauth_version
  %3D1.0%26x_auth_mode%3Dclient_auth%26x_auth_password%3Dxx
  %26x_auth_username%3Dy

  OAuth realm=\\,
  oauth_consumer_key=\\,
  oauth_signature_method=\HMAC-SHA1\,
  oauth_signature=\rg5s%2BW8wMxSx5MJt0wV3idqjriI%3D\,
  oauth_timestamp=\1271708678\,
  oauth_nonce=\684B1D0C-4276-47BD-9A43-C31FDDD0DD8A\,
  oauth_version=\1.0\;

  --
  Subscription settings:
 http://groups.google.com/group/twitter-development-talk/subscribe?hl=en