github readme omission of important step

Open forum for all suggestions and feature requests from the community

github readme omission of important step

Postby Cygnus_X » Thu Oct 04, 2012 7:03 pm

To preface, I'm an amateur developer, so I may be missing something.

I'm looking at this link:

https://github.com/bsstoner/opentok

The Readme goes through everything quite well, but I feel its missing an important step. Prior to generating a session, the following line of code needs to be executed:

var opentok = require('opentok');

The only way I know this is from the following:

http://www.tokbox.com/blog/creating-cha ... d-opentok/

However, the chatroulette tutorial above seems to be deprecated as the createsession call on line 20 appears to be returning an object whereas the more recent github example only returns a sessionID. What am I missing?
Was this post helpful? (0)
Cygnus_X
 
Posts: 6
Joined: Sun Sep 30, 2012 3:26 pm
Thumbs Up: 0

Re: github readme omission of important step

Postby ankur » Thu Oct 11, 2012 1:57 pm

Hey Cygnus,

You are right, this was an omission. We assumed that most developers are already familiar with this since this is how you import any package that is installed with npm. I'll update the docs right now for you, but we actively maintain this fork now: https://github.com/opentok/opentok-node. The one you are looking at is from the original community contribution but we can't be certain it will always be in sync with our latest changes.

Let us know if you have anymore issues!

-- Ankur
Was this post helpful? (0)
ankur
 
Posts: 315
Joined: Thu Jun 02, 2011 12:37 am
Thumbs Up: 12


Return to Suggestions



Who is online

Users browsing this forum: No registered users and 1 guest

cron