104 Incorrect signature on photo.Upload with hebrew caption

Jun 8, 2009 at 10:53 AM

Hi.

I'm using the latest release of the toolkit.
I have an application that uploads videos + pictures that was sent via MMS to facebook.
Whenever I try to upload a photo/video with a caption in Hebrew I get an "Incorrect signature" error.

Any ideas how to solve this issue?

Thanks,

Netanel.

Coordinator
Jun 9, 2009 at 6:21 PM

can you post some code I can use to attempt to reproduce?

Jun 12, 2009 at 8:31 AM

Hi,

Sorry for the delay.
I didn't mentioned it before but it's a windows service that uploades the videos/pictures to facebook.
You need a user with a "video_upload" permission for your application in order to use this code. 

You can try this code:

 

FileInfo fileInfo = new FileInfo(videoPath);

FacebookService fbService = new FacebookService();
fbService.ApplicationKey = YOUR_API_KEY
fbService.Secret = YOUR_SECRET_KEY
fbService.uid = uid;
fbService.SessionKey = sessionKey;

fbService.API.video.upload("נסיון", "", fileInfo);
P.S The word - נסיון = "Test" in hebrew.
Thanks,
Netanel

 

Coordinator
Jun 17, 2009 at 8:32 PM

I just fixed this.  I will post a new build of Version 2.1 tonight with the fix.

If you need it in the meantime.  You can get the source directly.  I am checking it in now.