Question regarding Api.Photos.GetAlbums() (it's always empty)

Sep 29, 2010 at 3:59 PM

Hi all,
Right now I am trying to make myself familiar with the FDT.
Unfortunately I stumbled into a problem that I maybe misunderstand.

For example I create my session as it is shown in the examples and create a new API instance:

Api api = new Api(session);

Then I make calls like the folowing, which work fine: 

IList<Facebook.Schema.user> friends = api.Friends.GetUserObjects();

I can publish streams without any problem (even with pictures, etc.).
I am also able to create new Albums (Photo) without any problem.

Unfortunately the following calls always return empty lists: 

IList<album> albums = api.Photos.GetAlbums();

Is there something I am missing?
Any help is kindly appreciated!

best regards


Sep 30, 2010 at 10:58 AM

I figured it out,

the problem was already reported and here's the workaround:

I basically followed the hint to add two required permissions to the enum and compiled the facebook.dll

Now everything works fine.