We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Example code in the README doesn't work
To Reproduce Steps to reproduce the behavior:
twttr.txt.parseTweet(tweet);
ReferenceError: twttr is not defined
Expected behavior Example code should work to parse tweet
The fix for this is to write:
var twitter = require('twitter-text'); var tweet = "This is a test tweet"; console.log(twitter.parseTweet(tweet));
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Example code in the README doesn't work
To Reproduce
Steps to reproduce the behavior:
twttr.txt.parseTweet(tweet);
, run the scriptReferenceError: twttr is not defined
Expected behavior
Example code should work to parse tweet
The fix for this is to write:
The text was updated successfully, but these errors were encountered: