Missing FBRequestDelegate when updating FBConnect SDK to FacebookSDK 3.0 on iOS

trying to upgrade an existing application that uses FBConnect for the FacebookSDK 3.0 platform. The xcode compiler cannot resolve FBRequestDelegate. There is a direct @protocol FBRequestDelegate link defined in FBRequest.h, but there is no corresponding definition / implementation of this protocol anywhere. Does anyone else have this problem? The documentation indicates that it should be there.

+4
source share
1 answer

Adapted from FBRequest.h

The FBRequest instance represents the arguments and settings for connecting to Facebook. After creating the FBRequest object, you can use it to configure the connection to Facebook through the object. An object is created to manage a single connection.

To cancel the connection, use the instance method in the class.

To complete the queries, you need to use the new FBRequestConnection class. They use an instance of FBRequest and a completion handler:

 - (void)addRequest:(FBRequest*)request completionHandler:(FBRequestHandler)handler; 
+3
source

All Articles