Giving Your Application Prominence through the Add Bookmark Button

One of the simplest things you can do to give your application more visibility is to add a Bookmark button at a visible location on your Canvas Page or Web site. Doing so is simple: To add one to the top of your Inspirations application, just add the <fb:bookmark/> XFBML tag, shown in the code below, to the top of your index.html file. The resulting app will look like the one shown in Figure 4-5. Now when users click the Add Bookmark button, your application will appear prominently on the left side next to their applications. Here is the XFBML code you need to add:

<fb:bookmark></fb:bookmark>

After users bookmark your application, you can notify them of new updates via counter notifications.

Figure 4-5: What your Inspirations application looks like with the bookmark in place.

image

Get Facebook® Application Development For Dummies® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.