Re: [twitter-dev] xAuth request approval / rejection?

2011-07-28 Thread Jay Santos
Thanks Taylor,

I've applied yesterday and got a reply. Unfortunately since we still
don't have the art for the game I can't provide the screenshots. So
I'm putting the xAuth process to a halt until I have it published in
the App Store / Android Marketplace.

But I basically wanted to know what are the criteria that Twitter uses
for approval / denial. From what you wrote I believe I won't be having
much problems once the app is done.

I've checked Web Intents as you suggested, but I'm not sure it is the
appropriate solution for what I want. I really don't want the user to
type any messages, only used the "canned" message defined by my app.

On Thu, Jul 28, 2011 at 12:35 PM, Taylor Singletary
 wrote:
> Hi,
> You can apply for xAuth access by emailing a...@twitter.com and including as
> much about your native application as possible, preferably with links to
> screenshots. The criteria for xAuth include: the application is native for
> the device it is running on (non web-based), the account and application are
> in good standing, and the application can be verified as described.
> While you may want to use xAuth for this purpose, I'd also like to recommend
> just using Web Intents instead. If the user just needs to tweet their score,
> you can prepare a message to https://twitter.com/intent/tweet and keep
> things very simple. https://dev.twitter.com/docs/intents
> @episod - Taylor Singletary
>
>
> On Wed, Jul 27, 2011 at 6:00 PM, Jay Santos  wrote:
>>
>> Hi,
>>
>> I've just registered my first app (an iOS / Android game) with Twitter
>> and requested xAuth privileges for it.
>>
>> What I want to do is simply allow the players to click a button in
>> order to post their score along with a link to the game's page on App
>> Store / Marketplace (e.g.: "I've just scored 42 points on game XYZ -
>> http://www.example.com";)
>>
>> So basically my questions are:
>>
>> - From what I understood there is no way to achieve what I want above
>> with oAuth. oAuth will always redirect the user to the Allow / Deny
>> page. Is that correct?
>>
>> - What is Twitter's "logic" for allowing / denying xAuth privileges
>> for an application?
>>
>> Thanks in advance,
>>
>> Jay Santos
>>
>> --
>> Have you visited the Developer Discussions feature on
>> https://dev.twitter.com/discussions yet?
>>
>> Twitter developer links:
>> Documentation and resources: https://dev.twitter.com/docs
>> API updates via Twitter: https://twitter.com/twitterapi
>>
>> Unsubscribe or change your group membership settings:
>> http://groups.google.com/group/twitter-development-talk/subscribe
>
> --
> Have you visited the Developer Discussions feature on
> https://dev.twitter.com/discussions yet?
>
> Twitter developer links:
> Documentation and resources: https://dev.twitter.com/docs
> API updates via Twitter: https://twitter.com/twitterapi
>
> Unsubscribe or change your group membership settings:
> http://groups.google.com/group/twitter-development-talk/subscribe
>

-- 
Have you visited the Developer Discussions feature on 
https://dev.twitter.com/discussions yet?

Twitter developer links:
Documentation and resources: https://dev.twitter.com/docs
API updates via Twitter: https://twitter.com/twitterapi

Unsubscribe or change your group membership settings: 
http://groups.google.com/group/twitter-development-talk/subscribe


Re: [twitter-dev] xAuth request approval / rejection?

2011-07-28 Thread Taylor Singletary
Hi,

You can apply for xAuth access by emailing a...@twitter.com and including as
much about your native application as possible, preferably with links to
screenshots. The criteria for xAuth include: the application is native for
the device it is running on (non web-based), the account and application are
in good standing, and the application can be verified as described.

While you may want to use xAuth for this purpose, I'd also like to recommend
just using Web Intents instead. If the user just needs to tweet their score,
you can prepare a message to https://twitter.com/intent/tweet and keep
things very simple. https://dev.twitter.com/docs/intents

@episod  - Taylor
Singletary


On Wed, Jul 27, 2011 at 6:00 PM, Jay Santos  wrote:

> Hi,
>
> I've just registered my first app (an iOS / Android game) with Twitter
> and requested xAuth privileges for it.
>
> What I want to do is simply allow the players to click a button in
> order to post their score along with a link to the game's page on App
> Store / Marketplace (e.g.: "I've just scored 42 points on game XYZ -
> http://www.example.com";)
>
> So basically my questions are:
>
> - From what I understood there is no way to achieve what I want above
> with oAuth. oAuth will always redirect the user to the Allow / Deny
> page. Is that correct?
>
> - What is Twitter's "logic" for allowing / denying xAuth privileges
> for an application?
>
> Thanks in advance,
>
> Jay Santos
>
> --
> Have you visited the Developer Discussions feature on
> https://dev.twitter.com/discussions yet?
>
> Twitter developer links:
> Documentation and resources: https://dev.twitter.com/docs
> API updates via Twitter: https://twitter.com/twitterapi
>
> Unsubscribe or change your group membership settings:
> http://groups.google.com/group/twitter-development-talk/subscribe
>

-- 
Have you visited the Developer Discussions feature on 
https://dev.twitter.com/discussions yet?

Twitter developer links:
Documentation and resources: https://dev.twitter.com/docs
API updates via Twitter: https://twitter.com/twitterapi

Unsubscribe or change your group membership settings: 
http://groups.google.com/group/twitter-development-talk/subscribe


[twitter-dev] xAuth request approval / rejection?

2011-07-28 Thread Jay Santos
Hi,

I've just registered my first app (an iOS / Android game) with Twitter
and requested xAuth privileges for it.

What I want to do is simply allow the players to click a button in
order to post their score along with a link to the game's page on App
Store / Marketplace (e.g.: "I've just scored 42 points on game XYZ -
http://www.example.com";)

So basically my questions are:

- From what I understood there is no way to achieve what I want above
with oAuth. oAuth will always redirect the user to the Allow / Deny
page. Is that correct?

- What is Twitter's "logic" for allowing / denying xAuth privileges
for an application?

Thanks in advance,

Jay Santos

-- 
Have you visited the Developer Discussions feature on 
https://dev.twitter.com/discussions yet?

Twitter developer links:
Documentation and resources: https://dev.twitter.com/docs
API updates via Twitter: https://twitter.com/twitterapi

Unsubscribe or change your group membership settings: 
http://groups.google.com/group/twitter-development-talk/subscribe


Re: [twitter-dev] XAuth Authorization

2011-06-27 Thread Georgooty varghese
Hi,


xAuth is not enabled by deafult when you registering the application.

To enabling this, you should send a  detailed mail to  a...@twitter.com with
the application details.

Regards,
George





On Mon, Jun 27, 2011 at 2:55 PM, yatibawri  wrote:

> Hi all,
>
> I have a query on how can i register my app with xAuth.
> I get an error in this line :
>
>  AccessToken token = twitter.getOAuthAccessToken();
> I get an error:Failed : The screen name / password combination seems
> to be invalid.
> and Error 401..
>
> So please help me to solve my issue
>
> --
> Twitter developer documentation and resources: https://dev.twitter.com/doc
> API updates via Twitter: https://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> https://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> https://groups.google.com/forum/#!forum/twitter-development-talk
>

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] XAuth Authorization

2011-06-27 Thread yatibawri
Hi all,

I have a query on how can i register my app with xAuth.
I get an error in this line :

 AccessToken token = twitter.getOAuthAccessToken();
I get an error:Failed : The screen name / password combination seems
to be invalid.
and Error 401..

So please help me to solve my issue

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


Re: [twitter-dev] xAuth login

2011-06-24 Thread Taylor Singletary
Hi Sushil,

Twitter enforces that timestamps be within a reasonable amount of time from
the present, so this is expected behavior.

One way that you can get plan ahead for this is by reading the "Date" HTTP
header that is sent in the response to every request -- once you parse that
date, you can determine the delta between what our server clock is running
at and what time your device thinks it is and then adjust your timestamp
calculations accordingly.

Another strategy that some developers take is to issue an unauthenticated
HTTP HEAD request to https://api.twitter.com/1/help/test.json when the app
starts up, which will also yield the Date header that you can adjust to.

@episod  - Taylor
Singletary


On Thu, Jun 23, 2011 at 11:36 PM, Sushil  wrote:

> Hi All,
>
> I have a Android application for Twitter. I'm using Twitter4j library
> to do xAuth authentication.
>
> I'm facing a problem during login if the device date set as any past
> date. Like if today is 24th June and device date set as 23rd June and
> when I'm trying to login it gives me following error.
>
> SNS exception :: The screen name / password combination seems to be
> invalid.Relevant discussions can be on the Internet at:
> http://www.google.co.jp/search?q=e07c50ee or
> http://www.google.co.jp/search?q=e7bd
> TwitterException{exceptionCode=[e07c50ee-e7bd 1ac06e3f-695622d6],
> statusCode=503, retryAfter=0, rateLimitStatus=null, version=2.1.12}
>
> But if the device date is current date then the authentication works
> just fine.
>
> I want to know if this is expected behavior ?
>
>
> Thanks,
> Sushil
>
> --
> Twitter developer documentation and resources: https://dev.twitter.com/doc
> API updates via Twitter: https://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> https://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> https://groups.google.com/forum/#!forum/twitter-development-talk
>

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] xAuth login

2011-06-24 Thread Sushil
Hi All,

I have a Android application for Twitter. I'm using Twitter4j library
to do xAuth authentication.

I'm facing a problem during login if the device date set as any past
date. Like if today is 24th June and device date set as 23rd June and
when I'm trying to login it gives me following error.

SNS exception :: The screen name / password combination seems to be
invalid.Relevant discussions can be on the Internet at:
http://www.google.co.jp/search?q=e07c50ee or
http://www.google.co.jp/search?q=e7bd
TwitterException{exceptionCode=[e07c50ee-e7bd 1ac06e3f-695622d6],
statusCode=503, retryAfter=0, rateLimitStatus=null, version=2.1.12}

But if the device date is current date then the authentication works
just fine.

I want to know if this is expected behavior ?


Thanks,
Sushil

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] xAuth Android not working

2011-06-09 Thread Lancelot Admin
Hi everyone,

I've been trying this for a couple of days and I can't make it work. I
have the xAuth permissions enabled on my app but I keep getting the
same error over and over:

01 Unauthorized: Authentication credentials were missing or incorrect.

This is the code I have using twitter4j:

   RequestToken rt;
   Twitter twitter;
   twitterconsumerkey = "";
   twittersecretkey = "YY";
   String username = "user";
   String password = "pass";

   twitter = new TwitterFactory().getInstance();
   twitter.setOAuthConsumer(twitterconsumerkey,
twittersecretkey);
   rt = twitter.getOAuthRequestToken();

I don't know if I have to do something else but right it just don't
work.

Any help is welcome.

Thank you all.

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] [xAuth-iphone]Follow action doesn't work

2011-04-28 Thread Matt Wang
Dear Sir or Madam,

I am programming for Number 10 iphone application.Currently,this
application has xAuth access and can post information via twitter.

However, when I try to call [twitterEngine
enableUpdatesFor:@"follower"] for adding a follower. it will return a
401 error.

here is my code:


- (void)accessTokenReceived:(OAToken *)token forRequest:(NSString
*)connectionIdentifier {

[self.twitterEngine setAccessToken:token];
}

- (void)requestSucceeded:(NSString *)requestIdentifier{

switch (stage) {
case postLogin:

stage = loginCorrect;
break;
case loginCorrect:

if (twitterAction == follow) {
NSString *follower = [NSString 
stringWithFormat:@"Number10gov"];
NSLog(@"Try to Follow %@",follower);
NSLog(@"enableUpdatesFor: connectionIdentifier 
= %@",
[twitterEngine enableUpdatesFor:follower]);

} else if (twitterAction == retweet || twitterAction == 
tweet) {
...
//

post and retweet work well. but follow action didn't work. could you
help me to point out what is the problem?

if you can give me a example code to show how to do follow action in
xAuth, that would be great.


Many Thanks for your help.

I am looking forward to your reply.

Many 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] xAuth

2011-04-27 Thread Taylor Singletary
Hi Bess.

As aways for xAuth access, you can email a...@twitter.com to request access.
Were you not able to finish your documenting of xAuth in the period of time
you had access? Do you need any other assistance in using xAuth?

Taylor

@episod  - Taylor Singletary


On Sat, Apr 23, 2011 at 12:22 AM, Bess  wrote:

> Hi Twitter API
>
> How can I request to extend my xAuth?
>
> I believe my xAuth has been expired for the app. I applied xAuth for
> preparing the Twitter developer book last year. It was approved for a
> few months. Now my xAuth app doesn't work any more. xAuth may be
> expired and shut down.
>
> Now the publisher has delayed the editing process. I need to gain
> xAuth access in order to update and demo the app.
>
> What could I do now?
>
> 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 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] xAuth

2011-04-23 Thread Evadne Wu
Hello Bess,

Is it indeed not working?  Tried TwURL [1]?  It’s generally not a really good 
idea to share API keys / secrets, though, as it’s also rate-limited…

[1]: https://github.com/marcel/twurl

-ev

On Apr 23, 2011, at 15:22, Bess wrote:

> Hi Twitter API
> 
> How can I request to extend my xAuth?
> 
> I believe my xAuth has been expired for the app. I applied xAuth for
> preparing the Twitter developer book last year. It was approved for a
> few months. Now my xAuth app doesn't work any more. xAuth may be
> expired and shut down.
> 
> Now the publisher has delayed the editing process. I need to gain
> xAuth access in order to update and demo the app.
> 
> What could I do now?
> 
> 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 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] xAuth

