codebird-js icon indicating copy to clipboard operation
codebird-js copied to clipboard

account_updateProfileBanner is not working

Open akhalil-qa opened this issue 7 years ago • 2 comments

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,

akhalil-qa avatar Feb 15 '18 14:02 akhalil-qa

@AKhalil90 What is the content of your imageInBase64?

mynetx avatar Sep 15 '18 12:09 mynetx

@AKhalil90 Any update on this please?

mynetx avatar Oct 28 '18 14:10 mynetx