I am using the Facebook JavaScript SDK in my web app. The following function will be invoked when I click on a Facebook invite button
facebookInvite: (e) ->
e.preventDefault()
FB.ui
method: "apprequests"
message: "Become my Buddie"
filters: [ "app_non_users" ]
title: "Become my Buddie"
, (response) ->
if response and response.request_ids
$howManyInvites = String(requests).split(",").length
else
false
Everything seemed to work fine i.e popup appears with my friends list
However, after clicking on 'send request', I only see a blank screen popup
Also, the request did not seem to go through at all.
Anything I missed out in my implementation?