2011-04-23 Thread Bess
Hi Twitter API

How can I request to extend my xAuth?

I believe my xAuth has been expired for the app. I applied xAuth for
preparing the Twitter developer book last year. It was approved for a
few months. Now my xAuth app doesn't work any more. xAuth may be
expired and shut down.

Now the publisher has delayed the editing process. I need to gain
xAuth access in order to update and demo the app.

What could I do now?

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] xAuth...

2011-04-06 Thread Taylor Singletary
Oh, one more tip for requesting xAuth access:

* Check your Junk folder regularly for responses -- many developers in the
past have found their responses from our ticketing system in their Spam
folder.

@episod  - Taylor Singletary


On Wed, Apr 6, 2011 at 7:21 AM, Taylor Singletary <
taylorsinglet...@twitter.com> wrote:

> We're usually much faster than this at answering xAuth requests.. a few
> tips on making sure that your message gets received and is actionable:
>
> * Send the email to a...@twitter.com from the same email address associated
> with the account that "owns" the application
> * Clearly state the purpose of the request in the subject line
> * Include your consumer key and/or application ID in the message
> * Clearly describe what your application does, how Twitter is used in the
> application, and information about your users.
> * Include the platforms that your application will be used on.
> * Include a link to your privacy policy and company (if you have one)
> * Include links to screenshots of your application (don't attach them to
> the message)
>
> @episod  - Taylor Singletary
>
>
>
> On Wed, Apr 6, 2011 at 2:48 AM, henning0700  wrote:
>
>> Hi all,
>>
>> What are your experiences in requesting xAuth access?
>>
>> The first time I requested access was nearly three weeks ago. I then
>> sent another request last week and still no response. Yep...nothing,
>> nada, zip, zero, zilch...
>>
>> Thanks.
>>
>> Henning
>>
>> --
>> 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] xAuth...

