Hi there,
I am currently implementing a small client in golang for viki. So I created a minimum client that is so far only doing the signing part. I used the example provided in the api documentation to test my code:
crypto = require('crypto');
hmac = crypto.createHmac('sha1', 'orange');
hmac.update('/v4/movies.json?sort=views&app=9001&t=1356482778');
sig = hmac.digest('hex');
Using the same values for app, timestamp and provided signature in the example, I get exactly the same output as seen in the example.
Now I substituted it with my real app id and secret and when I send the request to the movies endpoint I just get back the json:
{"error":"invalid app", "vcode":8004}
I am not sure what I am doing wrong? Does the app need any kind of approval from someone first? Or do I need to wait before I can use it?
I would appreciate any kind of help!
Thanks,
Michael