Skip to content

Instantly share code, notes, and snippets.

@urre
Created December 18, 2020 10:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save urre/014c6e8112685d4a75f483b57cfecd6d to your computer and use it in GitHub Desktop.
Save urre/014c6e8112685d4a75f483b57cfecd6d to your computer and use it in GitHub Desktop.
fetch('https://www.tweetjs.com/API.aspx', {
body: JSON.stringify({
Action: 'ListTweetsOnUserTimeline',
ScreenName: 'urre',
}),
method: 'POST',
})
.then((r) => r.json())
.then((data) => {
console.log(data)
})
.catch((error) => {
console.error(error)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment