Displaying Your Application’s Name
Problem
I’d like a way to output my application’s name so that it will update automatically if I change it later. Also, I decided to put the word “message” in my application’s name and have now discovered that I can’t add it to things like my Mini-Feed and News stories, because Facebook won’t let me put that word in those places.
Solution and Discussion
Use the very simple fb:application-name
tag, which will output your app’s current name as plain
text. The simplest and only form is:
<fb:application-name />
Get Facebook Cookbook 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.