Giter Site home page Giter Site logo

node-twbot's People

Contributors

kernow avatar yssk22 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

node-twbot's Issues

WebSocket を利用したリアルタイムWebアプリケーションについて

yssk22様

表題のハンズオン資料を参考にさせていただいております。

ステップ2: ストリームの動作確認においてエラーが表示されてしまい先に進めないでいますw
色々試したのですが、中々解決せずよろしければご回答いただけますと幸いでございます。

■環境
OS ubuntu 10.04
node.js v0.4.2
npm 1.0.94

■現象
下記bot.loadPluginにてエラー
bot.loadPlugin('twbot/lib/plugins/debug');

エラー内容

var TwBot = require("twbot").TwBot
{ TwBot: { [Function: TwBot] super_: [Function: EventEmitter] } } //TwBotオブジェクト
var bot = new TwBot({"consumerKey":"XXX","consumerSecret":"XXX","accessKey":"CCC","accessSecret":"CCC"})
bot.loadPlugin('twbot/lib/plugins/debug');

node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Object twbot has no method 'info'
at /usr/local/lib/node_modules/twbot/lib/twbot.js:168:21
at Array.forEach (native)
at TwBot.loadPlugin (/usr/local/lib/node_modules/twbot/lib/twbot.js:167:18)
at Object. (/var/www/nginx-default/broad.js:6:5)
at Module._compile (module.js:411:26)
at Object..js (module.js:417:10)
at Module.load (module.js:343:31)
at Function._load (module.js:302:12)
at Array. (module.js:430:10)

at EventEmitter._tickCallback (node.js:126:26)

補足
ライブラリは/usr/local/lib/node_modulesを読んでいますが、Oauth認証のモジュールが作られなかった為。
nodejs本体node_modules以下にもnpmコマンドでインストールしたところ、config.jsなどのファイルが作られました。

大変恐縮ですがご教示いただますと幸いでございます。
よろしくお願いいたします。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.