Talk:Fb:add-section-button
From Facebook Developer Wiki
Clicking on this button and accepting the profile box add makes the user jump away from the canvas page. It would be nicer if we could select whether the user should rejump to the current page instead, which is the expected behavior in some cases. For example if the user would like to add a box to their profile and then continue with another action it is distracting to jump to profile.
It's even worse when using it inside the fbmlserver tag. It loads the entire user profile (FB Header and chat bar included) inside the application iframe.
We really need some associated fb:if tags. There may be explanatory text, or even just the odd div tag for layout that we only want to appear if the button is visible. --Bryan 01:49, 24 May 2008 (PDT)
This button does not display. http://bugs.developers.facebook.com/show_bug.cgi?id=2381
Contents |
[edit] =
first use the profile_setFBML to set the new profile box and then put the Fb:add-section-button and the button appear ... :> i have a profile box installed on main profile by zodman
[edit] when 'add to profile' clicked, no new box shows up in profile
the add to profile button shows up, and when clicked, it says it's being added to the profile. the url redirects to the profile. url says:
http://www.new.facebook.com/profile.php?&new_box_added_id=ID_OF_AP
but no box shows up. there's a setFBML is being called. and here's the funny thing:
- using fb's api test console for my app, if i do a getFBML for this user, it returns the code that's supposed to be there but doesn't appear. and *using the same test console to setFBML (with different markup) returns '1', but nothing appears in the profile box tab.
- using the test console to now getFBML returns the different markup i just input. (but nothing is in the box viewed by the user)
but if i edit the app, and first remove (b/c it's added according to facebook) and remove the profile box, it appears!
UPDATE WITH SOLUTION: use latest facebook libraries. i was using ones introduced in july w/ the new look. it works fine now.
[edit] Very ugly Transparency
The "add to profile"-button looks pretty ugly on background-colors other than white. The button has NOT a full transparent background.
Facebook, PLEASE REVISE THE BUTTON SOON!!!
[edit] Dialog clipped by swf on same page
The dialog box this opens is clipped by my swf. I notice Texas Holdem doesn't have this problem, does anyone know how they do that?
Yeah, I think you have to set this parameter: <param name="wmode" value="opaque" />
[edit] Add 'tab' to the tag options
Will Fb support adding tabs from the application at any point? Seems like it should be integrated into this tag..
[edit] Dialog clipped by iframe on same page
This is somewhat the same as above mentioned issue with SWF. But there is no way to overcome this for iframe. Or is there?
[edit] Cron job update
I totally understand the rules on giving incentives to users, but I'd like to be able to run cron jobs to update peoples section tab but do i do it for every user that i have a Facebook UID and accept that the majority will fail (and traffic for both you and me) or can we store the fact that a user has added the tab and store that in my DB.
- Hi Rick, in Application Info Sections is some information about editing an info section. If you specify an Information Update Callback URL in your application settings (on the Profiles tab), Facebook will ping you when a user's info section changes. You can set up your cron job to respond to these pings. Is this what you're looking for here? Thanks, Pete -- 563683308 15:34, 12 October 2009 (PDT)
