Talk:Fb:name
From Facebook Developer Wiki
Contents |
[edit] bug: fb:name doesn't support ' character in names
when a user name has a ', it's not correctly decoded and displays "&\#039;"... A call in php to htmlspecialchars_decode doesn't help cause fbml is interpreted after application php.
- If you think you found a bug, please file it in bugzilla. That's the best way to raise awareness of it internally. Thanks! Pete (563683308 10:32, 27 May 2009 (PDT))
[edit] fb:name does not accept "profileowner" on canvas pages
The wiki says 'You can also use "profileowner" on a user's profile or an application canvas page...' I used profileowner on the app canvas page and it threw a 'fb:name: Required fbml_env var missing: "profile"' error, which further researched showed to be indicative of a tag that cannot be used on a canvas page. What I'm saying is that I think "profileowner" can only be used on a user's profile. Can anyone else confirm this? --1148820271 14:49, 7 March 2009 (PST)
-- Ian Warner I can confirm this also
-- Attila Oláh I also confirm
- You're all correct here -- not sure why it's not reproducible in the FBML test console. Anyway, I fixed the docs. Thanks, Pete -- 563683308 13:35, 16 October 2009 (PDT)
[edit] shownetwork
Seems to only show school network. If someone is just a part of a city/state region network, nothing appears next to their name. Is this a bug or by design? --Angela 20:19, 7 October 2007 (PDT)
It is annoying that when a user that is not logged in views a name Facebook returns the name surrounded by bold html tags. There is no way to control this it seems. If I want to use a person's name in the title for example it creates problems because I see an HTML tag in the title. It would be nice if you could turn this 'feature' on or off. - --585284213 12:46, 18 March 2008 (PDT)
[edit] fb:profile-pic and fb:name no longer accept "loggedinuser"
fb:profile-pic and fb:name are no longer accepting "loggedinuser".
Bugzilla: http://bugs.developers.facebook.com/show_bug.cgi?id=1957 Forum: http://forum.developers.facebook.com/viewtopic.php?id=13212
So, we can no longer greet a visitor on a profile page?
I have an app (http://apps.facebook.com/welcome-box/) which just welcomes a visitor on a profile page (with many customizations). The app got 195.3K users.
What is going to be the future of my app?
[edit] fb:name inside button
I'm having a big problem with the <fb:name uid=\"$user_name\" />.
Normally it works great, but if I put it inside a button, facebook
dosn't render the name, but renders all of the code.
ex:
<form action='index.php' method='post'>
<input type='submit' name='btn' value='<?php echo "<fb:name uid=\"$user_name\2" />; ?>' />
</form>
Then the button would have the text '<fb:name uid="whatever the variable holds" />' instead of the name.
I don't know if there is a way of solving this, if, please edit with the solution :)
- I, too, am stumped with this issue. If anyone suggest a workaround, it would be much appreciated! --Garrett 01:11, 27 April 2009 (PDT)
- To answer my own question, you simply can't. I now see that this would be a violation of privacy, because then you would be able to include the name in a hidden input box and mine uid's/names that way. --Garrett 01:17, 27 April 2009 (PDT)
