[MonoTouch] FacebookConnect -> Objc to C#

scottmm scott at macleman.org.uk
Sat Dec 17 14:43:00 EST 2011


Hey all. I'm trying to use Facebook connect to post top scores and stuff in
my app; I've found a tutorial but its all in obj c, which I'm not great at

so I've got this line:

session = [[FBSession sessionForApplication:FBAPIKey secret:FBSecretKey
delegate:self] retain];

and I've converted it to this:

FBSession _fbSession = FBSession.SessionForApplication (fbAppID,
fbAppSecret, new fbSessionCallBackDelegate());

but my _fbsession is null. any ideas why?

Thanks,

Scott

--
View this message in context: http://monotouch.2284126.n4.nabble.com/FacebookConnect-Objc-to-C-tp4209158p4209158.html
Sent from the MonoTouch mailing list archive at Nabble.com.


More information about the MonoTouch mailing list