Create Photo Album by Page_id or fan page

Sep 10, 2010 at 11:12 PM

Hello, I am trying to create a photo album on a fan page, but end up receiving an error. I make a call such as this:

_api.Photos.CreateAlbum("Name of the album", "", "Album description", fanPageId) I receive the following error:

A session key must be specified when request is signed with a session secret

I know that fanpageid, in this case has to be 0, or not specified, in which case the functions works ok! But the album is created in my default user.

Thanks for any help.