facebook developer toolkit - RequiredPermissions not working

Posted by user126015 on Stack Overflow See other posts from Stack Overflow or by user126015
Published on 2010-03-13T23:21:41Z Indexed on 2010/03/13 23:25 UTC
Read the original article Hit count: 639

Filed under:
|

Hi all,

I am using facebook developer toolkit along with c#.

I would like to require my users to allow me offline and email access. I am using the following code, but it does nothing...

RequiredPermissions = new System.Collections.Generic.List<Facebook.Schema.Enums.ExtendedPermissions>();
RequiredPermissions.Add(Facebook.Schema.Enums.ExtendedPermissions.email);
RequiredPermissions.Add(Facebook.Schema.Enums.ExtendedPermissions.offline_access);
RequireLogin = true;

Any Ideas?

© Stack Overflow or respective owner

Related posts about facebook

Related posts about c#