kaareal/tumblr2 — Issue #1: FAIL: INVALID CALLBACK on _post
Author: MariusRugan
Created: 2012-01-04 23:35:05+00:00
State: open

Hi
trying to POST to tumblr using .edit function, but on line

https://github.com/kaareal/tumblr2/blob/master/lib/tumblr-v2.js#L395

content_type should be contentType right?

fixing this, oauth fails

TypeError: Cannot call method 'match' of undefined
at Object.isAnEarlyCloseHost (/usr/local/lib/node_modules/oauth/lib/_utils.js:3:19)
at [object Object]._performSecureRequest (/usr/local/lib/node_modules/oauth/lib/oauth.js:353:37)
at [object Object]._putOrPost (/usr/local/lib/node_modules/oauth/lib/oauth.js:468:15)
at [object Object].post (/usr/local/lib/node_modules/oauth/lib/oauth.js:477:15)
at Tumblr._post (/media/sf_dev/node/lib/tumblr2/lib/tumblr-v2.js:416:14)
at Tumblr.edit (/media/sf_dev/node/lib/tumblr2/lib/tumblr-v2.js:212:8)

Any ideas where to start looking?
thanks,