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

run in nodejs but get 'cb is not a function' #14

Open
Morxi opened this issue Jan 22, 2020 · 1 comment
Open

run in nodejs but get 'cb is not a function' #14

Morxi opened this issue Jan 22, 2020 · 1 comment

Comments

@Morxi
Copy link

Morxi commented Jan 22, 2020

I need to share twttes to user where some place can't directly access twitter.
so i use nodejs provide a simple restful api do that
but i get some trouble

> var latestTweets = require('latest-tweets')
undefined
> latestTweets('noffle', true, function (err, tweets) {
...   console.log(tweets)
... })
undefined
> Thrown:
TypeError: cb is not a function

I also try to remove cb from source, but still not work for me

@hackergrrl
Copy link
Owner

Hi @Morxi! I'm no longer actively maintaining this module. The approach this module uses (parsing the raw HTML) is prone to break often, as Twitter changes their website layout somewhat frequently. I'm happy to merge PRs or give away the module to someone interested in maintaining it, but won't be providing ongoing support.

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

2 participants