iOS Social framework getting facebook account using facebook application

269 views Asked by At

I can get facebook account from the settings, but not from the facebook application. Is there any way to get facebook account from installed facebook application without using facebook SDK?

1

There are 1 answers

4
nilam_mande On

To get Facebook account form app you need to set permissions:

[self authorizeWithFBAppAuth:YES safariAuth:YES];

in this method:

- (void)authorize:(NSArray *)permissions delegate:(id<FBSessionDelegate>)delegate