Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POST account/update_profile_banner Issue #254

Open
melihcaliskan opened this issue Mar 18, 2016 · 0 comments
Open

POST account/update_profile_banner Issue #254

melihcaliskan opened this issue Mar 18, 2016 · 0 comments

Comments

@melihcaliskan
Copy link

Hi,

I'm creating a profile picture & banner everyday and I want to post them Twitter with Twit module.

var pp = fs.readFileSync('/var/www/html/melih/sinavsayaci.png', { encoding: 'base64' }) T.post('account/update_profile_image', { image: pp }, function (err, data, response) { })

When I try to post account/update_profile_image , its OK.

var kapak = fs.readFileSync('/var/www/html/melih/sinavsayaci_banner.png', { encoding: 'base64' }) T.post('account/update_profile_banner', { banner: kapak }, function (err, data, response) { console.log(data); })

But when I try to post account/update_profile_banner there is no data, no error but profile banner not changing.

Thanks,
Melih

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant