SocialEngine 4: A Facebook Invite Box

First you need to go to and register for a new app.
then you take this simple script here:

<div id=”fb-root”></div>
<script src=””></script>

<button type=”button” onclick=”sendRequestViaMultiFriendSelector(); return false;”>
<img src=”” alt=”Facebook” />
<br />Facebook</button>
frictionlessRequests: true

function sendRequestToRecipients() {
var user_ids = document.getElementsByName(“user_ids”)[0].value;
FB.ui({method: ‘apprequests’,
message: ‘My Great Request’,
to: user_ids
}, requestCallback);

function sendRequestViaMultiFriendSelector() {
FB.ui({method: ‘apprequests’,
message: ‘My Great Request’
}, requestCallback);

function requestCallback(response) {
// Handle callback here
and remember to edit the app id in the java section.

then you go to layout and then layout editor and add a new html block anywhere you would like the button and paste the code.
The result should be something like this:

This button will not work with invite only sites for now.



Looking for quality SocialEngine Web Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , , , | Posted under 3rd Party Software, SocialEngine | RSS 2.0

Author Spotlight

Andrew Cross

Hi, I'm Andrew. A am a 26, ICT Administrator which offers support to company's around the South Wales Area. I have created a few social sites for myself and other company's. So far 2 out of 3 have been successful using the powerful SocialEngine Script. I continue to try and help the community of SocialEngine by giving Support and Technical Help where possible.

2 Comments on SocialEngine 4: A Facebook Invite Box

  1. Vikas says:

    Hello Andrew,
    I hope you are well!!!
    I just want to know that how to enable or add “Smiley” section into Social Engine Chat box Like Facebook ?
    Also currentlly i am using “Chat 4.7.0 ” module from social engine.
    Thank you.

    • Andrew Cross says:

      I am well thanks, the process of adding smilies to SE Chat looks to involes a lot of coding to the modual itself which could cause more of a server load as well, i will look into with more detail and if it is possible i will create a blog with instructions on how.

      FYI ArrowChat & CometChat have this function already and dont use as much server resources as SE Chat

Leave a Reply

Your email address will not be published. Required fields are marked *