O'Reilly logo

Integrating Facebook iOS SDK with Your Application by Giuseppe Macrì

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Facebook Web Dialogs

The Web Dialog class was introduced with Version 3 of the Facebook iOS SDK. For more details, visit https://developers.facebook.com/docs/reference/ios/3.6/class/FBWebDialogs/.

This type of dialog is supported across all iOS versions and without setting a Facebook account on the current device.

Web Dialog is a useful component to show the Feed Dialog that will allow users to publish a story to a profile's timeline. For more details on this, visit https://developers.facebook.com/docs/reference/dialogs/feed/.

FBWebDialogs provides static methods to publish information on the timeline and sends requests to friends.

In this part of the book, we are going to explore the implantation of the following method:

presentDialogModallyWithSession:parameters:handler ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required