Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update sample app to show how to handle dialog request results
Summary: Part of the discussion of the abandoned diff https://phabricator.fb.com/D342789 was that we should update the Hackbook iOS sample app to show developers how to process data passed back from the dialog. Changes were made to use dialogCompleteWithUrl: instead of dialogDidComplete: method. Other tweaks made to display a success message back to the user when an app request was sent. Also NSLog the post_id and request_ids information so developer can check these out. Changes still need to be made to the iOS SDK docs (https://developers.facebook.com/docs/reference/iossdk/FBDialogDelegate/) to let developers know how to handle the dialog data in the callback. Test Plan: 1/ On iOS simulator 4.3 ran through the Publish Feed and Send Request flows. Checked it works and shows the proper user messages and debug messages (that developers could use in the future). 2/ Tested on iPhone 5.0 and tested feed and app request dialog flows. Reviewers: brent Reviewed By: brent CC: lshepard, yariv, brent, caabernathy Differential Revision: 360490 Revert Plan: OK Task ID: 697899
- Loading branch information