Talk:Fb:board

From Facebook Developer Wiki

Jump to: navigation, search

Please post anything relating to the beta version of boards below.

Contents

[edit] Bugs

Please list any bugs here and I will respond to them.

[edit] I have this topic that cannot be viewed.

" Everytime i try to view it this error will occur in the firebug. browser is null var enforceStyle=function(element,styles...nt.style[styleName]=styles[styleName];}}" 07-03-2009 GMT +8:00

[edit] Getting Number of Posts for Deleted Topic

Is this possible - I'd like to keep a simple count of posts and topics, but I'd need to be able to change the count for deletions or it's not worth doing. 8113532 11:18, 28 April 2009 (PDT)

[edit] Not working?

August 20, 2008. Fb:board works on my application page, but fails to show up on profiles or Pages (when I use setFBML). Actually, nothing that requires an XID does, including the Titans board in the example.

"This tag works on application canvas pages only and not in other integration points like profile boxes." 501789245 06:39, 12 September 2008 (PDT)

Is there a way to customize the discussions tab on fan pages like you can with the Fb:board? Or are there any plans to allow the FB:board on at least application tabs? I see no options on the default discussions tab to allow users to create new topics, for instance. I tried using the Fb:board tag inside a static FBML tag and it rendered, but the "Start new topic" link didn't work. 527235316 11:49, 12 June 2009 (PDT)

[edit] Email Notifications & Callback URL

May 14th, 2008. When users are notified by email of replies to their posts, the reply link in the email does not include the callback url or return url:

Michael replied to your post on a discussion board.

To see the reply, follow the link below:
http://www.facebook.com/n/?topic.php&uid=5002204480424&topic=96&post=1399#post1399

Thanks,
The Facebook Team

The link takes them to the board independent of the application canvas page. This makes it impossible to keep track of things like post counts via fb-sig-xid-action, and the user is not displayed the usual link at the top that points back to the canvas page where the board is rendered. Is there any plan to work on this? Thanks. John 14:44, 13 May 2008 (PDT)

[edit] Main Article

There is an error in the main article that cost me a couple of hours of development time: in the list of possible values for fb-sig-xid-action, "new_reply" should read "new_post". John 15:03, 13 May 2008 (PDT)

[edit] HTML Symbols

In the Discussions page (topic.php), if my fb:title contains a HTML special symbol such as » it will not render the correct symbol on this page. Bug 2435 --Tony 3:06, 11 June 2008 (EST)

[edit] "Displaying all 2 posts by 3 people."

When I posted to the board I was the third person to post. Then I deleted that post. Now I no longer have any posts in this board. Shouldn't it say "Displaying all 2 posts by 2 people". Bug 2434 --Tony 17:11, 14 June 2008 (PDT)

_______________

[edit] Older

  • Jan 14th, Daniel Denning: I run a number of the boards. There is a small percentage that can not write on the discussion board. If needed I can give you IDs and app IDs. Is this a known bug?
  • Dec 14th, Tom Gordon: I did a very basic setup - half the users can post and the other half can't (70 users) Pressing send on newtopic/reply does some JS stuff but stays on the same page and emptied). I've tried 2 accounts on my system - both browsers - one works and another doesn't (it's the accounts, not the browsers). I tried removing the app - deleting cookies, all that stuff many times.
    • (Tom Gordon) I'm currently using [1] for my issue - easier to read than this.
  • (CMarkham) This is still not working for me (Nov 16th). Is there something I am missing?
    • (PatrickL) Not working here either, Nov 23. Same creating topic issue as everyone else
      • (JakeG) Not working here either, Nov 26. Same creating topic issue as everyone else using:
      • < fb:board xid="xxxcensoredfornowxxx" canpost="true" candelete="false" canmark="false" cancreatetopic="true" numtopics="5" returnurl="http://apps.facebook.com/xxxcensoredfornowxxx/board.aspx"> <fb:title>xxxcensoredfornowxxx</fb:title> </ fb:board>
        • (JonathanO)Dec1 - still not working, even if all the values are default
          • (JSeligstein) Guys, I've had multiple people confirm this works fine, from various locations around the globe. I think we were having an outgoing url issue for these at the time. If you are still having problems, please post a DETAILED description (ie, does it give an error, just redirect, etc) on bugzilla and assign it to me.
            • 12th Dec 2007: JSeligstein - can you message me please [Jake Greenwood, Bristol], I can give you specifics on whats going on...basically i copy and pasted the sample source on the "article" page for this tag.. renamed the board and changed url to my url... when i click "new topic" it goes to http://www.facebook.com/edittopic.php?app_id=MYAPPIDHERE&xid=MYIDHERE&c_url=MYURLHERE&r_url=MYURLHERE&sig=SIGCODEHERE&action=8 with empty fields. when i click post new topic on the edit topic page it just submits the page and loads the same page again, ready to input the new topic again... and the new post hasnt been saved/shown on the board