2011-04-06 Thread Taylor Singletary
We're usually much faster than this at answering xAuth requests.. a few tips
on making sure that your message gets received and is actionable:

* Send the email to a...@twitter.com from the same email address associated
with the account that "owns" the application
* Clearly state the purpose of the request in the subject line
* Include your consumer key and/or application ID in the message
* Clearly describe what your application does, how Twitter is used in the
application, and information about your users.
* Include the platforms that your application will be used on.
* Include a link to your privacy policy and company (if you have one)
* Include links to screenshots of your application (don't attach them to the
message)

@episod  - Taylor Singletary


On Wed, Apr 6, 2011 at 2:48 AM, henning0700  wrote:

> Hi all,
>
> What are your experiences in requesting xAuth access?
>
> The first time I requested access was nearly three weeks ago. I then
> sent another request last week and still no response. Yep...nothing,
> nada, zip, zero, zilch...
>
> Thanks.
>
> Henning
>
> --
> 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] xAuth...

2011-04-06 Thread henning0700
Hi all,

What are your experiences in requesting xAuth access?

The first time I requested access was nearly three weeks ago. I then
sent another request last week and still no response. Yep...nothing,
nada, zip, zero, zilch...

Thanks.

Henning

-- 
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] xAuth without sending the password suggestion

