michaelhelmick / python-tumblpy

A Python Library to interface with Tumblr v2 REST API & OAuth
BSD 2-Clause "Simplified" License
122 stars 36 forks source link

Posting problem #23

Closed lapekkk closed 11 years ago

lapekkk commented 11 years ago

Hi,

I have problem with posting, this code: posts = t.get('posts', blog_url="http://lapekkk.tumblr.com/")

works fine, but this one: post = t.post('post', blog_url='http://lapekkk.tumblr.com/', params={'type':'text', 'title': 'Title Caption', 'body': 'Body content'})

return error: Error: 401, Message: {"meta":{"status":401,"msg":"Not Authorized"},"response":[]}

I have the latest versions of tumblpy.

michaelhelmick commented 11 years ago

Ill be fixing this shortly!

Sent from my iPhone

On May 31, 2013, at 5:48 AM, lapekkk notifications@github.com wrote:

Hi,

I have problem with posting, this code: posts = t.get('posts', blog_url="http://lapekkk.tumblr.com/")

works fine, but this one: post = t.post('post', blog_url='http://lapekkk.tumblr.com/', params={'type':'text', 'title': 'Title Caption', 'body': 'Body content'})

return error: Error: 401, Message: {"meta":{"status":401,"msg":"Not Authorized"},"response":[]}

I have the latest versions of tumblpy.

— Reply to this email directly or view it on GitHub.

michaelhelmick commented 11 years ago

Tumblpy 1.0.2 is now available via pip! pip install python-tumblpy==1.0.2

Thanks for finding the bug!