I am unable to delete topics, even though candelete="true"

Creating new topics doesn't work anymore. I have tried every combination of permission settings, but whenever I submit my topic it takes me back to the submit new topic page and doesn't submit it.

    • (JSeligstein): see above.

Cannot create a new topic--> <fb:board xid="test1" canmark='true' /> --> renders the board, but does not allow me or anyone to create a new topic, reloads the same page and doesn't add a topic.

  • I have the same issue even if I specify true for canpost and cancreatetopic.
    • (JSeligtein) Hmm... can you look at the source and verify all callback urls are being created correctly? (and the ping returns the tag correctly?)
      • (DLanger) Should the call back url be relative or absolute? if so should they apps.facebook.com or our server?
        • (JSeligstein) Please use absolute urls. It can be a canvas url or an absolute. Absolute urls will go ever so slightly faster.
          • Im using the default callback urls and I'm having the same problem. I am unable to create new topics.
            • (JSeligstein): see above.
  • I don't see the parameter fb_sig_xid_action ever passed to the callbackurl. I do see fb_sig_xid coming in with my xid.
    • (JSeligstein) fb_sig_xid_action occurs when the user actually does the action. For example, when I click the post button after typing my message, you should get the ping.
      • (CMarkham) I am not ever getting the fb_sig_xid_action either. I get the empty board with the message that there are no topics. Click create a new topic and I get the facebook.com/edittopic.php page and a ping on my server with the fb_sig_xid param set correctly. If I try to create a topic, I just get what appears to be a page refresh and another ping to my server with the same parameters. No topic gets created.
        • (JSeligstein) That second ping should give you fb_sig_xid_action. I'll reverify it works now.
        • (JSeligstein) Here's the result. This is a personal server being hit from Facebook production. It works as expected.
I added this code to my sample page:
$log_text = '';
if (isset($_POST['fb_sig_xid'])) {
  $log_text .= '  xid: |'.$_POST['fb_sig_xid'].'|';
}
if (isset($_POST['fb_sig_xid_action'])) {
  $log_text .= '  xid_action: |'.$_POST['fb_sig_xid_action'].'|';
}
if ($log_text) {
  error_log($log_text);
}

Here's the result in my error log [modified to take out my IP] after clicking "New Topic", filling out a new topic, and hitting post.
[Thu Nov 08 10:00:10 2007] [error] [client 0.0.0.0]   xid: |test_board|
[Thu Nov 08 10:00:40 2007] [error] [client 0.0.0.0]   xid: |test_board|  xid_action: |new_topic|
[Thu Nov 08 10:00:40 2007] [error] [client 0.0.0.0]   xid: |test_board|

(CMarkham) Nope, still not getting it. I copied your code, now I'm getting the following in my error log for the same sequence you described. Is there some other information that would be more helpful for debugging?

[Thu Nov 08 12:12:24 2007] [error] [client 0.0.0.0]   xid: |myRIDE_Forum|
[Thu Nov 08 12:12:33 2007] [error] [client 0.0.0.0]   xid: |myRIDE_Forum|

(RichA) Ran tonight, Nov 9, never any xid_action. I do see the xid come in. Also never any data showing in the board, always empty. Is this a clue: after clicking "Post new topic", the same posting screen repaints. I would expect it to fall to the board display screen? Then I click on DiscussionBoard nav tab and always an empty board.

  • (RichA) Ran this morning, Nov 19, never any xid_action. Entering new topic, enter, click Post New Topic, topic entry screen repaints, click Discussion Board, still blank. No data. No xid_action. I do see sig_sid and I do see my own callback url argument. What are the prospects for next update here?
    • I get the excact same thing, I'm setting callbackurl to the page that the discussion board is on, I've also tried leaving it to default everything except xid... Either way I end up with the post topic not working. Start new discussion gives me a page like this "http://hs.facebook.com/edittopic.php?app_id&xid=&c_url=&r_url=&sig=&action=8" (Except with values of course). After typing a post and clicking Post new topic the url and page reamin the excact same and the forms are blank as if Post new topic just refreshes the page. Then if I view the discussion board there are still no topics.


  • It is not clear what the response to the callbackurl should be. e.g. I echo out the fb:board tag with canXX set to true, and what else? In other words, what is the point of the callbackurl? To tell FB deny/permit the xid_action based on the canXX response? --Rich
    • (JSeligstein) The response should basically be the exact same tag you outputted before, unless your view of the user's privacy in regards to this board has changed. It should output all permissioning that is required as well as the fb:title child if you use it.
  • When I post to the board the following showed up in my mini-feed: Jesse discussed Heroes is a great show ehh? in the group . 7:28pm (Bug: the group name is empty) Also when I click the link in the mini-feed I am taken to a board with no board name and no return link to my application. -- Jesse
    • (JSeligstein) Yeah, eventually we will have mini-feed stories. I forgot this was incomplete. I've taken out the minifeed code for now, but expect it soon. There will be a push sometime today with the fix. Sorry.
      • Looks like something similar is happening to me-- I just added it to my app and made a most and in my profile mini-feed it literally says "Angela discussed something in the group .10:02pm" with no hyperlink, no displaying of topic title, or link back to board. --Angela 19:46, 28 February 2008 (PST)
      • I'm getting this too, and it's pretty disappointing. fb:board is a great tag, but it becomes useless for apps that want to give their users various levels of privacy. Any chance that mini-feed publishing could be an option?

[edit] Feature Requests

Please list any reasonable requests here. Currently there is no plan to give developers access to the data.

  • I think all board should have a 'subscribe' option so users don't have to check to see if all their boards daily. Maybe have it as an option for less clutter on minimalist/heavily trafficked apps. --Tony 09:26, 13 June 2008 (PDT)
  • Some way to obtain some information about the board like number of topics/posts, last post date/author, and other information that can be displayed on other canvas pages. Possibly introduce a new tag that uses the board id, or FQL? Thanks, love this tag! --Tony 09:26, 13 June 2008 (PDT)
  • When a user clicks on the board & is taken to the discussion board page allow us to supply a common header up top so that it confines to the look & feel of our application.
  • The common header idea is really important. Links to the board from outside the app canvas pages (eg. in mini-feed stories and email notifications) go to the board, but without any link to the application from there or anywhere else on the board, and no board title. So anyone clicking on a feed story on their friend's profile doesn't know where they've been taken; all they are given is the topic name. Feed stories are also a little weird: "Andrew discussed [topic name] in the group . 12:18pm". Can we get this fixed?
  • Also, we should be able to define a custom link location when you click on a users name / image. In our application each player has their own portfolio page, and since most of the comments revolve around what's in their portfolio - a person's natural inclination is to click on their name or picture & expect to be taken to their portfolio page (from that page we link back to the persons facebook profile).
  • Is there the possibility to have an attribute for the application developer. In the facebook board the application developer is given a green background to his/her posting and automatic admin rights to remove topics and posts. It would be good if that could be carried across to fb:board.
    • Seconded --Tony 09:26, 13 June 2008 (PDT)
  • Can you have an attribute to show the last user that posted in the board preview.
  • Please allow us to enable/disable mini-feed publishing on a per-board basis.
  • Is there any plan for changing the way candelete is applied? Right now, it's a bit awkward to set who can and can't delete posts. Maybe a way to set FBUIDs to be able to delete?
  1. Please allow a user post anonymously i.e parameter isanonymous=true
  1. Please allow seperate categories

[edit] Questions

Anyone?

  • Will there be news updates?
    • (JSeligstein) I'm not sure exactly what you mean. Please clarify.
    • Do I need to check back here for updates, or will they be posted somewhere else as well?
      • (JSeligstein) Please check here for updates. When the tag goes out of beta, I'll post to the dev feeds.
  • What is the estimated time frame for releasing out of beta?
    • (JSeligstein) A couple weeks. Just want to get some rough testing in from developers that may see things differently than me.

[edit] Beta Requests

Please provide the application id (not api key) here for your app if you would like to be part of the beta program. I will send you a message when your app is added to the list. I will be doing this in batches every few days.

THIS BETA LIST IS OBSOLETE. THE TAG WORKS FOR ALL APPS BUT IS STILL IN BETA MODE.

Please consider this tag fully in beta mode. Use in production for your app at your own risk.

[edit] Beta History

Do not put new requests below this line.

  • The apps below were added to the beta test list around 17:40 PST on 11/5/2007.
    • 5775735761: This looks great
    • 5372634233: I'd love this for highschool-specific discussions, PrepCountry.com Sports Scores
    • 2591901819: Can't wait!
    • 5842602875: Yes please!
    • 4321145623, 6524889084, 5587476166: We would love to use this.
    • 2343379802: I'd like to try it out
    • 5388053789, 4558572799, 3448073905, 3642144705: Would like to try this. - Jesse
    • 8040211415: To me please!
    • 2510496807: Would like to try.
    • 5373478050: Yes please.
    • 6295289407: Me too please.
    • 4034199235: Hey to me please.
    • 902992371, 5369603596: Me too =)
    • 5275614511, 5009963531, 4725059134, 2579982685: If you'd be so kind. = Thanks, Steve
    • 7616635055, 25371745544: Yes Please.
    • 19855667024: Please add. - Rich
    • 5553776090: Please add. - Vinayak
    • 6856641203, 7013917406: Hi
    • 4245962487: Us as well
    • 2540701490, 2440677931: Looks great, will there be news updates?
    • 6770017246
    • 5934938363: Me too. Can't wait to try this out.
    • 5873661933: urgent! thanks in advanced

8340640548: Pls add mine too. Thanks

  • The apps below were added to the beta test list around 11:10 PST on 11/13/2007.
    • 4879617140: Thanks!
    • 5339434153: Please add us :) Thanks!
    • 5884773882: Thank you
    • 18347742960: Thanks
    • 7716435055: Would be perfect for my application
    • 5914512324, 18891759648: Request to be added (would be nice to try this!)
    • 7981771367, 13188460633, 6769586332, 6723300903, 14374755437, 5705963818: Additional Requests
    • 7141025947, 5476479659, 21244955280, 6638517677, 5456434919: Can you add these too?
    • 5564554942, 5949089676, 8784015469, 7075062618, 2457986669: Please add these too. Thanks!
    • 13467510220: Thanks
    • 5263964821: Another Request
    • 6605656225: One additional request - thanks!
    • 5650558834, 5974251535: Please? Thanks!
    • 6524166276, 18288057968: Please a Beta for my developer an Release App, thanks
    • 6736253823: Please add. Thanks
    • 4609504645: I would like 4609504645 to be added. Thank you! --1641900001 21:08, 8 November 2007 (PST)
    • 5067179334: We would like to try it!
    • 8207176717: Please!
    • 2436915755: Add me up!
    • 4704764167: too please.
    • 2344764701: please Add the THINK! app to this too!
    • 4846383162: I just want to make that happen to my app,Please add my application.
    • 6976384609, 7169467124: please, thanks
    • 2359644980: -- Thanks much
  • NEW REQUESTS
    • 2521982670
    • 15004520031: Cheers
    • 5812356537 Thanks!
    • 6834995039 and 6073009043 Thank you
    • 18157553936 and 7005151897 thanks

19840706688

  • 20927225232
  • 2395952879 - sounds good, looking forward to trying it out!
  • 19825403896 - Please! :)
  • 7519322410
  • 2469211427
  • 2353893954
  • 6560344734, 9089652253 - Thanks!
  • 5561218581 - Gracias
  • 6873533366
  • 21917160680
  • 5621148537 - I need this board :)
  • 5541585039 = Look Forward To Testing.
  • 5501157660 - Thank you!!
  • 2598351215 - thanks in advance!
  • 6310474390 - me too, me too! ;-)
  • 8631137036, Thanks :)
  • 19073941056, thanks!
  • 8150921630, 28511505720, 6522108526 thanks
  • 11140010183 Thanks in advance!
  • 7089466966 thanks
  • 6861146239, 5157479266 Thanks (11/24/07)
  • 22119445080 thx!
  • 14723100062 thanks..
  • 5846603258, 5773544307, 8635460497 - Thanks in advance!
  • 4980909381
  • 17885581312, 6919075059, 5752434037 - Please add my applications (11/20/07)
  • 5620259785 - many thanks. :)
  • 5709636133 - Any screenshots?
  • 20307684912, 6206902755, 7297166815, 8601427418, 7213098155, 6221152581, 7421526533 - thanks!
  • 4138862511, 4241036532 - thank you!
  • 9555331619 please add. thanks.
  • 6779372351, 5125879882, 6215121108, 5245357721
  • 2523811511 thank you
  • 6226667427 thanks!
  • 2391659075 thank you
  • 6482324324, 6697121173, 7704642291, 13730195541, 6960981805, 13072320407,8227701182
  • 5741108862--thx
  • 5620949093 - TY!
  • 8340640548 - Thanx
  • 6065963602 - Please add! Thanks!
  • 8228501349 and 2377784495
  • 4915504412: I just want to make that happen to my app,Please add my application.
    • 5873661933: need urgent! thanks in advanced
  • 7458682244: Thanks
  • 12575265314 Thank you!!!
  • 7417838687 Thanks!
  • 2786870305, 6452857027 Thanks a lot!
  • 6001849365, Merci!
  • 4754299930 and 2369009072, please add my app(http://www.facebook.com/apps/application.php?id=4754299930 and http://www.facebook.com/apps/application.php?id=2369009072), thanks in advance
  • 2427508494
  • 2378483964, Thanks in advance!
  • 7551335666 , Thank you.
  • 7643483791 Preciate it
  • 19974513400 thanks!

I have a topic that cannot viewed. everytime i view it this error will display in the firebug browser is null [Break on this error] var enforceStyle=function(element,styles...nt.style[styleName]=styles[styleName];}}

reference