Talk:Fb:chat-invite

From Facebook Developer Wiki

Jump to: navigation, search

<fb:js-string var="chatInvite">

 <fb:chat-invite msg="let's play a game!" condensed="false" exclude_ids="1,2,3"/>

</fb:js-string>

<script>

document.getElementById('chat_invite_container').setInnerFBML(chatInvite);

</script>

fb:chat-invit doesn't seem to work via ajax. The chat box loads but the online list never completes.

[edit] Any way to change the message text?

Is there any way to change the 'msg' text using FBJS?

Not at this time, no. You could use FBJS to create a new chat-invite element that replaces the old one. If you think we ought to have this, please file a feature request in bugzilla. Thanks! -- Pete (563683308 17:39, 20 March 2009 (PDT))


Selecting groups only? Is there a way to only let the user invite someone from a particular group. Not even thier friends, but from a specific facebook group? This could be very useful for live support!

Hi Stanislav, if you could file an enhancement request, it'll get on our radar so we can possibly build it. Thanks, Pete (563683308 23:25, 22 April 2009 (PDT))
reference