Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I used the api to post, I would like to return back the Tumblr permalink for that site I sent it to.

share|improve this question

closed as off-topic by Al E., Live Forever, Alex, Eight Days of Malaise, Rubén Nov 30 '15 at 19:28

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "It is a question about creating/developing a web application." – Al E., Live Forever, Alex, Eight Days of Malaise, Rubén
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 2 down vote accepted

When you post via the API the postId will be returned. So you just append /post/{postId} to the blog's URL to get the permalink. This URL will not include the slug but the slug is just for easier reading. If you added a custom slug then just append it to to the URL.

To get the blog's URL do an API call to api/authenticate and it will return the URL for all the public blogs of that account, including the one you posted to.

share|improve this answer
    
Thank you very much for your help! – jprim Oct 3 '10 at 22:58
    
no problem, glad to help :) – Gabriel Ayuso Oct 4 '10 at 8:22