codebird-js
codebird-js copied to clipboard
account_updateProfileBanner is not working
Hi,
I'm trying to update the authenticated user profile banner using account/update_profile_banner twitter API like this:
var params = { "width": 1500, "height": 500, "offset_top": 0, "offset_left": 0, "banner": imageInBase64, };
cb.__call("account_updateProfileBanner", params, function (reply, rate, err){ console.log(err); console.log(reply); });
but I get a 400 error code and a message saying that banner parameter is missing even though I'm pretty sure it is getting passed.
Any thoughts?
Regards,
@AKhalil90 What is the content of your imageInBase64
?
@AKhalil90 Any update on this please?