2011-02-28 Thread Albert
Hi!

Good day!

I'm Albert Padin and I've been looking at your implementation of
xAuth, and
I want to make a suggestion for it.

The suggestion I want to make allows the requesting application to
make a
user authentication (login) request without including the password
credential in the request being sent.

Currently, it is not much of a problem sending the user login and
password
credentials in the request because it is done thru HTTPS. I don't know
if my
suggestion will make such a great improvement, but it can I think
allow
secure authentication (login) without the application including the
password
in the request done through HTTP.

The implementation is basically the same as the xAuth implementation
details
except for the following:

1. The password credential is hashed (the same way it's hashed in the
server-side. Eg. MD5) by the application.

2. After the application generates the HMAC signature, it omits the
password
field and value (hashed credential) from the request and sends it to
the
server (even thru HTTP). Now on the server end, when it receives the
request, it just inserts the hash value of the user password and
validates
the signature. If the signature validates, then you can assume that
the
password was correct. If it's not valid, then either the password is
wrong,
or the request has been tampered with. In both cases, you don't grant
a
token.

With this implementation, you can provide authentication thru HTTP
without
passing the password through the wire. I don't know if this advantage
is
worth it.

Should you have any questions, clarifications, or reactions, please
don't
hesitate to reply. You may even send me a reply telling me where I
might
have been mistaken.

Thanks and enjoy!

Albert

-- 
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] xAuth and Delphi

2011-01-13 Thread Leonmeijer
Hello all,

This is my first post on this list.

I'm writing a Twitter application which has xAuth access but I'm
having problems writing it in Delphi, I used the TTwitter thing but
this doesn't seem to have xAuth functionality and I can't get it to
work.

Does someone have an example of a Delphi xAuth app or can help me out
with some code?

Regards,
Leon

-- 
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] xAuth access_token returning 1-length 401 response

2011-01-10 Thread Eric Will
I'm trying to to get xAuth to work with my application, using libcurl
and a modified TwitCurl engine.  Whenever I attempt to obtain an
access token, I get a 401 error that contains a single space character
(0x20) and nothing else, which is extremely unhelpful.  Whenever I try
to do other things that shouldn't work (like setting a status without
a token), the 401 error returns a useful message, so I'm pretty sure
my system is working fine.

Can someone point out what I'm missing here?  Thanks.



Here's what I'm sending to the Twitter servers...

URL
https://api.twitter.com/oauth/access_token

HTTP Header
OAuth oauth_consumer_key="cmPTwoVnltXa2N8FAgepw",
oauth_nonce="12947058132c2",
oauth_signature="6nWCiAN9vg4UYXtaLqh7FLFuq7E%3D",
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1294705813",
oauth_version="1.0"

Data
x_auth_mode=client_auth%26x_auth_password%3DMYPASSWORD
%26x_auth_username%3DMYUSERNAME

Signature Base
POST&https%3A%2F%2Fapi.twitter.com%2Foauth
%2Faccess_token&oauth_consumer_key%3DcmPTwoVnltXa2N8FAgepw
%26oauth_nonce%3D12947058132c2%26oauth_signature_method%3DHMAC-
SHA1%26oauth_timestamp%3D1294705813%26oauth_version%3D1.0%26x_auth_mode
%3Dclient_auth%26x_auth_password%3DMYPASSWORD%26x_auth_username
%3DMYUSERNAME


And here's what I'm seeing in my logs:

