The promise only resolves when initĬreds: is callback that returns a promise for login creds. IsInited for the steps that connects the client. Opts.proxy (optional) proxy URL that gets passed toĪttempts to connect the client to hangouts. Defaults to refreshtoken.txt in module dir. Opts.rtokenpath (optional) path to file in which to store the okiespath (optional) path to file in which to store cached Instead of default file persistence for cookies. High level API calls that are not doing direct hangouts calls. var creds = function ( ) ) // start connection reconnect ( ) API High Level API this in turn // means the user must fire up their browser and get the // requested token. Var Client = require ( 'hangupsjs' ) var Q = require ( 'q' ) // callback to get promise for creds using stdin. The library is rather new and needs more tests, error handling etc. Simply taking his work and porting it to coffeescript step by step. The original python client library for Google Hangouts. I take no credit for the excellent work of Tom Dryer putting together This library is in no way affiliated with or endorsed by Google. SummaryĬlient library for Google Hangouts in nodejs. hangupsjs should follow (soon) and removeĮverything around pvt/init. Pointed out that hangups have stopped doing this init data request, It seems the entities information that previously was available in the Therefore it can't be implemented hangupsjs library. They have been solved in yakyak/yakyak client becauseĪuth method there is different. It does not solve login problems that are related to
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |