Daniel
Daniel

Reputation: 23359

facebook authorize: opening Safari.app how do I get an in-app dialog?

I need to get some permissions for my Facebook implementation, however when I call the following method on my Facebook object, I'm being sent to Safari.app, but I've seen apps have a dialog for this, and that's what I want... How can I get a dialog as opposed to being sent to Safari ?

[facebook authorize:permissions delegate:self];

Upvotes: 1

Views: 1197

Answers (1)

Maggie
Maggie

Reputation: 8081

In the Facebook.m file, change [self authorizeWithFBAppAuth:YES safariAuth:YES]; to [self authorizeWithFBAppAuth:NO safariAuth:NO];

Upvotes: 4

Related Questions