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

ntwitter is deprecated #61

Open
semmypurewal opened this issue Oct 19, 2014 · 2 comments
Open

ntwitter is deprecated #61

semmypurewal opened this issue Oct 19, 2014 · 2 comments

Comments

@semmypurewal
Copy link
Owner

I was afraid this might happen eventually, but as of 5 days ago ntwitter is "officially" deprecated (see the README file in the ntwitter repository). This means it probably shouldn't be used in any code that you're hoping to keep or maintain long-term.

That said, I just tried it with the examples that are contained in the book, and they are all still working. So everything can stay the way it is for the time being. But if anyone hits a major snag with it, please report the issue here.

In the event that there's a breaking change with the Twitter API that causes the book examples to fail, our best course of action will be to fork ntwitter and make it work with the examples in the book, and then update the errata list so that it directs readers to install our fork. I don't think this will be necessary since our examples are pretty straight-forward, but only time will tell.

If/when we do a second edition of the book, I'll update it to use a newer, more maintained Twitter module.

@semmypurewal
Copy link
Owner Author

It turns out the twitter module has a compatible API that seems to work with most of the examples in the book. You can find it here: https://www.npmjs.org/package/twitter

And you can install it with

$ npm install twitter

I'll update the errata soon.

@vanribeiro
Copy link

Hi, Semmy!
I posted an alternative solution to this on my github: https://github.com/NessaRibeiro/SolucaoAlternativa_LivroDoSemmy

I didn't use twitter package, but I've been used twit package.

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