I’ve planned out a great app, but it’s going to require my users to give permission to do some things that are beyond the usual set of options, such as setting their status or creating Marketplace listings. How do they let me know it’s OK?
Table 9-7 lists three extended permissions that users can grant an application.
Table 9-7. Extended permissions
Your application can call
You can already upload photos and add tags for
all users with the
Your application can create new Marketplace listings on behalf of this user.
The permissions are granted one at a time by sending users to http://www.facebook.com/authorize.php?api_key=YOUR_API_KEY&v=1.0&ext_perm=PERMISSION_NAME (see example page in Figure 9-18), substituting your API key and the permission’s name from Table 9-7.
Figure 9-18. Extended permissions
You can add two more parameters to the URL,
next_cancel, which are URL-encoded URLS
you’d like the user sent to when they’re finished granting permission
or if they cancel, respectively: