PDA

View Full Version : Facebook Objective-C API




Blakeasd
Apr 18, 2011, 05:41 PM
Is there a Mac Objective-C Facebook API. I have looked and there only seems to be IOS Objective-C Facebook APIs.
Any Ideas?



Cromulent
Apr 18, 2011, 06:07 PM
Is there a Mac Objective-C Facebook API. I have looked and there only seems to be IOS Objective-C Facebook APIs.
Any Ideas?

Use the iOS one.

jiminaus
Apr 18, 2011, 06:09 PM
You might need to port any UI parts of the framework such as login dialogs, but the underlying networking code of an iOS framework should work on Mac OS X.

(Whoo hoo! I've just gone 8-bit. I'm 6502 now! PowerPC, here I come.)

Cromulent
Apr 18, 2011, 06:13 PM
You might need to port any UI parts of the framework such as login dialogs, but the underlying networking code of an iOS framework should work on Mac OS X.

It's actually very clean and seems to be Foundation kit only. Frankly I think Facebook misnamed the library but there you go.

Blakeasd
Apr 19, 2011, 07:11 PM
Thanks, Facebook made it very misleading! :)

Cromulent
Apr 19, 2011, 08:07 PM
Thanks, Facebook made it very misleading! :)

A quick look at the source code was all that was required. Luckily Github is quite nice for browsing source code.