Today I started to use Facebook SDK 3.0 for iOS and I realized that there is no FBDialog class anymore. I’ve searched developers.facebook.com for some tutorials how I can show feed dialog using new sdk.
We used to write:
[facebook dialog:@"feed" andParams:params andDelegate:self];
But, it seems that all tips talking about dialogs are related to old SDK in developers.facebook.com.
Did anybody implemented feed dialog with new SDK?
Or, should we build our own DialogViewController to represent all UI elements as textFields, send button in order to make FBRequest?!
I’ve found the answer here:
Feed Dialog – Facebook Developers
Using the same new SDK 3.x we must add deprecated headers into Frameworks:
and change:
#import <FacebookSDK/FacebookSDK.h>to
#import "Facebook.h"EDIT (26.02.2013):
Thanks to Andreas, he mentioned in comment, using new SDK 3.2 doesn’t required you include deprecated classes anymore:
Example: