-
Notifications
You must be signed in to change notification settings - Fork 1
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
Not working #1
Comments
Have you managed to authenticate and receive your tokens? You can create posts with methods whose names start with "create"... E.g. createTextPostWithTitle:andBody:andState:andTags:inBlogWithName:usesMarkdown:delegate: |
I too am not able to post a text or photo. I'm able to authenticate and receive my tokens. Any GET calls works for me like getting the user info or blog info. It's when I attempt a POST dependent call that the calls fail. I get an error but it's wrapped in a flat response which doesn't help. Are those errors wrapping the true response that is returned by the Tumblr API? I'd love to help you further develop this library if you want because it looks very promising. UPDATE: I'm able to create a new text or photo post. I can't update an existing post though. |
The flat response is just a simple wrapper around Tumblr API's response. It has a meta attribute which is a dictionary and where you should find all the relevant information in case of an error. Please, let me know what kind of an error you get when trying to update a post, because it seems to work fine for me. |
When updating a post I get a 401 Unauthorized. I use the post id from the web version of the tumblr blog. |
Will, I've invited you to my Tumblr blog artur-experimental (I used your e-mail address listed on GitHub). I have a post there that I've successfully edited with the manager with the following code. In my tumblrAPIv2Manager:didAuthenticateAndReceivedAccessToken:andAccessTokenSecret: [[AWTumblrAPIv2Manager sharedManager] editTextPostWithId:@37123433058
withNewTitle:nil
andNewBody:@"Changed body"
andNewState:TumblrPostStateDefault
andNewTags:nil
inBlogWithName:@"artur-experimental"
usesMarkdown:YES
delegate:self]; Could you, please, give it a try yourself and let me know, if you get 401 here as well? |
is that post id an NSString? FYI, I've been passing an NSNumber. |
It's an NSNumber. This is just the new literal syntax. |
can you add [email protected] as the email address instead? |
Done! |
This is the error I'm getting from RestKit. Read response body: {"meta":{"status":401,"msg":"Not Authorized"},"response":[]} |
Can You edit this post via www? |
Viewing that blog I don't see the option to manage that post like edit or delete |
I could try to give you admin rights to this blog then, but I don't see you on the list of members. Are you sure you'd received my invitation e-mail and followed the instructions? |
its didn't seem to be work?
How can i post something?
The text was updated successfully, but these errors were encountered: