tags:

views:

16

answers:

0

Hi

I'm trying to upload a video to facebook via the video.upload call. I always have an invalid sig response from the server. I'm currently using a java Facebook to generate the signature via a static function:

String sig = FacebookSignatureUtil.generateSignature(params, APPLICATION_SECRET);

These are the params I pass:

params.put("api_key", VideoFacebookUploader.API_KEY);
params.put("session_key", SESSION_KEY);
params.put("call_id", Long.toString(new Date().getTime()));
params.put("v", "1.0");
params.put("title", "sometitle");
params.put("description", "desc");
params.put("", file);

Are these the correct params to pass in order to generate a valid sig?