Inspire user to bookmark your facebook app
If you develop facebook application then you should inspire your user to bookmark your application. If users like your application they will surely use it more often. And if they found bookmark button in the app they might click it to bookmark the application. As a result user will use your application easily.
There are 2 ways to show bookmark button in your facebook application and facebook connect base application
- FBML/XFBML base
- FBJS base
If you want to render the following button and bookmark action, you should use fbml code in your canvas page.
If you want to render this in iframe base facebook app, then you should use the code following way
So you can use this way
For FBConnect base application you should use
FB.Connect.showBookmarkDialog(callback); //as like as Facebook.showBookmarkDialog(callback);
But you have to make sure that you specified a Bookmark URL in your application settings. If you didn’t specify bookmark url then when user will click the bookmark icon it will redirect them to the application canvas url.