Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xauth failed. Error code 400. #95

Closed
mh4u opened this issue Jul 28, 2015 · 9 comments
Closed

xauth failed. Error code 400. #95

mh4u opened this issue Jul 28, 2015 · 9 comments

Comments

@mh4u
Copy link

mh4u commented Jul 28, 2015

When I xauth,I always get error(code 400) in callback block. Here is my code:
[TMAPIClient sharedInstance].OAuthConsumerKey = @"KzKNocy4NqAYiIK..........";
[TMAPIClient sharedInstance].OAuthConsumerSecret = @"NDxQ3s1Nz9........";
[[TMAPIClient sharedInstance] xAuth:@".....@gmail.com" password:@"....." callback:^(NSError *error) {
NSLog(@"%@", error);
}];
I can't find where the problem is. Help!

@ArsalanReal
Copy link

I am also getting Error code 400 . Please help me in this.
[[TMAPIClient sharedInstance] xAuth:@".....@gmail.com" password:@"....." callback:^(NSError *error) {
NSLog(@"%@", error);
}];

@hassanizhar
Copy link

Me too getting the same error

@irace
Copy link
Contributor

irace commented Oct 14, 2015

Have you gotten xAuth permission for your consumer key? xAuth access is not granted by default.

@ArsalanReal
Copy link

No. Don't know from where to do it.

Please provide detail steps for it. Because no proper detail documentation for tumblr iOS is available or share simple iOS authentication example.

@irace
Copy link
Contributor

irace commented Oct 14, 2015

@irace irace closed this as completed Oct 14, 2015
@ghost
Copy link

ghost commented May 30, 2016

Hi @irace , I have registered my application here : https://www.tumblr.com/oauth/apps
but still receiving 400 error.
Please let me know what should I do here.

Thanks,
Felix

@ghost
Copy link

ghost commented May 30, 2016

Oh, I found it.
There are buttons with text only, so I was not able to realize they are buttons.

Show secret key Request xAuth Explore API

Thanks

@KONGFANJI
Copy link

How do you solve this problem?

@naldikt
Copy link

naldikt commented Sep 26, 2017

As of this writing I don't think Tumblr support XAuth anymore. The link fxpage mentioned doesn't have "Request xAuth" link nor there's any mention of it anywhere on tumblr developer page.

What I ended up doing is to utilize login part using https://github.com/OAuthSwift/OAuthSwift v1.1.2 , then set [TMAPIClient sharedInstance].OAuthConsumerKey, OAuthConsumerSecret, OAuthToken, OAuthTokenSecret on its successful login. Things work again now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants