iDevGames Forums
FBConnect on iPhone question... - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: FBConnect on iPhone question... (/thread-8018.html)



FBConnect on iPhone question... - Jamie W - Aug 23, 2010 01:14 PM

I notice with some games (doodle jump), there is a separate 'submit score' (i.e. news) button, to the facebook 'login' / 'logout' button. The sumbit score button seems to connect the user, and then do the post to wall stuff.

I'm wanting to use my own button to trigger all the 'login to facebook' and 'post to wall', stuff. Is that possible? Rather than using FBLoginButton ...

_session = [[FBSession sessionForApplication:kApiKey secret:kApiSecret delegate:self] retain];

FBLoginButton* button = [[[FBLoginButton alloc] init] autorelease];
[self.view addSubview:button];

... is there a way to trigger the connect to facebook (or post to wall) dialog window, directly?

Thanks,