Skip to content
New issue

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

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

Already on GitHub? # to your account

Tumblr API video post returns wrong post id #146

Open
rathish24 opened this issue Jan 10, 2018 · 1 comment
Open

Tumblr API video post returns wrong post id #146

rathish24 opened this issue Jan 10, 2018 · 1 comment

Comments

@rathish24
Copy link

I am getting wrong post id response after posting video.

This is the id I got -"id":169538154740

When I call , Retrieve published posts for a blog through Tumblr API Console

I am getting another post id - "id": 169538157127,

@ceyko
Copy link

ceyko commented Jan 11, 2018

@rathish24 Video posts, much like drafts, queue, or submissions, get a new ID whenever they transition state. Immediately after creation, the video post in a processing state while the video is transcoded, which is the ID you're seeing in the first response. Once it finishes transcoding, it will switch to a published state, and receive a new ID, which is what you're seeing in the second call.

We are aware of the difficulties that this causes. Our current advise is that after you create a video post, you should poll your published posts until it appears there (along with a reasonable timeout of a few minutes).

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

No branches or pull requests

2 participants