Facebook OAuth Dialog is used to request permissions from the current user for your application. The user can either accept or deny our request. We can use this dialog box to request additional extended permissions from the user after they have already used your application.
index.phpas explained in the beginning of the chapter.
The following steps will demonstrate how to use the OAuth Dialog:
index.phpand add the following code inside the div with
<div id="fb-root"> <input type="button" id="launch" value="Launch" /><br /> </div>