* About to connect() to api.twitter.com port 443 (#0)
*   Trying 128.242.240.253... * connected
* Connected to api.twitter.com (128.242.240.253) port 443 (#0)
* SSL connection using DHE-RSA-AES256-SHA
* Server certificate:
*subject: serialNumber=Zys2dJJ09EPoEVGXYtegIdxG3OZtEOib, C=US,
O=*.twitter.com, OU=GT57932074, OU=See www.rapidssl.com/resources/cps
(c)10, OU=Domain Control Validated - RapidSSL(R), CN=*.twitter.com
*start date: 2010-07-13 10:40:16 GMT
*expire date: 2011-08-15 12:55:17 GMT
*subjectAltName: api.twitter.com matched
*issuer: C=US, O=Equifax, OU=Equifax Secure Certificate
Authority
*SSL certificate verify result: unable to get local issuer
certificate (20), continuing anyway.
> POST /oauth/access_token HTTP/1.1
Host: api.twitter.com
Accept: */*
Content-Length: 85
Content-Type: application/x-www-form-urlencoded

< HTTP/1.1 401 Unauthorized
< Date: Tue, 11 Jan 2011 00:25:19 GMT
< Server: hi
< Status: 401 Unauthorized
< X-Transaction: 1294705519-89572-46458
< Last-Modified: Tue, 11 Jan 2011 00:25:19 GMT
< X-Runtime: 0.00697
< Content-Type: text/html; charset=utf-8
< Content-Length: 1
< Pragma: no-cache
< X-Revision: DEV
< Expires: Tue, 31 Mar 1981 05:00:00 GMT
< Cache-Control: no-cache, no-store, must-revalidate, pre-check=0,
post-check=0
< Set-Cookie: k=38.98.60.253.1294705519623615; path=/; expires=Tue, 18-
Jan-11 00:25:19 GMT; domain=.twitter.com
< Set-Cookie: guest_id=129470551976790627; path=/; expires=Thu, 10 Feb
2011 00:25:19 GMT
< Set-Cookie:
_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCJhsdnItAToHaWQiJWFjZDlkNWQ2YmNkOTc0%250ANmU0ZTkxNzlmZjdlMGQ0OWUxIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy
%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--075877d72b9a221a932648a45490dab951649d50;
domain=.twitter.com; path=/
< Vary: Accept-Encoding
< Connection: close
<
* Closing connection #0

-- 
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] xauth in PHP

2011-01-01 Thread Dwi Sasongko S
Hi,

Why do you need xauth?

Take it as the last option, use oauth instead.



On 2 Jan 2011, at 00:22, genux33  wrote:

> Hi,
> 
> Is there anyone have the tutorial or code for twitter xauth login for
> PHP?
> 
> -- 
> 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] xauth in PHP

2011-01-01 Thread genux33
Hi,

Is there anyone have the tutorial or code for twitter xauth login for
PHP?

-- 
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] xAuth Approval

2010-12-15 Thread Iman Zarrabian
Hi all, I'm new to the whole OAuth/xAuth thing 
I'd like t know how long it's gonna take to twitter api team to
authorize a xAuth use request ? any feedback on that ? I guess you got
this question 100 times a day, no ? sorry ;)

thx 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] Xauth 401 error....T^T by iOS

2010-12-12 Thread Mchello

I use this source at https://github.com/aral/XAuthTwitterEngine

first..

I register my App at dev.twitter.com

and send message to a...@twitter.com .. about Xauth Key..

and i get consumerKey and consumerSecret..

I change consumerKey and consumerSecret line at XauthTwitterEngine

I can get tokenString

but.. i send twit message..

i get 401 error..

my id and password not wrong..

everybody success use this source.. but i can't

please send to me .. why 401 error..

if you want my consumerKey and Secret .. I can..

mche...@me.com <== please ..

-- 
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] xAuth Request gives Error from samsung tv maple browser

2010-12-06 Thread umamahesh G.
HI Tom,

Thanks for your support. I am using javascript for samsung TV Applicaiton
not for normal browser so there is no way to know about keys and secret
key.Actually Samsung SDK uses Maple browser and  application runs on  this
browser.

I hope you help me out from this issue.

Please find the below code.