Thursday, 8 June 2017

Missing token, in client side mode please provide a secret error, how do I solve this?

I am working on a client and I get the following error 'Missing token, in client side mode please provide a secret error'. Please view the below code:

var stream = require('getstream');
client = stream.connect('q3nwu4pbz222', null, '25553'); 
readonlyToken = client.feed('user', '1').getReadOnlyToken();
user1 = browserClient.feed('user', '1', readonlyToken);
user1.get({limit:1}, callbackWhenFinished);



via Davidson Otobo

No comments:

Post a Comment