IordanouGiannis
IordanouGiannis

Reputation: 4357

How can you distinguish an original post from a reblog in Tumblr using Python?

I have started using pytumblr to get posts from Tumblr. My goal is to see which are reblogs and which are original posts. I tried looking at the data that the Tumblr API provides for each post, but I can't find a difference between reblogs and original posts. Also, there is not a parameter stating something like that.

I use the following function but neither the reblog_info or notes_info gives me more information.

blog_posts = client.posts(example_blog, notes_info=True, reblog_info=True)

Any insights ? Thanks.

Upvotes: 4

Views: 3311

Answers (1)

IordanouGiannis
IordanouGiannis

Reputation: 4357

I found the problem. Instead of reblog_info=True, it needs to be reblog_info='true'.

Upvotes: 5

Related Questions