Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Exclamation in status update causes Twitter OAuth to fail #449

Closed
jkeys089 opened this Issue · 3 comments

3 participants

@jkeys089

Posting to twitter works fine until you use any of these characters: !()
(looks like a common problem: https://dev.twitter.com/discussions/12378)

When I post something to Twitter with an exclamation mark I get the following error:
status_code=401, body=[message=Could not authenticate you, code=32]

Looks like https://github.com/mikeal/request/blob/master/main.js#L865 is not escaping some chars that Twitter wants escaped.

@jkeys089

As a workaround you can use the FormData version of form (instead of passing params via a form object).

@pierrevalade

Actually passing the status in the uri worked fine too. See #578 for the gist.

@mikeal
Owner

Is this still an issue?

This is so old I'm closing, if it is actually still an issue just let me know and I'll re-open.

@mikeal mikeal closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.