[FBSession initWithAppId.. method returns null value for permissions

I am developing an iOS application in which I am using Facebook SDK.
I am facing problem in

[[FBSession alloc] initWithAppID:nil

Here in permissions I am passing @”user_birthday” and @”publish_stream” permissions.

But it returns me null permissions array.

PS:Earlier it was working when I was using old Facebook SDK but with the latest Facebook SDK I am facing this problem.

It returns me:

<FBSession: 0x798e2d20, state: FBSessionStateCreated, loginHandler:       0x0, appID: 844214209001237, urlSchemeSuffix: , tokenCachingStrategy:<FBSessionTokenCachingStrategy: 0x79ece650>, expirationDate: (null), refreshDate: (null), attemptedRefreshDate: 0000-12-30 00:00:00 +0000, permissions:(null)>

Source: ios

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.