Skip to content

Instantly share code, notes, and snippets.

@mannynotfound
Created September 27, 2017 04:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mannynotfound/31c87127fe215257e35cb80095c75b43 to your computer and use it in GitHub Desktop.
Save mannynotfound/31c87127fe215257e35cb80095c75b43 to your computer and use it in GitHub Desktop.
tweet with 280 characters

1

fire up Postman

2

fire up Postman Interceptor

3

turn on interceptor

4

do a tweet

5

navigate to the tweet POST request in postman

6

add weighted_character_count : true to the body keys

7

add your 280 or less character tweet in the status key

8

hit send!

9

ruin twitter

@MentatHariSeldon
Copy link

MentatHariSeldon commented Oct 30, 2017

Sorry, it doesnt work. It needs authentication to post a tweet that way. If you view the HTML response you may see it redirects you to login page.

You may use API token and authenticate yourself but you only can use https://api.twitter.com/1.1/statuses/update.json? url then. You can tweet with that url and API token authentication. (Oath 1.0)

That way i tried to combine your weighted_character_count : true code with that url, but it gave me a 403 code and warned me "tweet is over 140 character" anyway.

I know i'm updating a dead post but maybe someone with same issues would see that or someone can get another bright idea with that info.

Thank you anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment